Supports LaTeX mathematical formulas with inline and block rendering, converting math expressions into professional Word document formatting.
Converts Markdown documents to professionally formatted Word documents with support for full Markdown syntax including headings, lists, tables, code blocks, and blockquotes.
AI Group Markdown to Word MCP Server
A comprehensive Model Context Protocol (MCP) server for converting Markdown documents to professional Word documents with advanced formatting, styling, and layout capabilities.
๐ Features
Core Conversion
Full Markdown Support: Complete Markdown syntax including headings, paragraphs, lists, tables, code blocks, and blockquotes
Advanced Styling System: Comprehensive style configuration with themes, templates, and custom styling
Professional Document Layout: Page setup, margins, orientation, and document structure
Advanced Features
Mathematical Formulas: LaTeX math formula support with inline and block rendering
Table Processing: Advanced table styling with 12+ preset styles, CSV/JSON data import
Image Support: Local and remote image embedding with automatic scaling and formatting
Header & Footer: Complete header/footer system with page numbers, total pages, and custom content
Table of Contents: Automatic TOC generation with configurable levels and styling
Watermarks: Text watermarks with configurable position, rotation, and transparency
MCP Integration
Multiple Transports: Support for STDIO and Streamable HTTP transports
Tool-based Interface: Clean MCP tool interface for document conversion
Resource Templates: Pre-built document templates for various use cases
Prompt System: Intelligent prompts for user guidance and troubleshooting
๐ Quick Start
Installation
Usage with Claude Desktop
Add to your Claude Desktop configuration (claude_desktop_config.json):
Usage with Other MCP Clients
๐ ๏ธ Available Tools
markdown_to_docx
Convert Markdown content to Word document with full styling support.
Input Schema:
Example Usage:
table_data_to_markdown
Convert structured data (CSV/JSON) to formatted Markdown tables.
Input Schema:
๐ Available Resources
Templates
template://customer-analysis- Business analysis report templatetemplate://academic- Academic paper templatetemplate://business- Professional business reporttemplate://technical- Technical documentationtemplate://minimal- Clean minimal template
Style Guides
style-guide://quick-start- Quick styling referencestyle-guide://advanced- Advanced styling optionsstyle-guide://templates- Template usage guide
Performance Metrics
metrics://conversion-stats- Conversion performance datametrics://memory-usage- Memory usage statistics
๐จ Styling System
Basic Styling
Advanced Features
Theme System: Color and font variables for consistent branding
Header/Footer: Custom headers and footers with page numbers
Watermarks: Text watermarks for document protection
Table Styling: 12+ preset table styles with zebra striping
Mathematical Formulas: Professional math formula rendering
๐ Table Styles
The server includes 12 professionally designed table styles:
minimal - Clean modern style with thin borders
professional - Business style with dark headers
striped - Zebra striping for better readability
grid - Complete grid borders for structured data
elegant - Double borders for formal documents
colorful - Colorful headers for vibrant presentations
compact - Minimal margins for data-dense tables
fresh - Green theme for environmental reports
tech - Blue tech theme for technical documents
report - Formal report style with double borders
financial - Right-aligned numbers for financial data
academic - Academic paper style
๐ง Configuration
Style Configuration
Full style configuration supports:
Document-level settings (fonts, colors, page setup)
Paragraph and heading styles
Table and list formatting
Image and code block styling
Header/footer configuration
Watermark settings
Transport Options
STDIO: Standard input/output for local execution
Streamable HTTP: HTTP transport for remote servers
๐ Project Structure
๐งช Testing
Run the test suite:
Available test scenarios:
Mathematical formula conversion
Local image embedding
Page numbering and headers/footers
Table styling and data import
Complete document conversion
๐ Performance
Fast Conversion: Optimized processing for large documents
Memory Efficient: Stream-based processing for minimal memory usage
Production Ready: Robust error handling and logging
Scalable: Handles documents of any size efficiently
๐ค Contributing
We welcome contributions! Please see our Contributing Guidelines for details.
Fork the repository
Create a feature branch
Make your changes
Add tests
Submit a pull request
๐ License
This project is licensed under the MIT License - see the LICENSE file for details.
๐ Acknowledgments
Built with the Model Context Protocol SDK
Uses docx for Word document generation
Inspired by the MCP community and ecosystem
๐ Support
Issues: GitHub Issues
Documentation: Full Documentation
Examples: Example Files
AI Group Markdown to Word MCP Server - Professional document conversion powered by MCP protocol.