Ask the ECMA-376 schema what is legal in a .docx, .xlsx or .pptx, offline.
Why this project? • Install • • •
接入你的智能体
發布者自己的指令。不是 PlugMCP 端點。
用我們的金鑰與日誌託管一份副本。
npx -y [email protected]Claude Code 沒有本機指令的安裝連結。複製下方指令並在終端機中執行。
claude mcp add mcp-server-ooxml -- npx -y mcp-server-ooxml@0.0.7在終端機中執行。
{ "mcpServers": { "mcp-server-ooxml": { "command": "npx", "args": [ "-y", "[email protected]" ] } }}claude_desktop_config.json
遠端 URL 還是本機指令? 兩種安裝方式的差異
來自發布者
Ask the ECMA-376 schema what is legal in a .docx, .xlsx or .pptx, offline.
Why this project? • Install • • •
MCP server and agent skill giving AI agents offline, structured access to the ECMA-376 (Office Open XML) schema
You ask your agent to change code that writes .docx, .xlsx or .pptx files.
It writes the XML, the tests pass, and then Word says the file has unreadable content.
Or Excel offers to repair it and drops half the sheet.
The agent guessed. Office files follow ECMA-376, a standard thousands of pages long, and the details that break a file are easy to get wrong from memory. Elements must appear in a fixed order. An attribute that works on one element doesn't exist on its neighbour. A value that looks reasonable isn't in the allowed list.
This project lets the agent look it up instead. Before it writes an element, it can ask:
Answers come from the standard itself and cover Word, Excel and PowerPoint files. Everything runs on your machine, with no account and no network calls. Install it as an MCP server, or as an agent skill for agents with a shell like Claude Code and Codex.
docs/what-it-answers.md lists exactly what it can answer, and where a naive reading of the schemas goes wrong.
Add it to your MCP client's config. The database ships inside the npm package, so there is nothing to download on first run.
{
"mcpServers": {
"ooxml": {
"command": "npx",
"args": ["-y", "mcp-server-ooxml"]
}
}
}
Install ooxml-lookup into your agent's skills directory:
npx skills add shbernal/ooxml-ai-tooling
The two return identical answers. Both are thin adapters over one shared core.
There is nothing to run yourself. Once installed, your agent looks things up when it is about to write Office XML. You can also point it there:
Add a first-line indent to the paragraphs in our
.docxexport. Check the schema before you write the XML. When Word or a validator rejects a file, paste the error and ask what would have been legal:
Word won't open this. The validator says
The 'bogus' attribute is not declaredat/w:document[1]/w:body[1]/w:p[1]/w:pPr[1]/w:ind[1].skill/SKILL.mdcovers the CLI andmcp/README.mdlists the MCP tools.
flowchart LR
xsd["51 ECMA-376 XSDs<br/>vendored, checksummed"] --> build["build/<br/>ingest"]
build --> db[("ooxml.db<br/>2.2 MB SQLite<br/>5,649 symbols")]
db --> core["core/<br/>zero runtime deps"]
core --> skill["ooxml-lookup<br/>agent skill"]
core --> mcp["mcp-server-ooxml<br/>stdio MCP server"]
schemas/PROVENANCE.md.node:sqlite, which is why the skill runs from a bare checkout.ooxml-validate answers "is this file valid?" by wrapping Microsoft's OpenXmlValidator.
This project answers "what is legal here?" and never opens your document.
The two meet at explain, which reads an ooxml-validate diagnostic and answers from the schema.
superdoc-dev/ooxml-dev is the closest existing project, and it is good prior art.
The difference is where it runs:
If your question is "what does the spec say about X", use ooxml.dev. If it is "what is structurally legal here", use this.
This project does not model what Word or Excel actually do. Implementations diverge from the standard, and it answers from the standard alone.
MCP server and agent skill giving AI agents offline, structured access to the ECMA-376 (Office Open XML) schema
{ "mcpServers": { "mcp-server-ooxml": { "command": "npx", "args": [ "-y", "[email protected]" ] } }}工具
尚無工具清單。遠端伺服器會在首次健康檢查後取得工具清單。
常見問題
在本頁複製適用於 Cursor、Claude Desktop、Claude Code 或 VS Code 的 stdio 設定。它使用發布者的安裝方式,而不是 PlugMCP 代理伺服器。
這筆記錄未列出必要的環境變數。
MCP Server Ooxml 透過 stdio 在本機執行。
上次檢查時間:2026-11-16。 MCP server and agent skill giving AI agents offline, structured access to the ECMA-376 (Office Open XML) schema