# Sheetxl

> Sheetxl is an MCP server for files and documents. Spreadsheet engine that lets agents read, query, build and verify .xlsx and .csv files. It runs locally on your machine and is started by your AI client.

- **Kind:** MCP server
- **Platforms:** CLI, VS Code, Web
- **Repository:** https://github.com/sheetxl/sheetxl
- **MCP Registry name:** io.github.sheetxl/sheetxl
- **Categories:** [files and documents](https://ai-powered.com/categories/files-and-documents), [productivity](https://ai-powered.com/categories/productivity)
- **Listing updated:** 2026-11-23

## About

The key idea is that the agent does not guess what Excel would calculate: it runs a real engine and reads the result back. The README says the engine implements 545+ Excel functions including dynamic arrays and LAMBDA, and that every write is recalculated and checked. It reports 97% on the SpreadsheetBench Verified-400 set against 14 to 29% for agents reading files with Python, figures that come from the project's own submission.

For agents it adds sessions, a commit for each change, undo and an action log, and runs on your machine so workbooks are not uploaded. The same engine also ships as a React spreadsheet component, a headless Node library and a CLI. A VS Code extension shows the grid beside the agent, and plugins exist for Claude Code, Codex and Cursor.

The MCP server runs over stdio with npx -y @sheetxl/mcp. The README has a separate license and pricing section for the wider product that is not reproduced here.

## Features

- **Excel-compatible engine:** 545+ functions, including dynamic arrays, LAMBDA, financial and statistical functions.
- **Verified writes:** Every change is recalculated by the engine and read back.
- **Sessions and undo:** Sandbox sessions, a commit per change, undo and an audit log of agent actions.
- **VS Code grid:** An extension shows the workbook beside the agent so a person stays in the loop.
- **CLI and library:** The same engine is available from a shell, from Node and as a React component.
- **Local by design:** Workbooks stay on your machine; there is no upload step.

## Good for

- Have an agent answer questions about a financial model
- Build or fix formulas in a workbook and check the result
- Audit an agent's edits to a spreadsheet and undo them
- Run spreadsheet calculations in a backend without Excel

## Install

### Claude Code: Add with the CLI (Terminal)

```sh
claude mcp add sheetxl -- npx -y @sheetxl/mcp
```

Add --scope user to use it in every project, or --scope project to share it in .mcp.json.

### Claude Code: Or share it with your project (.mcp.json)

```json
{
  "mcpServers": {
    "sheetxl": {
      "command": "npx",
      "args": [
        "-y",
        "@sheetxl/mcp"
      ]
    }
  }
}
```

### Claude Desktop (claude_desktop_config.json)

```json
{
  "mcpServers": {
    "sheetxl": {
      "command": "npx",
      "args": [
        "-y",
        "@sheetxl/mcp"
      ]
    }
  }
}
```

Settings → Developer → Edit Config, then quit and reopen Claude Desktop.

### Cursor (~/.cursor/mcp.json)

```json
{
  "mcpServers": {
    "sheetxl": {
      "command": "npx",
      "args": [
        "-y",
        "@sheetxl/mcp"
      ]
    }
  }
}
```

Use .cursor/mcp.json in a project to share it with the project.

### VS Code (~/.copilot/mcp-config.json)

```json
{
  "mcpServers": {
    "sheetxl": {
      "type": "stdio",
      "command": "npx",
      "args": [
        "-y",
        "@sheetxl/mcp"
      ]
    }
  }
}
```

Or put the same entry in .mcp.json at your workspace root to share it.

### Codex: Add with the CLI (Terminal)

```sh
codex mcp add sheetxl -- npx -y @sheetxl/mcp
```

### Codex: Or add to config.toml (~/.codex/config.toml)

```toml
[mcp_servers.sheetxl]
command = "npx"
args = ["-y", "@sheetxl/mcp"]
```

### Gemini CLI and Antigravity: Gemini CLI (~/.gemini/settings.json)

```json
{
  "mcpServers": {
    "sheetxl": {
      "command": "npx",
      "args": [
        "-y",
        "@sheetxl/mcp"
      ]
    }
  }
}
```

Or run: gemini mcp add -s user sheetxl npx -- -y @sheetxl/mcp

### Gemini CLI and Antigravity: Antigravity (~/.gemini/config/mcp_config.json)

```json
{
  "mcpServers": {
    "sheetxl": {
      "command": "npx",
      "args": [
        "-y",
        "@sheetxl/mcp"
      ]
    }
  }
}
```

Use .agents/mcp_config.json to add it to one workspace only.

### Devin Desktop (~/.config/devin/mcp_config.json)

```json
{
  "mcpServers": {
    "sheetxl": {
      "command": "npx",
      "args": [
        "-y",
        "@sheetxl/mcp"
      ]
    }
  }
}
```

On Windows the file is %APPDATA%\\devin\\mcp_config.json. Use .devin/mcp_config.json to share it with a project.

### Cline (cline_mcp_settings.json)

```json
{
  "mcpServers": {
    "sheetxl": {
      "command": "npx",
      "args": [
        "-y",
        "@sheetxl/mcp"
      ]
    }
  }
}
```

Open it from the MCP Servers icon → Configure → Configure MCP Servers.

### Zed (Zed settings.json)

```json
{
  "context_servers": {
    "sheetxl": {
      "command": "npx",
      "args": [
        "-y",
        "@sheetxl/mcp"
      ]
    }
  }
}
```

Open it with zed: open settings file. Merge context_servers into the settings you already have.

### JetBrains AI Assistant and Junie: AI Assistant (Settings → Tools → AI Assistant → Model Context Protocol (MCP) → Add)

```json
{
  "mcpServers": {
    "sheetxl": {
      "command": "npx",
      "args": [
        "-y",
        "@sheetxl/mcp"
      ]
    }
  }
}
```

### JetBrains AI Assistant and Junie: Junie (~/.junie/mcp/mcp.json)

```json
{
  "mcpServers": {
    "sheetxl": {
      "command": "npx",
      "args": [
        "-y",
        "@sheetxl/mcp"
      ]
    }
  }
}
```

Use .junie/mcp/mcp.json to share it with a project.

### Kiro (~/.kiro/settings/mcp.json)

```json
{
  "mcpServers": {
    "sheetxl": {
      "command": "npx",
      "args": [
        "-y",
        "@sheetxl/mcp"
      ]
    }
  }
}
```

Use .kiro/settings/mcp.json to add it to one workspace only.

### Other clients (your client's MCP settings (most use this shape))

```json
{
  "mcpServers": {
    "sheetxl": {
      "command": "npx",
      "args": [
        "-y",
        "@sheetxl/mcp"
      ]
    }
  }
}
```

## FAQ

### Does my file leave my machine?

The README says no: the engine runs locally with no upload or SaaS in the loop.

### Which clients work?

Claude Code, Codex, Cursor and VS Code have plugins; any MCP client can run npx -y @sheetxl/mcp.

### Which file types?

The registry entry names .xlsx and .csv.

### Does Sheetxl use its own AI model?

No. The README says to bring your own subscription and that SheetXL does not mark up tokens.

### How do I add Sheetxl to Claude Code?

Run this command in your terminal: claude mcp add sheetxl -- npx -y @sheetxl/mcp

### What are the best alternatives to Sheetxl?

The closest alternatives to Sheetxl are Ha MCP, Concord MCP, Open Sunsama, Scholar Sidekick and Dayfile.app.

## Where this comes from

- Description: written from the project's README.
- Install steps: from the official MCP Registry entry.

## Alternatives

- [Ha MCP](https://ai-powered.com/mcp/ha-mcp): Ha MCP is an open-source MCP server for productivity.
- [Concord MCP](https://ai-powered.com/mcp/concord-mcp): Concord MCP is a freemium MCP server for developer tools.
- [Open Sunsama](https://ai-powered.com/mcp/open-sunsama): Open Sunsama is an open-source MCP server for productivity.
- [Scholar Sidekick](https://ai-powered.com/mcp/scholar-sidekick): Scholar Sidekick is a freemium MCP server for education and exams.
- [Dayfile.app](https://ai-powered.com/mcp/dayfile-app): Dayfile.app is an open-source MCP server for productivity.
- [Stashpad](https://ai-powered.com/mcp/stashpad): Stashpad is an open-source MCP server for files and documents.
- [loremfile](https://ai-powered.com/mcp/loremfile): loremfile is a free MCP server for developer tools.
- [note1](https://ai-powered.com/mcp/note1): note1 is an MCP server for productivity.

---
Source: https://ai-powered.com/mcp/sheetxl
