Audit Excel workbooks: formula dependency tracing, circular references, risk smells. Local only.
An MCP server that audits Excel workbooks. Other Excel MCP servers read and write your data — this one reviews your model:
SUM(A1:A40)INDIRECT, OFFSET, NOW, RAND...), hardcoded constants buried inside formulas, external workbook links, merged cells, extra-long formulasSpreadsheet mistakes are famously expensive. This is the "trace precedents" discipline auditors apply by hand, exposed to an LLM for a whole workbook at once. Local files only; nothing leaves your machine.
Claude Code
claude mcp add xlsx-audit -- npx -y xlsx-audit-mcp
Claude Desktop — add to claude_desktop_config.json:
{
"mcpServers": {
"xlsx-audit": {
"command": "npx",
"args": ["-y", "xlsx-audit-mcp"]
}
}
}
Then: "Audit C:\models\budget-2026.xlsx and tell me what looks fragile."
| Tool | What it does |
|---|---|
workbook_overview | Sheets, dimensions, formula counts, defined names, external links |
list_formulas | Formulas with addresses and cached values, filterable (INDIRECT, VLOOKUP, ...) |
trace_cell | One cell's formula, value, precedents, and dependents (direct + via ranges) |
audit_workbook | Ranked risk report across the whole model |
"A1" in INDIRECT("A1") is not a reference), function names can't collide (the G10 in LOG10(...) is not a cell), $ absolutes, quoted sheet names ('My Data'!A1), and ranges are handled.SUM(A:A) can't explode the graph; capped ranges are reported, not silently dropped).Known limitations: R1C1 notation and structured table references ([@Column]) are counted but not resolved into the graph.
npm install
npm test # offline tests — synthetic workbooks built in-suite
npm run build # tsc → dist/
node scripts/smoke.mjs # end-to-end: generates a workbook, drives the server over stdio
Architecture: src/xlsx.ts (zip + XML → workbook model) and src/formulas.ts (tokenizer, graph, smells) are pure logic; src/index.ts is the MCP wiring.
MIT
Source-derived launch command. Check the maintainer’s required arguments and credentials before running:
npx -y xlsx-audit-mcpMerge this template into ~/Library/Application Support/Claude/claude_desktop_config.json. Keep existing servers. Add any arguments, credentials, and permissions required by the maintainer; this template has not been install-tested.
{
"mcpServers": {
"io-github-arose26-xlsx-audit-mcp": {
"command": "npx",
"args": [
"-y",
"xlsx-audit-mcp"
]
}
}
}Restart Claude Desktop completely for changes to take effect. Confirm the server appears connected in the client’s tool list, then try a read-only example from its documentation.
Claude Desktop setup referencexlsx-audit-mcpnpmio.github.arose26/xlsx-audit-mcp works with any MCP-compatible client. Copy the config snippet from the Configuration section above and add it to the file shown for your client, then restart the application.
~/Library/Application Support/Claude/claude_desktop_config.jsonRestart Claude Desktop completely for changes to take effect.~/.cursor/mcp.jsonRestart Cursor for changes to take effect..vscode/mcp.jsonReload VS Code window for changes to take effect.~/.codeium/windsurf/mcp_config.jsonRestart Windsurf for changes to take effect..mcp.jsonSave at the project root, then start Claude Code in that project and review the MCP server approval prompt. Keep real credentials out of shared files.