Safe Docx
Edit Word and ODT files as tracked changes with reasons, so redlines stay reviewable
- Pricing
- Open source
- Platforms
- CLI, macOS, Windows
- Runs
- Locally
- Version
- 0.25.1
- Listing updated
- 3 days ago
About Safe Docx
Safe Docx is an open-source MCP server for files and documents. It runs locally on your machine and is started by your AI client.
Instead of rewriting a .docx, the agent works from a format-preserving plain-text copy and writes each edit beside its reason. Edits land in the Word file as tracked changes; external-facing reasons become comments while internal ones stay with your team. Because the text copy diffs cleanly, a contract's rounds can be committed to Git and reviewed like code.
It runs locally from the npm package @usejunior/safe-docx and is Apache 2.0 licensed, free for commercial use. Tools cover reading, section outlines, replacing text, batch edits, footnotes, comments, accepting or rejecting AI edits, comparing documents and converting to ODT.
Install
Run in a terminal
claude mcp add safe-docx -- npx -y @usejunior/safe-docxAdd to claude_desktop_config.json
{
"mcpServers": {
"safe-docx": {
"command": "npx",
"args": [
"-y",
"@usejunior/safe-docx"
]
}
}
}Add to ~/.cursor/mcp.json
{
"mcpServers": {
"safe-docx": {
"command": "npx",
"args": [
"-y",
"@usejunior/safe-docx"
]
}
}
}Add to .vscode/mcp.json
{
"servers": {
"safe-docx": {
"type": "stdio",
"command": "npx",
"args": [
"-y",
"@usejunior/safe-docx"
]
}
}
}Add to ~/.codeium/windsurf/mcp_config.json
{
"mcpServers": {
"safe-docx": {
"command": "npx",
"args": [
"-y",
"@usejunior/safe-docx"
]
}
}
}Add to your client's MCP settings (most use this shape)
{
"mcpServers": {
"safe-docx": {
"command": "npx",
"args": [
"-y",
"@usejunior/safe-docx"
]
}
}
}Tools this server provides (1)
Taken from the project documentation; the running server may differ.
- name
- description
What it does
- Tracked changes
- Edits arrive as Word revisions.
- Reasons as comments
- Each change is paired with a rationale.
- Plain-text copy
- A text projection that works in Git.
- Formatting preserved
- Layout and numbering are kept.
- Compare documents
- Compare two versions.
- Footnotes and comments
- Add, update and delete both.
Good for
- Redline a contract with an AI agent
- Review AI edits before accepting
- Keep contract history in Git
- Convert a document to ODT
Pricing
Open source
Apache 2.0, free for commercial use
Prices change. Check usejunior.com before you buy.
Safe Docx FAQ
Does it run locally?
Yes, over stdio.
What license?
Apache 2.0.
Can I reject AI edits?
Yes, via accept_ai_edits and reject_ai_edits.
Is Safe Docx free?
Yes. Safe Docx is open source, so you can use and self-host it for free.
How do I add Safe Docx to Claude Code?
Run this command in your terminal: claude mcp add safe-docx -- npx -y @usejunior/safe-docx
What are the best alternatives to Safe Docx?
The closest alternatives to Safe Docx are ASTra, NY LLC Publication (FileMyPublication), TribuJus, SupplyClub Catalog and SynomosAI Governance MCP.
Alternatives to Safe Docx

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