Agent Spreadsheet MCP logo

Agent Spreadsheet MCP

Analyze, edit, recalculate, and verify Excel workbooks through an agent-oriented MCP service.

Install Agent Spreadsheet MCP

Run the project’s own setup commands, in order.

Setup steps from the project

Agent Spreadsheet MCP installs with its own steps rather than a config we can generate, so these are copied as-is. Follow them in order and run the commands in a terminal. Source: github.com

  1. 1. Install
    curl -fsSL https://raw.githubusercontent.com/PSU3D0/agent-spreadsheet/main/install.sh | sh
    
  2. 2. Install
    curl -fsSL https://raw.githubusercontent.com/PSU3D0/agent-spreadsheet/main/install.sh | sh -s -- --mcp
    
  3. 3. Install
    cargo install agent-spreadsheet-mcp
    
  4. 4. Install
    docker pull ghcr.io/psu3d0/agent-spreadsheet-mcp:latest
    
  5. 5. Install
    docker pull ghcr.io/psu3d0/agent-spreadsheet-mcp:latest-full
    

Overview

Agent Spreadsheet MCP MCP server gives agents structured access to Excel workbook analysis, editing, recalculation, and verification. It uses a stateful runtime for multi-turn sessions, workbook caching, and fork or recalculate workflows, with deterministic JSON contracts and compact output. Reach for it when an agent must inspect workbook structure, make controlled changes, and verify downstream results instead of relying on UI automation.

Use cases

  • Inspect workbook structure before reading targeted cells
  • Edit Excel inputs with dry-run and overwrite safeguards
  • Recalculate formulas and verify downstream results
  • Compare workbook changes with proofs and diffs

Key features

  • Stateful workbook sessions and caching
  • Excel cell, formula, layout, and region inspection
  • Controlled writes and structural editing helpers
  • Native formula recalculation with Formualizer
  • Verification proofs, diffs, and impact analysis

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.

22/22 checks healthy over the last 79d

Adoption & maintenance

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

GitHub stars66Stargazers on the source repository.
Last commitTodayMost recent push to the default branch.
Directory activity2 viewsConfig copies, upvotes, and views on AllMCPs.

How Agent Spreadsheet MCP works

What Agent Spreadsheet MCP MCP server does

Agent Spreadsheet MCP MCP server provides an agent-oriented interaction layer for Excel workbooks. It supports reading and analyzing workbook structure, making controlled edits, recalculating formulas, and checking the results of those changes. The supported workbook modes are .xlsx and .xlsm for reading and writing, while .xls and .xlsb are intended for discovery and read-focused work.

The service is designed around inspectable operations rather than screen interaction. Agents can examine sheets, regions, tables, named items, cell values, formulas, and layout. Editing features include cell writes, batch operations, named range management, formula-only replacement, row and row-band cloning, and append workflows. Structural analysis can identify reference impact before a mutation is applied.

How it works

The MCP surface is stateful and shares a resident Rust document and evaluator runtime with the project's other surfaces. That makes it suitable for multi-turn workbook tasks where an agent needs to retain an in-progress document, avoid repeated workbook ingestion, or branch and compare edits. Explicit native sessions use a private journal-backed host; SDK/WASM and genuine just-bash sessions keep history in memory.

Formula evaluation uses Formualizer by default. The engine handles formula parsing, dependency-graph recalculation, more than 400 Excel functions, dynamic arrays, and deterministic evaluation. LibreOffice integration is available as an option, but the native Formualizer backend is the release-critical calculation path.

A typical workflow starts with workbook orientation, continues with targeted reads or a dry-run edit, and ends with recalculation plus proof or diff checks. Verification can compare source and edited workbooks, report changed cells, inspect named ranges, and expose formula or structural effects. XLSX export saves a document snapshot; it does not preserve a restartable session journal.

Setup and configuration

Install the MCP package from Cargo:

bash
cargo install agent-spreadsheet-mcp

Docker images are also published. The standard image is described as read-only and slim, while the -full image adds writing, recalculation, and screenshots:

Terminal
docker pull ghcr.io/psu3d0/agent-spreadsheet-mcp:latest
docker pull ghcr.io/psu3d0/agent-spreadsheet-mcp:latest-full

The repository also offers a CLI and TypeScript SDK, but those are separate surfaces from the MCP server.

Tools and capabilities

Agent Spreadsheet MCP MCP server supports the following capability groups:

  • Workbook and sheet discovery, including overviews, tables, named items, and regions.
  • Exact cell, value, formula, and layout inspection with bounded exports.
  • Safe writes, batch transformations, append helpers, and template-row or row-band cloning.
  • Named range create, update, and delete operations.
  • Formula replacement with parsing diagnostics.
  • Recalculation, verification proofs, change diffs, and structural reference-impact analysis.
  • Event-sourced session actions including logs, branches, undo/redo, forks, apply, and materialization.
  • SheetPort manifest lifecycle and execution for contract-driven spreadsheet automation.

Operations return machine-readable results with schemas, examples, pagination, compact output modes, warnings, and error envelopes according to the project's agent-oriented design.

Limitations and notes

This tool is for Excel workbook workflows, not general spreadsheet UI automation. Read/write support is documented for .xlsx and .xlsm; .xls and .xlsb are limited to discovery and reading. Native Windows binaries are not shipped for version 0.16, whose release validation targets Linux and macOS. An exported XLSX file contains the current document snapshot rather than a recoverable session journal.

Written by AllMCPs with AI assistance from the project’s README and listing data. How we build listings

Reviews

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

Frequently Asked Questions about Agent Spreadsheet MCP

Agent Spreadsheet MCP is an MCP server that connects AI agents to Excel workbooks for structured inspection and controlled changes. Its main tools cover workbook analysis, cell and formula editing, recalculation, session workflows, and verification through proofs, diffs, and structural impact checks across supported XLSX and XLSM files.

Install it with Cargo using `cargo install agent-spreadsheet-mcp`. Docker images are also available through GHCR, including a slim read-only image and a full image that supports writing, recalculation, and screenshots.

Yes, it can recalculate supported workbooks using Formualizer by default. The native engine provides formula parsing, dependency-graph recalculation, more than 400 Excel functions, dynamic arrays, and deterministic evaluation; optional LibreOffice integration is also available.

It supports reading and writing `.xlsx` and `.xlsm` files. `.xls` and `.xlsb` files are limited to discovery and read-oriented workflows, so they are not documented as writable formats.

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 PreviewAgent Spreadsheet MCP AllMCPs Directory Badge
Markdown (GitHub README)
[![AllMCPs](https://allmcps.com/api/badge/agent-spreadsheet-mcp?style=directory)](https://allmcps.com/mcp/agent-spreadsheet-mcp)
HTML Embed
<a href="https://allmcps.com/mcp/agent-spreadsheet-mcp"><img src="https://allmcps.com/api/badge/agent-spreadsheet-mcp?style=directory" alt="Agent Spreadsheet MCP on AllMCPs" /></a>