Stateful MCP server for safe, token-efficient Excel workbook analysis, editing, and recalculation with session caching and fork workflows.
Copy the AI prompt to install this server into Claude Code, Cursor, or another agent — or use 1-click editor setup below.
One-click editor setup isn’t available for this listing yet — we don’t have a confirmed install command, and we’d rather show nothing than point your editor at the wrong package or host. Follow the project’s own setup instructions, linked above.
Inspect callable tools, capabilities, and parameters exposed to AI agents by Spreadsheet MCP.
inspect_cellsdetail-view for up to 25 individual cells with full metadata (value, formula, style, number format)
layout_pagerender a sheet range with layout semantics (column widths, borders, merges) as JSON and optionally an ASCII grid
grid_exportexport a range as a rich grid payload with per-cell values, formulas, number formats, styles, column sizes, and merges
close_workbookevict a workbook from cache
execute_manifestexecute a SheetPort manifest with JSON inputs
verify_workbookcompare baseline/current workbook or fork ids and report target proof plus new/resolved/preexisting errors; the summary-first proof step after `recalculate`

agent-spreadsheet is the tool interaction service for agent-based spreadsheet usage.
It gives agents a safe, inspectable, token-efficient way to read, analyze, mutate, verify, and operationalize Excel workbooks without falling back to brittle UI automation.
If you want an agent to work with spreadsheets like a real system instead of a screenshot puppet, this is the stack.
agent-spreadsheet ships a unified spreadsheet interaction layer across three surfaces:
| Surface | Binary / Package | Mode | Best for |
|---|---|---|---|
| CLI | agent-spreadsheet / asp | Stateless files + resident sessions | One-shot pipelines or retained multi-turn workbook editing |
| MCP server | agent-spreadsheet-mcp | Stateful | Multi-turn agent sessions, workbook caching, fork/recalc workflows |
| TypeScript SDK | agent-spreadsheet-sdk | Library | App integrations — drives the server's canonical /v1 route, or runs fully in-process via the embedded WASM engine (no server required) |
The WASM build (agent-spreadsheet-wasm) is the SDK's local runtime, not a separate product surface: JS and TypeScript code targets one object model and the execution substrate (server vs embedded engine) is a configuration choice.
In 0.16 these surfaces share the resident Rust document/evaluator runtime and 32-operation registry. Explicit native sessions automatically start a private journal-backed host. SDK/WASM and genuine just-bash sessions retain their history in memory; XLSX export saves a document snapshot, not a restartable session journal. Warm edit/recalculate/read loops avoid XLSX serialization and repeated evaluator ingestion. See runtime guarantees and limits and the SDK/just-bash examples.
Supported workbook modes:
.xlsx / .xlsm — read + write.xls / .xlsb — discovery/read-oriented workflows onlyDefault in-process calculation uses Formualizer — a permissively licensed (MIT/Apache-2.0) spreadsheet engine written in Rust: formula parsing, dependency-graph recalculation, 400+ Excel functions, dynamic arrays, and deterministic evaluation built for agents. No Excel COM or headless LibreOffice is required. Optional LibreOffice integration remains available, but Formualizer is the release-critical backend.
That native engine is why this project can offer what most spreadsheet tooling for agents cannot: recalculate the actual workbook, trace which cells changed and why, and prove it — not just read cached values or push blind edits.
Embedding spreadsheet logic in your own product rather than driving workbooks as an agent? Use Formualizer directly (Rust, Python, JS/WASM).
The current surface is much stronger than a plain “read some cells” tool. Major capabilities now include:
asp as the primary CLI with agent-spreadsheet preserved as a compatibility aliasasp verify proof and asp verify diffwrite appendwrite clone-template-rowwrite clone-row-bandwrite name define|update|delete)write formulas replace)The installer downloads a prebuilt CLI to ~/.local/bin and creates the asp command. Pin a release with ASP_VERSION=0.16.0, set ASP_INSTALL_DIR to choose another destination, or pass --mcp to install the MCP server too:
This installs both asp (the primary command) and agent-spreadsheet (the compatibility alias) from a prebuilt native binary. No Rust toolchain is required.
This installs the prebuilt CLI in seconds.
This builds the CLI from source. Formualizer (the native Rust recalc engine) is included by default.
Download raw binaries and archives from GitHub Releases.
Published native assets include:
A representative label-mode lookup:
This is intentionally read-only. It surfaces shifted spans, absolute-reference warnings, token counts, and optional before/after formula samples.
And when you need proper history and branching:
Factual signals from GitHub, npm, and our automated checks — not a rating.
No reviews yet — be the first to share how this listing worked for you.
Showcase your server listing on GitHub or your project documentation. Embed this dynamic SVG badge to highlight official listing status and live engagement.
[](https://allmcps.com/mcp/psu3d0-spreadsheet-mcp)<a href="https://allmcps.com/mcp/psu3d0-spreadsheet-mcp"><img src="https://allmcps.com/api/badge/psu3d0-spreadsheet-mcp?style=directory" alt="Spreadsheet MCP on AllMCPs" /></a>