WordCraft is an open source Word alternative written in Rust with a built in MCP server, letting AI agents read, edit, and generate .docx documents.
By Meng Li
Published: 2026-10-16
URL: https://pythonlibraries.substack.com/p/rewriting-word-in-rust-with-the-mcp
Last week I came across a Hacker News post with a one-word title: WordCraft. I clicked in, and wow: someone actually wants to rewrite Microsoft Word from scratch in Rust.
Word has been around for over thirty years, since Word 1.0 in the ‘90s. How much inherited C++ code sits behind that Ribbon toolbar?
Open-source alternatives exist, LibreOffice being one, but that’s also a decades-old codebase, and changing it feels like wading through a swamp.
But the more of the README I read, the less it felt like a toy project.
It describes itself as a clean-room reimplementation, meaning it doesn’t look at Microsoft’s source code and rebuilds everything from public specifications. It reads .docx, writes .docx, and covers tables, styles, track changes, citations, and mail merge, without leaving anything out.
Even bolder, it claims that re-laying out a 188-page document takes only 1.4 milliseconds.
What really got me out of my seat was this line: Built for agents.
Every operation is turned into a command. There are 422 commands, and the same command set serves Ribbon buttons, keyboard shortcuts, the command-line tool, and an MCP server.