mcp-ooxml-ledger MCP Server
Edit Office documents and prove no edit went unrecorded
mcp-ooxml-ledger scores 27 (Limited), licensed MIT and written in Python. It installs as a local process. It does not declare tools yet. Filed under Finance. GitHub shows 0 stars. Install configs are generated for 10 clients. Being listed in the registry is not the same as being vendor-official.
Limited trust
27 of 100 from six public signals. Nobody can buy a point.
- OSI-style license: mit.
License, quality and maintenance
Quality: Grade C
65/100 for listing completeness. Lost points: no listed tools, short summary.
How quality is graded
Where the 27 comes from
0 + 6 + 0 + 10 + 4 + 7 = 27. Each factor is capped, so no single signal can carry a listing.
Active in the official MCP registry, plus a known vendor namespace.
Registry: 0 of 30 points.How recently the repository saw a commit or release.
Maintenance: 6 of 20 points.GitHub stars and weekly downloads, on a log scale.
Popularity: 0 of 20 points.A clear, OSI-style open-source license.
License: 10 of 10 points.Not archived, a secure install path, a pinned version.
Security: 4 of 10 points.A real summary, a README with depth, listed tools.
Docs: 7 of 10 points.Install
Pick your client, copy the config, paste it in.
Needs Cursor or VS Code installed on this device. The button opens the app and asks you to confirm before it adds the server.
{ "mcpServers": { "anselmoo-mcp-ooxml-ledger": { "command": "uvx", "args": [ "mcp-ooxml-ledger" ] } }}
Environment variables
This server does not declare environment variables.
Tools
All capabilitiesTools show up when the registry metadata or the repository README lists them. Public READMEs are read directly. A GitHub token is used only when one is already configured.
About
mcp-ooxml-ledger
An MCP server that edits Office documents and refuses to write one where an edit went unrecorded.
Before sealing a session it replays every recorded operation against the document's baseline and compares the result to what is actually on disk. A change no operation explains means the commit is refused. Of ~18 competing MCP document-editing projects, none gates the write on that check. The refusal is the product.
Setup
uv add mcp-ooxml-ledger
Add to .mcp.json (project) or claude_desktop_config.json (desktop — use an absolute path,
${CLAUDE_PROJECT_DIR} isn't expanded there):
{
"mcpServers": {
"ooxml-ledger": {
"command": "uv",
"args": ["run", "--project", "${CLAUDE_PROJECT_DIR}", "ooxml-ledger-mcp"],
"env": { "OOXML_LEDGER_ROOTS": "${CLAUDE_PROJECT_DIR}" }
}
}
}
Needs uv on PATH; nothing else installed globally. Invoking the ooxml-ledger-mcp script
directly gives ENOENT — it lives in the project venv, not your shell's PATH.
OOXML_LEDGER_ROOTSis the security boundary. Anos.pathsep-separated list; every path any tool receives is resolved inside it and refused outside. Unset, it defaults to the server's working directory — set it deliberately, sinceexport_receiptwrites anywhere inside a root.
Tools
| Tool | ||
|---|---|---|
| session | open_document · close_document | writes |
| read | describe_structure · find_text | read-only |
| edit | preview_edits · apply_edits · delete_paragraph · insert_paragraph | writes |
| seal | commit_document | writes · enforces the gate |
| stateless | server_info · digest · verify · list_receipts | read-only |
export_receipt | writes | |
| transfer | import_document | writes — into _inbox/ only |
export_document | read-only |
Typical loop:
open_document → find_text → preview_edits → apply_edits → commit_document → verify
sid = open_document(document="report.docx")["session_id"]
find_text(sid, query="Q3 revenue") # → part, para_id, para_hash
preview_edits(sid, edits=[...], author="alice") # → what WOULD happen; writes nothing
apply_edits(sid, edits=[...], author="alice", mode="tracked")
commit_document(sid) # → refuses if anything is unaccounted for
verify("report.docx") # → verified | unknown | failed
preview_edits runs the same engine function as apply_edits against a throwaway copy, so
the two cannot disagree. Batches are all-or-nothing: a failing edit leaves the document
byte-identical.
mode="tracked" emits Word revision marks a reviewer sees in the document. mode="direct"
rewrites the text with none — still fully recorded, and the receipt discloses that a direct
edit touched a revision-capable part, so it is never silently indistinguishable from an
ordinary save.
Chat and hosted clients
A file uploaded into a chat lives in the client's sandbox, not on the server's filesystem,
so open_document correctly refuses its path. Widening OOXML_LEDGER_ROOTS cannot reach it.
Send the bytes instead:
import_document → open_document → … → commit_document → export_document
p = import_document(name="report.docx", content_base64="UEsDB…")["path"] # → <root>/_inbox/report.docx
sid = open_document(document=p)["session_id"]
... # edit as usual
commit_document(sid) # → receipt schema ooxml-ledger/2
export_document(document=p) # → file + receipt as embedded resources
- Where it lands.
import_documenttakes a bare filename and writes_inbox/<name>under the first root. It never overwrites an existing file, and it validates the bytes as a real Office package before anything is published. - Large files. A model has to emit the base64 itself, so a single call carries far less
than the cap. Send chunks:
final=falsereturns anupload_id; continue with it andoffset(the bytes received so far); thefinal=truecall must carry thesha256of the whole file. A lost or repeated chunk is a refusal, never a different document. - Size cap.
OOXML_LEDGER_IMPORT_MAX_BYTESsets the largest document either tool accepts, in decoded bytes. The default is 25 MiB. - Provenance. An imported document's first bytes on this host came from a tool call, not
from the user's filesystem. Every receipt in that lineage is therefore sealed as
ooxml-ledger/2, with a chain-boundprovenanceblock (docs/superpowers/specs/receipt-format-v2.md).verifyprints it as aPROVENANCEline, and it never changes the verdict. Receipts for every other document stayooxml-ledger/1, byte-identical to before. - Getting it back.
export_documentreturns the file as an MCP embedded resource, with its Office media type and the receipt alongside. By default it refuses a document that no stored receipt matches, so an unsealed edit is never handed out; passrequire_receipt=falseto override.
Format matrix
| Format | Verify | Edit |
|---|---|---|
Word .docx | Yes | Yes — tracked + direct, paragraph insert/delete |
PowerPoint .pptx | Yes | Direct only — PresentationML has no revision model, so every edit carries a mandatory disclosure |
Excel .xlsx | Yes | No — editing verbs refuse, naming the format |
Verification, digests, the gate and the receipt model are format-agnostic. Only the editing
engines are format-specific: wml.py (Word) and pml.py (PowerPoint).
Read-only deployment
OOXML_LEDGER_READ_ONLY=1 leaves exactly server_info, digest, verify, list_receipts,
export_document.
The others aren't merely hidden — calling one answers Unknown tool. No write surface inside
the roots at all.
CLI
ooxml-ledger verify report.docx # exit 0 only when verified
No server, no session — digests the file, finds its receipt by content address, checks it. Wire it into CI or a pre-commit hook and an unaccounted-for change fails the build.
Desktop bundle (.mcpb)
Every GitHub Release attaches a .mcpb file — a one-click Claude Desktop install: drag it onto
the app and Desktop launches it with
uv run --directory <bundle> --frozen --no-dev ooxml-ledger-mcp.
Nothing is vendored — the bundle carries only manifest.json, pyproject.toml, uv.lock,
README.md, LICENSE and src/. The host needs uv on PATH, and the first launch
resolves the exact dependency versions uv.lock pins from PyPI, which needs network access;
--frozen means it installs precisely the versions the test suite ran against, never a fresh
resolve, and --no-dev keeps the dev group (pytest, ruff, pre-commit) out of the install. mcpb/manifest.json exposes the document root and read-only toggle as install-time
settings instead of environment variables; the tool list matches the stdio server's.
CI builds and smoke-tests the bundle on macos-latest only, and the manifest's
compatibility.platforms declares darwin only — the bundle is built and proven on
macOS/arm64, nothing else. Because nothing is vendored, uv itself picks a Python
satisfying requires-python = ">=3.13" and installs the wheels uv.lock pins for the host's
own platform — native ones such as pydantic-core and cryptography included. That part is not
darwin-specific, but only the darwin launch path has actually been proven end-to-end here.
Honest limits
- An unsigned receipt is accident-evident, not tamper-evident. It catches an agent falling back to a generic file write, an Office round-trip, a careless collaborator — not someone who rewrites the receipt alongside the document. Anchoring its hash somewhere the holder doesn't control (a git commit, a DOI, a submission portal) is what buys tamper-evidence.
- Imported provenance lives beside
_inbox/. The import record sits in the store next to the imported file. Moving that file out of_inbox/before its first commit drops the record, so the first receipt is written as v1. After a commit, the lineage travels with the receipts store. Provenance records what arrived, not that it matches the user's original upload: compare itssha256out of band if that matters. - A v0.3.0 verifier rejects
ooxml-ledger/2. This is by design. It cannot check the genesis rule, so refusing is better than silently accepting a chain it does not understand. verifynever replays. It checks the digest and the receipt's internal consistency; the replay runs once, at commit, andverifyreports that verdict rather than recomputing it.- pptx and xlsx have no human-visible record. Word tracked changes are a second recording layer inside the document; those two formats have none, so the ledger is the only record.
- The Word engine reaches paragraph text only (
w:p/w:r/w:t). Styles, numbering, settings and relationships are uneditable and covered by the accountability check alone.
Contributing and security
CONTRIBUTING.md covers setup, the branch and commit naming CI enforces, and the release flow. SECURITY.md covers private vulnerability reporting, and is explicit about which of this project's documented limits are design rather than defects.
MIT licensed. Design notes and specifications live in docs/superpowers/.
Frequently asked questions
What is mcp-ooxml-ledger MCP Server?
Edit Office documents and prove no edit went unrecorded
How do I install mcp-ooxml-ledger MCP Server in Claude Desktop, Cursor, or VS Code?
Pick your client in the Install section on this page and copy the generated config into the client's config file. Step-by-step guides: Claude Desktop, Cursor, and VS Code. mcp-ooxml-ledger MCP Server runs locally from the PyPI package mcp-ooxml-ledger with the command uvx mcp-ooxml-ledger.
Is mcp-ooxml-ledger MCP Server free and open source?
Yes. mcp-ooxml-ledger MCP Server is released under the MIT license, an OSI-approved open-source license, so you can use, modify, and self-host it under those terms.
Does mcp-ooxml-ledger MCP Server support remote (HTTP) connections?
No remote endpoint is listed for mcp-ooxml-ledger MCP Server. It runs locally on your machine over stdio, started by your MCP client.
How is mcp-ooxml-ledger MCP Server's trust score calculated?
mcp-ooxml-ledger MCP Server scores 27 out of 100 (Limited). The score adds six capped public signals: registry status, maintenance, popularity, license, documentation, and security. Nobody can pay for points. Read the methodology for the full formula.
Reviews
No reviews yet—Be the first to review
No published reviews yet. Used it? Tell the next person how it went.
Sign inA verified email is required to review this server.
Add badge to your README
Paste either snippet into the repository README. The image links to this listing.