Office Word

v1.0.0Developer Toolsstable

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

office-word-mcp-servermcpai-integration
Share:
1,979
Stars
0
Downloads
0
Weekly
0/5

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

Create and edit Microsoft Word documents with AI assistance.
Apply formatting, tables, and protection to documents programmatically.
Merge documents and convert them to PDF format.
GongRzhe

Maintainer

LicenseMIT License
Languagepython
Versionv1.0.0
UpdatedMay 22, 2026
Statushealthy
Maintenanceactive

Works with

ClaudeOpenAIwindowsmacoslinux

Installation

Manual Installation

npx office-word-mcp-server

Configuration

Configuration Details

Config File

claude_desktop_config.json

Performance

Response Metrics

Response Time< 200ms
ThroughputMedium

Resource Usage

Memory UsageLow
CPU UsageLow

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)
1

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-Server
2

Install Python dependencies

Install all required Python packages including python-docx using the provided requirements file.

pip install -r requirements.txt
3

Verify 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.py
4

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

5

Restart Claude Desktop

Save the configuration file and restart Claude Desktop. The Word document tools will appear available in the tool list.

6

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=1

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

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.

Quick Config Preview

{ "mcpServers": { "office-word-mcp-server": { "command": "npx", "args": ["-y", "office-word-mcp-server"] } } }

Add this to your claude_desktop_config.json or .cursor/mcp.json

Read the full setup guide →

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.

33,000+ ServersFree & Open SourceStep-by-Step Guides