Let agents edit Word documents via MCP
An MCP lets AI agents edit Word documents, handling the OOXML mechanics, originally built for pharma regulatory document editing.
Done with a custom-built or unnamed agent
- What they did
- The agent edits a clean HTML version of the Word file instead of raw OOXML. A small fine-tuned model (3–8B, LoRA) turns each changed block's HTML into OOXML. A deterministic locator finds the matching block, then tracked changes are computed by diffing and patched into the .docx. The post doesn't mention pharma.
- How it went
- On the vendor's own 279-task benchmark, it was 2.7–2.9x cheaper and 2.7–3.5x faster than Anthropic's DOCX skill, with a higher pass rate. Pass rate on hyperlinks was only 25%.
- Worth knowing
- The benchmark is the vendor's own. Comments, image attachment and latent styles aren't supported yet.
Try it yourself with Claude Cowork
Open the Word document at [file path] and make these edits: [describe the changes, e.g. update section 3 wording, fix numbering, and add tracked changes]. Keep the original formatting and use tracked changes so I can review everything. Save the result as a new copy rather than overwriting the original, and list every change you made.
Discussion on HN · Sep 28, 2026
Five of these in your inbox every morning
The best things people got an AI agent to do, each with the prompt to try it.
More like this
- GitHub Copilot
Run a solo company with eight agent departments
A founder set up CEO, CFO, COO, lawyer, accountant, marketing, CTO, and improver agents that share memory and consult each other.
Revise courses from student evaluation feedback
A professor had Claude Code summarize course-evaluation PDFs, filed themes as GitHub issues, and used agents to revise his security course and two others.
Reconcile bank statements with invoices
Cowork cleaned vendor names, categorized expenses, matched invoices to transactions, flagged missing ones, built an Excel file and renamed invoice files.
Turn Notion PRDs into scoped Linear tickets
Devin's docs describe reading a Notion PRD to create Linear tickets, producing implementation plans for a backlog, and posting customer health summaries to Slack.
- Custom agent
Contact job candidates for initial HR screening
A job seeker reports an AI agent calling and emailing them for a first HR screening.
Learn personal scripts from a tools folder
Claude Cowork read a folder of personal scripts for email, CRM, research and drafting, added them to memory, and carried the capabilities to a new interface.