Office Word MCP Server
by GongRzhe
Create, read, and manipulate Word documents through AI assistants
productivity Python Beginner Self-hostable No API key
β 1.7k stars π
Updated: 3mo ago
Description
A comprehensive MCP server that enables AI assistants to work with Microsoft Word documents through a standardized interface. It provides 30+ tools covering the full document lifecycle: creation, reading, editing, formatting, table manipulation, image insertion, password protection, digital signatures, comment extraction, and PDF conversion. Built on python-docx, it supports rich text formatting, custom styles, cell merging, bulleted and numbered lists, footnotes, endnotes, and document merging.
β Best for
Teams that need automated Word document generation, editing, or analysis through AI assistants
βοΈ Skip if
You only need simple text export or already use a cloud-based document API
π‘ Use cases
- Generating formatted reports and proposals from structured data
- Automating document templates with dynamic content insertion
- Extracting and analyzing text and comments from existing Word files
- Converting Word documents to PDF for distribution
- Batch formatting and style standardization across documents
π Pros
- β Extensive toolset with 30+ operations covering most Word editing needs
- β No API key required β works entirely locally with python-docx
- β Supports advanced features like cell merging, digital signatures, and password protection
- β Active community with 1,600+ GitHub stars
π Cons
- β Requires Python runtime and python-docx dependency
- β No HTTP transport β stdio only
- β Some complex formatting may not match native Word fidelity
π§ Exposed tools (15 tools)
| Tool | Category | Description |
|---|---|---|
| get_all_comments | collaboration | Extract all comments from a document |
| add_heading | content-creation | Insert headings with formatting options |
| add_paragraph | content-creation | Add paragraphs with styling |
| add_table | content-creation | Create tables with custom data |
| add_picture | content-creation | Insert images with scaling options |
| convert_to_pdf | conversion | Convert Word documents to PDF format |
| create_document | document-management | Create new Word documents with metadata |
| get_document_info | document-management | Extract document properties and statistics |
| get_document_text | document-management | Extract text and analyze document structure |
| merge_documents | document-management | Combine multiple documents into one |
| search_and_replace | editing | Find and replace text throughout documents |
| format_text | formatting | Format text sections with bold, italic, underline, color, and font options |
| add_password_protection | security | Secure documents with password protection |
| add_digital_signatures | security | Sign documents with digital signatures |
| merge_table_cells | table-formatting | Merge cells horizontally, vertically, or in rectangular regions |
π‘ Tips & tricks
Use the create_custom_style tool to define reusable styles before generating documents in batch. Combine with merge_documents for assembling reports from multiple sections.
Quick info
- Author
- GongRzhe
- License
- MIT
- Runtime
- Python 3.10+
- Transport
- stdio
- Category
- productivity
- Difficulty
- Beginner
- Self-hostable
- β
- Auth
- β
- Docker
- β
- Version
- 1.0.0
- Updated
- Dec 31, 2025
Client compatibility
- β Claude Code
- β Cursor
- β VS Code Copilot
- β Gemini CLI
- β Windsurf
- β Cline
- β JetBrains AI
- β Warp
Platforms
π macOS π§ Linux πͺ Windows