Office Word
Enables AI assistants to create, read, and manipulate Microsoft Word documents with comprehensive formatting, table creation, content management, and document protection capabilities. Supports advanced operations like merging documents, PDF conversio
What is Office Word?
Office Word is a Model Context Protocol (MCP) server that allows AI assistants like Claude, Cursor, and VS Code to enables ai assistants to create, read, and manipulate microsoft word documents with comprehensive formatting, table creation, content management, and document protection capabilities. supports advance...
Enables AI assistants to create, read, and manipulate Microsoft Word documents with comprehensive formatting, table creation, content management, and document protection capabilities. Supports advanced operations like merging documents, PDF conversio
This server falls under the Developer Tools category on MCPgee, the world's largest MCP server directory with 33,000+ servers.
Features
- Enables AI assistants to create, read, and manipulate Micros
Use Cases
Maintainer
Works with
Installation
Manual Installation
npx office-word-mcp-serverConfiguration
Configuration Details
claude_desktop_config.json
Performance
Response Metrics
Resource Usage
How to Set Up and Use Office Word
The Office Word MCP Server is a Python-based Model Context Protocol server that gives AI assistants full programmatic control over Microsoft Word documents. It bridges AI tools like Claude Desktop with the python-docx library to support creating, reading, formatting, and merging .docx files without any cloud API dependency. Developers and knowledge workers use it to automate document generation — from inserting styled headings and tables to applying password protection and converting documents to PDF — all through natural language prompts.
Prerequisites
- Python 3.8+ installed on your system
- python-docx and its dependencies (installed via pip from requirements.txt)
- An MCP-compatible client such as Claude Desktop
- Git to clone the repository (for manual setup)
- Microsoft Word documents accessible on the local file system (no cloud account required)
Clone the repository
Clone the Office-Word-MCP-Server repository from GitHub to a local directory where the server script will live.
git clone https://github.com/GongRzhe/Office-Word-MCP-Server.git
cd Office-Word-MCP-ServerInstall Python dependencies
Install all required Python packages including python-docx using the provided requirements file.
pip install -r requirements.txtVerify the server runs
Test that the MCP server starts correctly before wiring it into a client. It should start without errors.
python word_mcp_server.pyAdd to Claude Desktop configuration
Open your Claude Desktop configuration file and register the server so Claude can invoke Word document tools. Replace /path/to with the actual cloned directory path.
Restart Claude Desktop
Save the configuration file and restart Claude Desktop. The Word document tools will appear available in the tool list.
Enable debug logging (optional)
Set the MCP_DEBUG environment variable to 1 to get detailed logging output, which is useful during initial setup and troubleshooting.
export MCP_DEBUG=1Office Word Examples
Client configuration
Add this block to ~/Library/Application Support/Claude/claude_desktop_config.json on macOS (or %APPDATA%\Claude\claude_desktop_config.json on Windows), replacing the path with your actual clone location.
{
"mcpServers": {
"word-document-server": {
"command": "python",
"args": ["/path/to/Office-Word-MCP-Server/word_mcp_server.py"]
}
}
}Prompts to try
Once the server is connected, use these prompts in Claude Desktop to interact with Word documents.
- "Create a new Word document called 'report.docx' with a title heading 'Q3 Sales Report'"
- "Add a 4-column table with headers Name, Region, Sales, and Growth to report.docx"
- "Format the word 'critical' in paragraph 3 of report.docx to be bold and red"
- "Merge intro.docx and body.docx into a single file called final_report.docx"
- "Convert report.docx to PDF format"
- "Add password protection to confidential.docx"Troubleshooting Office Word
Server fails to start with 'ModuleNotFoundError: No module named docx'
Run 'pip install python-docx' or re-run 'pip install -r requirements.txt' to ensure all dependencies are installed in the Python environment being used.
Claude Desktop does not show Word tools after adding the configuration
Verify the absolute path to word_mcp_server.py in the config is correct, then fully quit and relaunch Claude Desktop. Use MCP_DEBUG=1 in the env block to see startup errors.
PDF conversion fails or produces an empty file
PDF conversion relies on LibreOffice or a compatible tool being installed and on the system PATH. Install LibreOffice and ensure 'soffice' is accessible from the command line.
Frequently Asked Questions about Office Word
What is Office Word?
Office Word is a Model Context Protocol (MCP) server that enables ai assistants to create, read, and manipulate microsoft word documents with comprehensive formatting, table creation, content management, and document protection capabilities. supports advanced operations like merging documents, pdf conversio It connects AI assistants to external tools and data sources through a standardized interface.
How do I install Office Word?
Follow the installation instructions on the Office Word GitHub repository. Clone the repo, install dependencies, and add the server config to your AI client.
Which AI clients work with Office Word?
Office Word works with all major MCP-compatible AI clients including Claude Desktop, Claude Code, Cursor, VS Code (GitHub Copilot), Windsurf, and Cline.
Is Office Word free to use?
Yes, Office Word is open source and available under the MIT License license. You can use it freely in both personal and commercial projects.
Office Word Alternatives — Similar Developer Tools Servers
Looking for alternatives to Office Word? Here are other popular developer tools servers you can use with Claude, Cursor, and VS Code.
Ecc
★ 188.2kThe agent harness performance optimization system. Skills, instincts, memory, security, and research-first development for Claude Code, Codex, Opencode, Cursor and beyond.
Javaguide
★ 155.8kJava 面试 & 后端通用面试指南,覆盖计算机基础、数据库、分布式、高并发、系统设计与 AI 应用开发
Gemini CLI
★ 104.5kA secure MCP server that wraps the Google Gemini CLI, allowing clients to query Gemini models using local OAuth sessions without requiring an API key. It provides tools for model interaction and diagnostics with built-in protection against command in
Awesome MCP Servers
★ 87.3k⭐ Curated list of Model Context Protocol (MCP) servers - tools that extend Claude Desktop, Cursor, Windsurf, and other MCP clients with custom capabilities.
MCP Servers
★ 86.0kModel Context Protocol Servers
CC Switch
★ 77.5kA cross-platform desktop All-in-One assistant for Claude Code, Codex, OpenCode, OpenClaw, Gemini CLI & Hermes Agent. Only official website: ccswitch.io
Browse More Developer Tools MCP Servers
Explore all developer tools servers available in the MCPgee directory. Each server includes setup guides for Claude, Cursor, and VS Code.
Set Up Office Word in Your Editor
Choose your AI client for step-by-step setup instructions.
Quick Config Preview
Add this to your claude_desktop_config.json or .cursor/mcp.json
Ready to use Office Word?
Browse our complete directory of 33,000+ MCP servers, read setup guides for your editor, and start building with the Model Context Protocol.