Safe DOCX suite: docx-primitives, docx-comparison, safe-docx MCP server
- ✓Open-source license (Apache-2.0)
- ✓Actively maintained (<30d)
- ✓Clear description
- ✓Documented (README)
git clone https://github.com/UseJunior/safe-docx{
"mcpServers": {
"safe-docx": {
"command": "node",
"args": ["/path/to/safe-docx/dist/index.js"]
}
}
}MCP Servers overview
# Safe Docx
Edit Word and OpenDocument files with coding agents.
<!-- SYNC:badges BEGIN -->
[](https://github.com/usejunior/safe-docx/actions/workflows/ci.yml)
[](https://app.codecov.io/gh/usejunior/safe-docx)
[](https://www.npmjs.com/package/@usejunior/safe-docx)
[](https://github.com/UseJunior/safe-docx/blob/main/LICENSE)
[](https://github.com/UseJunior/safe-docx/commits/main)
[](https://github.com/UseJunior/safe-docx/issues?q=is%3Aissue+is%3Aclosed)
<!-- SYNC:badges END -->
<!-- SYNC:lang-nav BEGIN -->
[English](./README.md) · [Español](./README.es.md) · [简体中文](./README.zh.md) · [Português](./README.pt-br.md) · [Deutsch](./README.de.md)
<!-- SYNC:lang-nav END -->
Safe Docx is a local MCP server and CLI for reading, searching, editing, comparing, converting, and saving document files. It preserves DOCX structure and can produce clean or tracked-changes output.
## Example
Ask your coding agent:
```text
Edit NDA.docx. Change the governing law from New York to Delaware.
Save a clean copy and a tracked-changes copy. Do not change anything else.
```
Safe Docx finds the clause, applies the targeted edit, and writes both files for review. The rest of the document stays outside the requested edit.
Follow the complete [editing walkthrough](docs/tutorial.md).
## Comparisons
- [SuperDoc](docs/comparisons.md#superdoc)
- [Claude's built-in DOCX editing](docs/comparisons.md#claudes-built-in-docx-editing)
- [python-docx](docs/comparisons.md#python-docx)
- [DOCX compatibility matrix](docs/comparisons.md#compatibility-matrix)
## Install
```bash
npm install --global @usejunior/safe-docx
```
Then configure your MCP client with the installed executable's absolute path. For Claude Code:
```bash
claude mcp add safe-docx -- /absolute/path/to/safe-docx
```
### Antigravity CLI
Add Safe Docx to `~/.gemini/config/mcp_config.json`:
```json
{
"mcpServers": {
"safe-docx": {
"command": "/absolute/path/to/safe-docx",
"args": []
}
}
}
```
Restart `agy`, then ask it to edit a `.docx` file. Antigravity may ask you to approve the MCP server before first use.
See [Installation and verification](docs/installation.md) for locating the executable, pinning a version, and configuring clients.
## Documentation
- [Installation and verification](docs/installation.md)
- [Tool reference](packages/docx-mcp/docs/tool-reference.generated.md)
- [TypeScript library](packages/docx-core/README.md)
- [Architecture](docs/architecture.md)
- [Testing and evidence](docs/testing-and-evidence.md)
- [Trust and conformance](docs/trust-and-conformance.md)
- [Contributing](CONTRIBUTING.md)
## Standards Conformance
Browse the [Safe Docx Conformance Explorer](https://usejunior.com/engineering/safe-docx/conformance) to navigate ECMA-376 sections, OOXML schema declarations, capability claims, explicit non-goals, and measured cross-implementation outcomes.
The generated [repository conformance report](spec-compliance/CONFORMANCE.md) remains the source-controlled record of targeted sections, non-goals, and verification references.
## What Safe Docx Is Not Optimized For
Safe Docx is not a visual editor or layout engine. It does not provide browser rendering, real-time collaboration, or pixel-level pagination guarantees. `.dotx` templates must be converted to `.docx` before use.
What people ask about safe-docx
What is UseJunior/safe-docx?
+
UseJunior/safe-docx is mcp servers for the Claude AI ecosystem. Safe DOCX suite: docx-primitives, docx-comparison, safe-docx MCP server It has 45 GitHub stars and its last recorded update is dated 2026-09-29.
How do I install safe-docx?
+
You can install safe-docx by cloning the repository (https://github.com/UseJunior/safe-docx) or following the README instructions on GitHub. ClaudeWave also provides quick install blocks on this page.
Is UseJunior/safe-docx safe to use?
+
Our security agent has analyzed UseJunior/safe-docx and assigned a Trust Score of 90/100 (tier: Verified). See the full breakdown of passed checks and flags on this page.
Who maintains UseJunior/safe-docx?
+
UseJunior/safe-docx is maintained by UseJunior. The last recorded GitHub activity is dated 2026-09-29, with 95 open issues.
Are there alternatives to safe-docx?
+
Yes. On ClaudeWave you can browse similar mcp servers at /categories/mcp, sorted by popularity or recent activity.
Deploy safe-docx to your cloud
Ship this repo to production in minutes. Each platform spins up its own environment with editable env vars.
Maintain this repo? Add a badge to your README
Drop the badge into your GitHub README to show it's tracked on ClaudeWave. Each badge links back to this page and reflects the live Trust Score.
[](https://claudewave.com/repo/usejunior-safe-docx)<a href="https://claudewave.com/repo/usejunior-safe-docx"><img src="https://claudewave.com/api/badge/usejunior-safe-docx" alt="Featured on ClaudeWave: UseJunior/safe-docx" width="320" height="64" /></a>More MCP Servers
Fair-code workflow automation platform with native AI capabilities. Combine visual building with custom code, self-host or cloud, 400+ integrations.
User-friendly AI Interface (Supports Ollama, OpenAI API, ...)
An open-source AI agent that brings the power of Gemini directly into your terminal.
Real-time global intelligence dashboard. AI-powered news aggregation, geopolitical monitoring, and infrastructure tracking in a unified situational awareness interface
🕷️ An adaptive Web Scraping framework that handles everything from a single request to a full-scale crawl! Don't be shy, join here: https://discord.gg/EMgGbDceNQ and follow here for daily tips and tricks: https://x.com/Scrapling_dev
The fastest path to AI-powered full stack observability, even for lean teams.