Reliable spreadsheets for AI agents.

A hosted MCP server and npm client that lets LLMs read, write, validate and analyze Excel files without losing structure. Hardened against malformed input. Free to start.

Get the Library npm i -g xlsx-for-ai

What it does

LLMs choke on real spreadsheets — merged cells get flattened, formulas read as stale cache, named ranges disappear, and pandas can't tell a header row from a data row. xlsx-for-ai exposes a tool surface designed for agents.

Read & describe

Parse any .xlsx into LLM-friendly text. Per-column type inference with confidence. Pandas-style describe, filter, aggregate.

Structure preserved

Named ranges, merged cells, formulas, data validations, and conditional formatting are first-class — not collapsed by a one-shot pandas read.

Cross-engine validation

Run a workbook through two independent engines and report divergences. Catches the corruption pandas silently masks.

Hardened by default

XXE blocking, zip-bomb caps, buffer limits, entity-expansion limits. Every file is sanitized before parsing.

Privacy-aware

Anonymous UUID registration — no email, no name. Per-request strict mode disables any error capture. Read the policy.

Works with Claude Code, Cursor, Gemini, ChatGPT, Grok, Cline

Standard MCP stdio. One install, one tool surface, works in every MCP-compatible host.

Free to start

The npm client auto-registers an anonymous client_id on first run. No signup form, no credit card. Paid plans below — annual subscriptions for commercial use and higher volumes.

Start free — 10,000 calls / month, 10 MB file cap, all 37 tools, anonymous registration. Non-commercial use.

Commercial use or higher volume? Pick a tier below.

Bronze

$29 / year

Commercial use, light volume.

  • 20,000 calls / month
  • Commercial-use license
  • Removes attribution
  • Per-request audit log
  • Email support

Subscribe →

Gold

$199 / year

Heavy automation.

  • 100,000 calls / month
  • Everything in Silver
  • SLA & private support channel

Subscribe →

Above 100,000 calls/month? Contact us for an enterprise plan.

Quick start

Install the npm client; it auto-registers an anonymous client_id on first use. No signup form.

npm install -g xlsx-for-ai
xlsx-for-ai path/to/workbook.xlsx

Or wire it as an MCP server in your agent config (Claude Desktop, Cursor, Cline, Claude Code):

{
  "mcpServers": {
    "xlsx-for-ai": { "command": "xlsx-for-ai", "args": ["--mcp"] }
  }
}

No install needed for one-off use:

npx xlsx-for-ai path/to/workbook.xlsx

Full docs and tool reference at the GitHub repository and the npm package page.

Contact

Questions, bug reports, sales, anything else — email support@xlsx-for-ai.dev.

We answer everything within two business days. For security disclosures, please use the same address with subject line beginning [security].