# Agent Spreadsheet MCP [Health: Active]

**Category:** 🏢 Workplace & Productivity  
**Repository:** https://github.com/PSU3D0/agent-spreadsheet  
**GitHub Stars:** 66  
**Views:** 2  
**Installs:** 0  
**Upvotes:** 0  
**Directory Page:** https://allmcps.com/mcp/agent-spreadsheet-mcp

## Description
Agent-safe Excel workbook analysis, editing, recalc, and verification tools.

## Claude Desktop Quick Installation
No generated config for this server: it installs through its own setup steps.

The project's own setup steps (from https://github.com/PSU3D0/agent-spreadsheet), copied verbatim. Follow them in order; they are not an mcpServers config.

1. Install:

```sh
curl -fsSL https://raw.githubusercontent.com/PSU3D0/agent-spreadsheet/main/install.sh | sh
```

2. Install:

```sh
curl -fsSL https://raw.githubusercontent.com/PSU3D0/agent-spreadsheet/main/install.sh | sh -s -- --mcp
```

3. Install:

```sh
cargo install agent-spreadsheet-mcp
```

4. Install:

```sh
docker pull ghcr.io/psu3d0/agent-spreadsheet-mcp:latest
```

5. Install:

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

## Documentation

## 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:

```bash
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.

_Full upstream README: https://allmcps.com/mcp/agent-spreadsheet-mcp/readme_

