Skip to main content
MCP server CX Codex

MCP Office Word — Claude Code MCP server

A local MCP server for assembling Word files from templates, handling tracked changes, and checking document structure. It runs through uvx.

Install into Claude Code · Platform CLI All methods and platforms ↓
claude mcp add --env WORD_ALLOWLIST_ROOTS=<WORD_ALLOWLIST_ROOTS> --env WORD_ENABLE_WRITE=<WORD_ENABLE_WRITE> --env WORD_ENABLE_COM=<WORD_ENABLE_COM> --transport stdio mcp-office-word -- uvx mcp-office
Open on GitHub

What MCP Office Word does

MCP Office Word gives an agent tools for template-based Word document assembly, tracked-change workflows, and structural checks. The package exposes 50 tools. It runs as a local Python MCP process over stdio, so the client can call Word operations directly.

Use Windows 10 or 11 with Python 3.11 or newer. Microsoft Office is needed for COM-dependent work such as tracked changes; read-only .docx handling works without Office. Set WORD_ALLOWLIST_ROOTS to the permitted file directory, then use WORD_ENABLE_WRITE and WORD_ENABLE_COM for the related capabilities. COM-based Word work will not run outside Windows.

What it helps with

  • assemble a Word file from a template
  • apply and inspect tracked changes
  • check the structure of a .docx file
  • connect Word document work to an MCP client

Example prompts for the agent

  • Assemble a Word document from contract.docx using the data in client.json.
  • Inspect report.docx and list structural issues.
  • Apply the requested changes to draft.docx and save the result in the allowed folder.

How to install MCP Office Word

Platform CLI

claude mcp add --env WORD_ALLOWLIST_ROOTS=<WORD_ALLOWLIST_ROOTS> --env WORD_ENABLE_WRITE=<WORD_ENABLE_WRITE> --env WORD_ENABLE_COM=<WORD_ENABLE_COM> --transport stdio mcp-office-word -- uvx mcp-office

Replace <…> with your own values. uvx runs the command named after the package; if the README names another one, use uvx --from mcp-office <command>

Step by step, with commands for each platform: How to add an MCP server to Claude Code, Codex, Cursor, VS Code, Gemini CLI and more

Questions about MCP Office Word

How do I install MCP Office Word in Claude Code?

Run claude mcp add mcp-office-word -e WORD_ALLOWLIST_ROOTS=<WORD_ALLOWLIST_ROOTS> -- uvx mcp-office. The variable points the server to the permitted Word-file directory.

What does MCP Office Word do?

It exposes 50 tools for assembling Word documents from templates, handling tracked changes, and checking document structure.

Do I need Microsoft Office to use MCP Office Word?

Office is required for COM-dependent operations such as tracked changes. Read-only .docx processing works without an Office installation.

Similar MCP servers

Everything for Office documents →

Project sponsors

Companies that keep this analytics open
Gold sponsor

Impressions, clicks and code copies — open statistics. We keep the numbers public for the same reason NeBlask itself is public. Become a sponsor