stetdoc — Claude Code MCP server: what it does, how to install
stetdoc — an MCP server for editing Word .docx files with tracked changes and strict schema validation.
Apache-2.0 ★ 14 updated 2026-11-15
claude mcp add stetdoc -- npx -y stetdocWhat stetdoc does
The stetdoc MCP server lets AI agents read, compare, and edit Word .docx documents while recording every modification as a genuine tracked change with proper XML structure. It checks every operation against document schemas before writing to prevent file corruption errors and ensure documents open cleanly in Microsoft Word.
The server preserves styles, comments, macros, and existing revisions. It handles ambiguous matches and paragraph shifts by refusing conflicting writes and showing exact clause references.
Setup in Claude Code requires adding the server through the standard MCP registration command using npx.
What it helps with
- read and compare docx files
- apply edits with tracked changes
- locate clauses by number
- validate document xml before saving
Example prompts for the agent
- check msa.docx for payment terms
- find governing law references in msa.docx
- replace thirty days with forty five days in msa.docx
How to install stetdoc
Platform CLI
claude mcp add stetdoc -- npx -y stetdocPlatform CLI
codex mcp add stetdoc -- npx -y stetdocConfig file
{
"mcpServers": {
"stetdoc": {
"command": "npx",
"args": [
"-y",
"stetdoc"
]
}
}
}Config file
{
"servers": {
"stetdoc": {
"type": "stdio",
"command": "npx",
"args": [
"-y",
"stetdoc"
]
}
}
}Platform CLI
gemini mcp add stetdoc npx -y stetdocStep 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 stetdoc
How to install stetdoc in Claude Code?
Run the command claude mcp add stetdoc -- npx -y stetdoc in your terminal.
What does stetdoc do?
stetdoc enables AI agents to read and edit Word documents safely, applying changes as tracked revisions and verifying XML validity before writing bytes.
What is needed to run stetdoc?
Running stetdoc requires Node.js to execute the package via npx.