Best for
- Developers who need precise, format-preserving edits to .docx/.odt files via coding agents
- Workflows that require tracked-changes output for human review
Safe Docx is a local, stdio-based MCP server (npm-distributed, Apache-2.0) built for coding agents, offering surgical, format-preserving edits to .docx/.odt files with conformance evidence for OOXML compatibility. It is not suited as a visual editor or collaboration tool.
Safe Docx is a local MCP server and CLI for reading, searching, editing, comparing, converting, and saving .docx and .odt files. Distributed via the npm package @usejunior/safe-docx over stdio, it preserves document structure and can produce clean or tracked-changes output. The project is Apache-2.0 licensed and publishes ECMA-376 / OOXML conformance reports. No tool names are listed in the source material, so the tool list is left empty.
Install globally with npm install --global @usejunior/safe-docx, then configure your MCP client with the installed executable's absolute path. For Claude Code: claude mcp add safe-docx -- /absolute/path/to/safe-docx.