Skip to main content
Glama

Safe Docx

Edit Word and OpenDocument files with coding agents.

CI codecov npm version License: Apache 2.0 GitHub last commit GitHub issues closed

English · Español · 简体中文 · Português · Deutsch

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:

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.

Related MCP server: DOCX MCP Server

Comparisons

Install

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

See Installation and verification for locating the executable, pinning a version, and configuring clients.

Documentation

Standards Conformance

See the generated ECMA-376 conformance report for targeted sections, explicit 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.

Install Server
A
license - permissive license
A
quality
B
maintenance

Maintenance

Maintainers
6dResponse time
5dRelease cycle
26Releases (12mo)
Commit activity
Issues opened vs closed

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/UseJunior/safe-docx'

If you have feedback or need assistance with the MCP directory API, please join our Discord server