aigroup-mdtoword-mcp — Claude Code MCP server: what it does
Converts Markdown into ready .docx files with tables, formulas, images, and Mermaid diagrams. Runs locally over MCP.
claude mcp add aigroup-mdtoword-mcp -- npx -y aigroup-mdtoword-mcpWhat aigroup-mdtoword-mcp does
The server exposes two tools: markdown_to_docx builds a document from text or a file, applies styling templates, embeds images, and renders diagrams; table_data_to_markdown converts CSV and JSON into Markdown tables. It uses the docx engine by Dolan Miu, ships report templates (business, academic, technical, minimal), heading and table styles, and supports headers, footers, page numbers, and watermarks. Math is written in LaTeX notation ($E = mc^2$), Mermaid renders into diagrams.
Requires Node.js 18 or higher. Runs via npx -y aigroup-mdtoword-mcp or locally after npm install && npm run build. Can work over HTTP and deploy to Cloudflare Worker. Relative image paths are read from the filesystem and embedded into the document.
What it helps with
- build
.docxfrom Markdown with tables, formulas, and diagrams - apply a styling template to a report
- embed local images into a Word document
- convert CSV or JSON into a Markdown table
- add headers, footers, page numbers, and watermarks
Example prompts for the agent
- Turn
report.mdinto a Word document with the business template - Convert this JSON table to Markdown and add it to the report
- Embed the Mermaid diagram from
workflow.mdinto.docxwith formulas
How to install aigroup-mdtoword-mcp
Platform CLI
claude mcp add aigroup-mdtoword-mcp -- npx -y aigroup-mdtoword-mcpPlatform CLI
codex mcp add aigroup-mdtoword-mcp -- npx -y aigroup-mdtoword-mcpConfig file
{
"mcpServers": {
"aigroup-mdtoword-mcp": {
"command": "npx",
"args": [
"-y",
"aigroup-mdtoword-mcp"
]
}
}
}Config file
{
"servers": {
"aigroup-mdtoword-mcp": {
"type": "stdio",
"command": "npx",
"args": [
"-y",
"aigroup-mdtoword-mcp"
]
}
}
}Platform CLI
gemini mcp add aigroup-mdtoword-mcp npx -y aigroup-mdtoword-mcpStep by step, with commands for each platform: How to add an MCP server to Claude Code, Codex, Cursor, VS Code, Gemini CLI and more
Questions about aigroup-mdtoword-mcp
How to install aigroup-mdtoword-mcp in Claude Code?
Run claude mcp add aigroup-mdtoword-mcp -- npx -y aigroup-mdtoword-mcp. The server will start via npx without a local install.
What does aigroup-mdtoword-mcp do?
Converts Markdown into Word documents with tables, formulas, images, and Mermaid diagrams. Applies styling templates and supports headers and footers.
Which templates are available in aigroup-mdtoword-mcp?
Five templates: customer-analysis, academic, business, technical, and minimal. Each defines heading, table, and page styles for its document type.