AI-optimized DOCX manipulation engine: deterministic OOXML editing with tracked changes, hash-anchored addressing, and a token-efficient agent view.
Project description
docxengine
Deterministic OOXML editing with tracked changes, hash-anchored addressing, and a token-efficient agent view — exposed as an MCP server for AI agents. Editing the XML directly preserves tracked changes, comments, and footnotes that mainstream libraries drop.
pip install docxengine # or: uvx docxengine-mcp (zero-install run)
The file-first MCP server (docxengine-mcp): every tool takes a file path, and each edit is validated and saved back automatically — no handle to track, no save step.
docxengine-mcp # stdio
claude mcp add docx -- uvx docxengine-mcp # Claude Code
- MCP server: docs/mcp/server.md
- Tool reference: docs/tools/index.md
- Contract: spec/
- Layout:
src/docxengine/(package + server),tests/(pytest)
The public tool contract lives in spec/ and is validated against the conformance corpus.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file docxengine-1.0.0.tar.gz.
File metadata
- Download URL: docxengine-1.0.0.tar.gz
- Upload date:
- Size: 165.9 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.14.5
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
058cfc490a30bb023f5d0781f126c1ef403236a20c2c5647a72e925a9e6af844
|
|
| MD5 |
4c44c4aad24a95919c2cdae62e21805a
|
|
| BLAKE2b-256 |
5f3af631805a8002f18dc6eedeab29a0fa63fc015e0d516998e3add8665cb3d6
|
File details
Details for the file docxengine-1.0.0-py3-none-any.whl.
File metadata
- Download URL: docxengine-1.0.0-py3-none-any.whl
- Upload date:
- Size: 143.3 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.14.5
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
abad42400c82cd55d4c94189d5e218a3ac009efc65a045db1d32154cd528eeed
|
|
| MD5 |
ec137aa83280638c50a792ac38ce45de
|
|
| BLAKE2b-256 |
a774adf32d0fa0017e8472e2fd2176a92caf483aecd3bdecf956486b062f5f6b
|