
Docx Forge
Gives Claude the ability to create, read, and manipulate Word documents without an Office installation. Wraps the docx and mammoth libraries to expose eight tools: create documents from markdown, extract text and metadata, append sections, find and replace template variables, insert formatted tables, merge multiple files, and export to PDF via LibreOffice or pandoc. Useful when you need agents to generate contracts, compliance reports, or proposals in .docx format, or when you're working with document templates that need programmatic population. The replace_text tool handles variable substitution, so you can build reusable templates with placeholders like {{CLIENT_NAME}} and swap them at runtime. All operations work on the file system, and documents are standard OOXML that open in Word, Google Docs, or any compatible editor.
- tools
- 8
- transport
- STDIO
- last updated
- Apr 24, 2026
Tools
8 toolsPublic tool metadata for what this MCP can expose to an agent.
create_documentCreate a new `.docx` from a title and markdown content
Create a new `.docx` from a title and markdown content
No parameter schema in public metadata yet.
read_documentExtract text, headings, paragraphs, and metadata from a `.docx`
Extract text, headings, paragraphs, and metadata from a `.docx`
No parameter schema in public metadata yet.
add_sectionAppend a new section (heading + body) to an existing `.docx`
Append a new section (heading + body) to an existing `.docx`
No parameter schema in public metadata yet.
replace_textFind and replace text — ideal for template variable substitution
Find and replace text — ideal for template variable substitution
No parameter schema in public metadata yet.
add_tableInsert a formatted table with bold headers into a `.docx`
Insert a formatted table with bold headers into a `.docx`
No parameter schema in public metadata yet.
merge_documentsCombine multiple `.docx` files into one
Combine multiple `.docx` files into one
No parameter schema in public metadata yet.
export_to_pdfConvert `.docx` to PDF via LibreOffice or pandoc
Convert `.docx` to PDF via LibreOffice or pandoc
No parameter schema in public metadata yet.
get_document_statsGet word count, page estimate, section count, table count
Get word count, page estimate, section count, table count
No parameter schema in public metadata yet.
Sponsors
Readme
docx-forge-mcp
MCP server for Word document (.docx) creation and manipulation — the production-grade document automation tool for AI agents.
Generate contracts, reports, proposals, and compliance documents directly from agent workflows. No Word installation required.
Why docx-forge-mcp?
Word documents are the default format for contracts, compliance reports, legal agreements, and business proposals — especially in enterprise and government workflows. This MCP server gives AI agents the ability to produce and manipulate .docx files programmatically, without any Office installation, UI automation, or file format guesswork.
Only 1 competitor exists for Word document manipulation via MCP as of 2026. This server fills that gap with a production-quality, fully-tested implementation.
Tools
Details
- Repository
- github.com/mdfifty50-boop/docx-forge-mcp
- Categories
- Documents & Knowledge, Data & Analytics
- Package
docx-forge-mcp- Transport
- STDIO
- Registry
- MCP registry, active