stetdoc
Read, redline and compare Word .docx files with real tracked changes by the agent
- Pricing
- Open source
- Platforms
- macOS, Linux, Windows
- Runs
- Locally
- Version
- 0.9.2
- Listing updated
- 2 days ago
About stetdoc
stetdoc is an open-source MCP server for files and documents. It runs locally on your machine and is started by your AI client.
Word refuses files whose XML falls out of schema order, and agents that hand-edit .docx XML hit that sooner or later. stetdoc checks every edit against the schema and Word's own rules before writing a byte, and a batch of edits is applied in full or not at all. The docs say it never panics, hangs or touches the network.
Edits land as tracked changes under the agent's name, such as a replace of thirty days with forty-five days in clause 11.1, and the source file is left unchanged. Untouched content comes back byte for byte: styles, numbering, comments, other people's tracked changes and macros stay as they were. The project checks this on 306 documents every build and on random edits to 48,595 public documents nightly.
It also computes clause numbers that Word only works out at render time, so an agent can search for a phrase and get the clause, a stable paragraph reference and the exact text. The authors' own benchmark, docx-agent-bench, reports it fastest on the three models tested and 0 of 118 stetdoc runs leaving Word anything to repair. Install with brew, an install script or uv, then run stetdoc init.
Install
Run in a terminal
claude mcp add stetdoc -- npx -y stetdocAdd to claude_desktop_config.json
{
"mcpServers": {
"stetdoc": {
"command": "npx",
"args": [
"-y",
"stetdoc"
]
}
}
}Add to ~/.cursor/mcp.json
{
"mcpServers": {
"stetdoc": {
"command": "npx",
"args": [
"-y",
"stetdoc"
]
}
}
}Add to .vscode/mcp.json
{
"servers": {
"stetdoc": {
"type": "stdio",
"command": "npx",
"args": [
"-y",
"stetdoc"
]
}
}
}Add to ~/.codeium/windsurf/mcp_config.json
{
"mcpServers": {
"stetdoc": {
"command": "npx",
"args": [
"-y",
"stetdoc"
]
}
}
}Add to your client's MCP settings (most use this shape)
{
"mcpServers": {
"stetdoc": {
"command": "npx",
"args": [
"-y",
"stetdoc"
]
}
}
}What it does
- Real tracked changes
- Edits appear in Word as revisions carrying the agent's name.
- Validate before writing
- Every edit is checked against the schema and Word's rules, and batches apply all or nothing.
- Byte-identical round trip
- An unedited document comes back as the identical file.
- Clause-aware search
- Finds text by clause number and returns stable paragraph references.
- Unpack and pack
- Converts a .docx to an editable form and back.
- Offline operation
- The docs say it never touches the network.
Good for
- Change a payment term in a contract as a tracked edit
- Compare two versions of a Word agreement
- Let an agent redline a long supply contract
- Find a clause by its number or a phrase
- Edit one clause while leaving others' comments untouched
Pricing
Open source
Free; MIT or Apache-2.0
Prices change. Check stetdoc.clauseo.chat before you buy.
stetdoc FAQ
Does it change my original file?
No. Edits are written to a new file such as msa.edited.docx and the original is unchanged.
What licence applies?
MIT or Apache-2.0, free and open source.
How do I install it?
Use brew on macOS, the install script on Linux or uv on Windows, then run stetdoc init.
Will Word open the result without repair?
In the authors' benchmark, 0 of 118 stetdoc runs left Word anything to repair.
Is stetdoc free?
Yes. stetdoc is open source, so you can use and self-host it for free.
How do I add stetdoc to Claude Code?
Run this command in your terminal: claude mcp add stetdoc -- npx -y stetdoc
What are the best alternatives to stetdoc?
The closest alternatives to stetdoc are ASTra, NY LLC Publication (FileMyPublication), TribuJus, SupplyClub Catalog and SynomosAI Governance MCP.
Alternatives to stetdoc

ASTra
MCP serverLet agents read, edit, validate and undo Word .docx files with exact operations
Runs locally- 5 tools
- Freemium
- Files and documents

NY LLC Publication (FileMyPublication)
MCP serverNew York LLC publication rules, deadline, county prices, clerks and notice text
- 8 tools
- Remote
- Free
- Legal and government
TribuJus
MCP serverRead-only access to UK bank accounts, cards and transactions via TrueLayer Open Banking
Not checked yet- 5 tools
- Remote
- Open source
- Legal and government

SupplyClub Catalog
MCP serverRussian statutes, Supreme Court guidance and court practice for AI assistants
- 3 tools
- Remote
- Free
- Legal and government
SynomosAI Governance MCP
MCP serverSelf-assess AI agent governance: A3 scorecard, ISO 42001 evidence and PII scan
Runs locally- 6 tools
- Open source
- Security

CARTESIAN ECU
MCP serverCheck and repair ECU and TCU flash-file checksums from Claude (Ultimate plan)
Not checked yet- 5 tools
- Remote
- Paid
- Files and documents