Xlsx Audit
FreeNot checkedAudits Excel workbooks by tracing cell dependencies and detecting circular references, volatile functions, and other formula risks, enabling natural-language au
About
Audits Excel workbooks by tracing cell dependencies and detecting circular references, volatile functions, and other formula risks, enabling natural-language audit queries on local files.
README
An MCP server that audits Excel workbooks. Other Excel MCP servers read and write your data — this one reviews your model:
- "What feeds the Total cell on the Summary sheet?" — precedent tracing
- "If I change this assumption, what breaks?" — dependent tracing, including cells that consume it through ranges like
SUM(A1:A40) - "Audit this workbook" — circular references with example chains, volatile functions (
INDIRECT,OFFSET,NOW,RAND...), hardcoded constants buried inside formulas, external workbook links, merged cells, extra-long formulas
Spreadsheet 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.
Quick start
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."
Tools
| 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 |
How it works
- Reference tokenizer that understands real formulas: string literals are stripped first (the
"A1"inINDIRECT("A1")is not a reference), function names can't collide (theG10inLOG10(...)is not a cell),$absolutes, quoted sheet names ('My Data'!A1), and ranges are handled. - Shared formulas are materialized. Excel stores filled formulas once with an offset scheme; the loader translates them per-cell (relative refs shifted, absolutes preserved), so dependency queries see what each cell actually computes.
- Ranges are never expanded for storage — dependents queries use range-containment tests, and cycle detection caps range fan-out (a
SUM(A:A)can't explode the graph; capped ranges are reported, not silently dropped). - No formula evaluation. Cached values from the file are shown instead — no spreadsheet engine dependency.
Known limitations: R1C1 notation and structured table references ([@Column]) are counted but not resolved into the graph.
Development
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.
License
MIT
Installing Xlsx Audit
This server has no published package — it is built from source. Open the repository and follow its README.
▸ github.com/arose26/xlsx-audit-mcpFAQ
Is Xlsx Audit MCP free?
Yes, Xlsx Audit MCP is free — one-click install via Unyly at no cost.
Does Xlsx Audit need an API key?
No, Xlsx Audit runs without API keys or environment variables.
Is Xlsx Audit hosted or self-hosted?
Self-hosted: the server runs locally on your machine via the install command above.
How do I install Xlsx Audit in Claude Desktop, Claude Code or Cursor?
Open Xlsx Audit on unyly.org, pick your client tab (Claude Desktop, Claude Code, Cursor) and press Install — the config is generated automatically, no JSON editing.
Related MCPs
GitHub
PRs, issues, code search, CI status
by GitHubFilesystem
Secure file operations with configurable access controls.
Memory
Knowledge graph-based persistent memory system.
Template MCP Server
A CLI tool to create a new Model Context Protocol server project with TypeScript support, dual transport options, and an extensible structure
by mcpdotdirectAmap Maps Mcp Server
MCP server for using the AMap Maps API
by duxiaohuiSupabase
Database, auth and storage
by SupabaseEverything
Reference / test server with prompts, resources, and tools.
Git
Tools to read, search, and manipulate Git repositories.
Sequential Thinking
Dynamic and reflective problem-solving through thought sequences.
Time
Time and timezone conversion capabilities.
Compare Xlsx Audit with
Not sure what to pick?
Find your stack in 60 seconds
Author?
Embed badge for your README
Browse similar
All development MCPs
