Word MCP Server
This server does not currently have a deployable release on Glama. Follow the repository's setup instructions to install and configure it for your MCP client, including any required credentials and local dependencies.
Word MCP Server
Edit Word documents with Claude with full tracked changes support.
Why This Exists
I wanted a Word MCP server that could do tracked changes. In a professional setting you need to see what changed, who changed it, and accept or reject edits.
Other approaches I looked at:
python-docx based servers – Can read and write .docx files, but no tracked changes support. Changes are invisible in Word's review workflow.
Microsoft's official Word MCP – Cloud-based, read/create only, no direct editing of local files, and no tracked changes.
This server:
Full tracked changes – Enable revision tracking, make edits that appear as insertions/deletions in Word, review with author and date metadata
Direct local editing – Changes happen in your .docx files on disk, no cloud dependencies
45 tools – Documents, text, tables, images, formatting, sections, headers/footers, and more
Related MCP server: MCP Word Commander
Getting Started
Prerequisites
Windows with Microsoft Word installed (required for COM-based tracked changes)
Python 3.10+ – Check with
python --version
Install
1. Clone the repo:
git clone https://github.com/juanocampo400/word-mcp.git
cd word-mcp2. Install dependencies:
pip install -e .3. Add to Claude Code:
claude mcp add word-mcp --scope user -- python -m word_mcp.serverWhy --scope user? Makes the server available globally. Without it, the server only works in the project directory.
Manual config -- Edit ~/.claude.json:
{
"mcpServers": {
"word-mcp": {
"type": "stdio",
"command": "python",
"args": ["-m", "word_mcp.server"]
}
}
}If python doesn't resolve, use the full path:
{
"mcpServers": {
"word-mcp": {
"type": "stdio",
"command": "C:/Users/yourname/AppData/Local/Programs/Python/Python312/python.exe",
"args": ["-m", "word_mcp.server"]
}
}
}Try It Out
Open Claude Code and say:
"Open my document at C:/Documents/report.docx and enable tracked changes, then fix the typos"
Claude will open the document, enable tracking, and make edits that appear as tracked changes in Word. Open the file in Word to review and accept/reject.
How It Works
The server uses two engines:
python-docx for most operations -- text, styles, tables, images, sections. Fast, doesn't need Word running.
pywin32 COM automation for things python-docx can't do -- tracked changes, row/column deletion, image repositioning. Requires Word installed.
When a COM operation runs, the document is saved to disk, edited through Word's COM interface, then reloaded into python-docx. This bridge pattern keeps both engines in sync.
Notes
Windows only (COM automation requires Microsoft Word)
Multiple documents can be open simultaneously
Documents are held in memory until explicitly saved – no auto-save
COM operations (tracked changes, some table/image ops) require the document to be saved to disk first
Available Tools
Document Management
Tool | Description |
| Create a new blank document |
| Open a .docx file from disk |
| Save to current path |
| Save to a new path |
| Close and discard unsaved changes |
| Get paragraphs, words, pages, styles in use |
| Create from a .docx/.dotx template |
| List all open documents |
Content Editing
Tool | Description |
| Read paragraphs with indexes and styles |
| Add or insert paragraph |
| Replace paragraph text by index |
| Delete paragraph by index |
| Search for text across paragraphs |
| Find and replace text |
Styles & Formatting
Tool | Description |
| Apply heading style (H1-H9) |
| Apply any paragraph style by name |
| Bold, italic, underline, font, size, color |
| Inspect per-run formatting details |
Track Changes
Tool | Description |
| Enable revision tracking with author name |
| Disable tracking (preserves existing revisions) |
| List revisions with type, author, date, text |
| Add paragraph as tracked insertion |
| Edit creating tracked deletion + insertion |
| Delete as tracked deletion (strikethrough) |
Tables
Tool | Description |
| Create table with optional data and style |
| List all tables with dimensions |
| Read table as formatted grid |
| Edit cell by row/column index |
| Append row with optional data |
| Append column with optional data |
| Delete row (requires saved document) |
| Delete column (requires saved document) |
Images
Tool | Description |
| Insert inline image with optional resize |
| Resize existing image |
| List all images with dimensions |
| Convert to floating and position absolutely |
Sections & Headers/Footers
Tool | Description |
| List sections with orientation, margins, dimensions |
| Add section (new page, continuous, etc.) |
| Change orientation, dimensions, margins |
| Read/write header content per section |
| Read/write footer content per section |
Comments
Tool | Description |
| Read all comments with author and date |
Monitoring
Tool | Description |
| Memory usage, COM pool status, open documents |
License
MIT
Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections.
Loading tool schema changelog…
This server cannot be deployed
Maintenance
Related MCP Connectors
Convert, create and edit Word, PowerPoint, Excel and PDF documents from any AI agent.
Write and revise cloud docs with Claude, ChatGPT and your team. Review and comment from your phone.
Real Word and Excel for agents: open your .docx/.xlsm, read, propose, apply, get it back intact.
Related MCP Servers
- AlicenseNot gradedqualityCmaintenanceEnables AI assistants to edit Microsoft Word documents live while they are open, with full support for tracked changes, comments, formatting, and 124 tools.1,127 PyPI273MIT
- AlicenseAqualityDmaintenanceEnables AI assistants to directly read, edit, and manipulate Word documents, supporting image and table operations, paragraph editing, and search/replace.202MIT
- AlicenseCqualityCmaintenanceEnables AI agents to create, read, and edit Word documents with tracked changes, comments, and template manipulation, including bulk text replacement and paragraph-level operations.100MIT
- AlicenseNot gradedqualityCmaintenanceEnables AI assistants to edit Microsoft Word documents in real time, supporting tracked changes, comments, formatting, and per-action undo across 124 tools.MIT