Microsoft Word is an MCP server that connects AI assistants to local Microsoft Word files for automated document creation, inspection, and manipulation. Developed to bridge large language models with office workflows, it allows technical writers, business analysts, and researchers to read and modify DOCX files programmatically. The server exposes rich formatting and structure tools through the Model Context Protocol, enabling models to generate formatted documents from scratch or edit existing ones. Users can manage headings, insert styled paragraphs, manipulate bulleted or numbered lists, embed images, and build tables. It also provides advanced capabilities such as cell merging, alternating row colors, margin padding control, comment extraction, search-and-replace, and document conversion to PDF. By integrating Word operations directly into the AI toolchain, it replaces manual copy-pasting and macro scripting with automated document editing.
Category: Files, Documents & PDFs
Tags: document processing, docx, microsoft word, office
bash npx -y @smithery/cli install @GongRzhe/Office-Word-MCP-Server --client claude 3. Alternatively, configure Claude Desktop manually using uvx by adding the following snippet to claude_desktop_config.json: json { "mcpServers": { "word-document-server": { "command": "uvx", "args": ["--from", "office-word-mcp-server", "word_mcp_server"] } } } 4. If building locally, clone the repository, run pip install -r requirements.txt, and specify python as the command with the path to word_mcp_server.py in your configuration. 5. Restart Claude for Desktop to complete setup.Part of MCP Servers
The Microsoft Word MCP Server connects AI clients to Microsoft Word documents. It implements the Model Context Protocol to provide programmatic tools for reading, creating, modifying, and formatting DOCX files, as well as converting documents to PDF.
You can install it automatically for Claude Desktop using Smithery with the command npx -y @smithery/cli install @GongRzhe/Office-Word-MCP-Server --client claude. You can also configure it with uvx in claude_desktop_config.json or clone the repository and run python setup_mcp.py.
It is designed to work with Claude for Desktop and any other MCP-compliant client or AI assistant capable of executing Model Context Protocol tools over standard input/output connections.
The server can create documents, extract text and outline structures, insert headings and paragraphs, manage bulleted and numbered lists, create and style tables, adjust cell padding and alignment, insert images, extract comments, and convert documents to PDF.