Xlsx Audit MCP logo

Xlsx Audit MCP

Audit Excel workbooks: formula dependency tracing, circular references, risk smells. Local only.

Install Xlsx Audit MCP

Pick your client, then add it in one click or paste the config.

STDIONode.js
~/Library/Application Support/Claude/claude_desktop_config.json
claude_desktop_config.json
{
  "mcpServers": {
    "xlsx-audit-mcp": {
      "command": "npx",
      "args": [
        "-y",
        "xlsx-audit-mcp"
      ]
    }
  }
}

Settings → Developer → Edit Config, merge this into mcpServers, then fully quit and reopen Claude Desktop.

Automated check passed— started and listed 4 tools correctly ().

Overview

Tools4

What Xlsx Audit MCP lets your agent do. Expand a tool for its parameters.

Verified live~497 tokens of context

Security & health

What it can reach and how reliably it runs — from our own checks, not the maintainer’s claims.

ActiveLast checked

Recent health check succeeded.

17/17 checks healthy over the last 79d

What it can do

From the 4 tools this server returned when we ran it.

Read-only tools · 4
Network at startup3 connections
Files written at startupNone
Install scriptsNone
npm provenanceNot published
Package age64 days
Maintainers1

Observed 2026-10-18 in an isolated sandbox. A description of reach, not a security audit.

Supply-chain signal

No high-severity advisories surfaced by our automated scan.

Critical 0High 0Medium 0Low 0

Scanned 4d ago via OSV.dev · xlsx-audit-mcp (npm)

Adoption & maintenance

Factual signals from GitHub, npm, and our automated checks — not a rating.

npm downloads253Package downloads in the last 30 days.
Last commit1mo agoMost recent push to the default branch.
Availability100%Our rolling endpoint + install checks that succeeded.
Install checkPassedOur sandbox started it and listed its tools.
Tools exposed4Callable tools this server registers over MCP.
Directory activity2 viewsConfig copies, upvotes, and views on AllMCPs.

From the project README

xlsx-audit-mcp

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

Terminal
claude mcp add xlsx-audit -- npx -y xlsx-audit-mcp

Claude Desktop — add to claude_desktop_config.json:

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

ToolWhat it does
workbook_overviewSheets, dimensions, formula counts, defined names, external links
list_formulasFormulas with addresses and cached values, filterable (INDIRECT, VLOOKUP, ...)
trace_cellOne cell's formula, value, precedents, and dependents (direct + via ranges)
audit_workbookRanked risk report across the whole model

How it works

  • Reference tokenizer that understands real formulas: string literals are stripped first (the "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.
  • 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

Terminal
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

Reviews

No reviews yet — be the first to share how it worked for you.

Frequently Asked Questions about Xlsx Audit MCP

xlsx-audit-mcp is an MCP server that audits local Excel workbooks for formula dependencies, circular references, and model risk smells. It can trace precedents and dependents, including range consumers, and produce workbook-wide risk reports. It also surfaces volatile functions, embedded constants, external links, merged cells, and unusually long formulas without evaluating formulas.

Yes, xlsx-audit-mcp traces a cell’s formula, cached value, precedents, and dependents with the trace_cell tool. Dependent tracing includes cells that consume a referenced cell through ranges such as SUM(A1:A40), while shared formulas are materialized with translated relative references.

xlsx-audit-mcp reports circular references, volatile functions, hardcoded constants inside formulas, external workbook links, merged cells, and extra-long formulas. The audit_workbook tool provides a ranked risk report, while workbook_overview and list_formulas provide supporting workbook and formula details.

xlsx-audit-mcp does not evaluate formulas and uses cached values stored in the workbook instead. It operates on local files only, so workbook data does not leave your machine. R1C1 notation and structured table references are counted but not resolved into the dependency graph.

Run xlsx-audit-mcp with Claude Code by adding it as an MCP server using `claude mcp add xlsx-audit -- npx -y xlsx-audit-mcp`. After setup, you can ask Claude to audit a local workbook, such as `Audit C:\models\budget-2026.xlsx and tell me what looks fragile.`

Related MCP servers

Add a badge to your READMEShow it’s listed — live SVG, Markdown or HTML.

AllMCPs Directory Badge

Full Badge Customizer

Showcase your server listing on GitHub or your project documentation. Embed this dynamic SVG badge to highlight official listing status and live engagement.

Badge Style:
Live Dynamic SVG PreviewXlsx Audit MCP AllMCPs Directory Badge
Markdown (GitHub README)
[![AllMCPs](https://allmcps.com/api/badge/xlsx-audit-mcp?style=directory)](https://allmcps.com/mcp/xlsx-audit-mcp)
HTML Embed
<a href="https://allmcps.com/mcp/xlsx-audit-mcp"><img src="https://allmcps.com/api/badge/xlsx-audit-mcp?style=directory" alt="Xlsx Audit MCP on AllMCPs" /></a>