mdfifty50-boop avatar

Docx Forge

mdfifty50-boop/docx-forge-mcp

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 tools

Public 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.

npm License: MIT MCP Compatible


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


View the full README on GitHub

Details

Repository
github.com/mdfifty50-boop/docx-forge-mcp
Categories
Documents & Knowledge, Data & Analytics
Package
docx-forge-mcp
Transport
STDIO
Registry
MCP registry, active

More from mdfifty50-boop

Related Documents & Knowledge MCP servers

View all
1suekou avatarNotionsuekou/mcp-notion-serverNotion MCP Server enables LLMs to access Notion workspaces with optional Markdown conversion to save tokens.892stars
2meterlong avatarDocxmeterlong/mcp-docA powerful Word document processing service based on FastMCP, enabling AI assistants to create, edit, and manage docx files with full formatting support. Preser185stars
3grey-iris avatarEasy Notiongrey-iris/easy-notion-mcpMarkdown-first Notion MCP server. ~6-7x fewer response tokens vs official Notion MCP. 43 tools.55stars
4n24q02m avatarNotionn24q02m/notionMarkdown-first Notion for AI agents -- pages, databases, blocks, and comments in one call.36stars
5combjellyshen avatarZotero Bridgecombjellyshen/zoterobridgeMCP Server for Zotero SQLite Database - collection, tagging, PDF reading and more.10stars
6mrslbt avatarPdf Itmrslbt/pdf-itNative PDF renderer for AI markdown. Cover, TOC, page-numbered footer. Fonts embedded, zero config.2stars