Ask the ECMA-376 schema what is legal in a .docx, .xlsx or .pptx, offline.
Why this project? • Install • • •
Усильте агента
Собственная команда издателя. Не эндпоинт PlugMCP.
Host a copy with our keys and logs.
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 или команда на вашем компьютере? Чем различаются два способа установки
Запустить на PlugMCP
A new server you create. It is not this listing's official endpoint. Use the publisher install when you want their URL and their credentials.
ЗапускОт издателя
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]" ] } }}Инструменты
Списка инструментов пока нет. У удалённых серверов он появляется после первой проверки состояния.
FAQ
Скопируйте на этой странице конфигурацию stdio для Cursor, Claude Desktop, Claude Code или VS Code. Она использует установку издателя, а не прокси PlugMCP.
В этой записи не указано обязательных переменных окружения.
MCP Server Ooxml работает локально через stdio.
Последняя проверка: 2026-11-15. MCP server and agent skill giving AI agents offline, structured access to the ECMA-376 (Office Open XML) schema