# Graph Excel

> Graph Excel is an open-source MCP server for files and documents. Read and edit Excel workbooks on SharePoint or OneDrive without overwriting others' edits. It runs locally on your machine and is started by your AI client.

- **Kind:** MCP server
- **Pricing:** Open source
- **Platforms:** CLI, API
- **Repository:** https://github.com/mickey-ichi/graph-excel-mcp
- **MCP Registry name:** io.github.mickey-ichi/graph-excel-mcp
- **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

Aimed at workbooks that several people change at once, this server talks to Microsoft Graph directly, with no browser involved. Every write starts as a dry run and only goes through when `send: true` is set. Before writing, it compares the target cells with the hash it returned when you read them, so a colleague's newer edit is not clobbered, and afterwards it reads the cells back to confirm the change.

Sign-in uses a device code against Microsoft's login page with the delegated `Files.ReadWrite.All` scope, and the refresh token is kept in `~/.graph-excel/token.json`. The README says the server has no backend of its own, collects no telemetry and contacts only Microsoft endpoints. It is written in TypeScript with no runtime dependencies and needs Node 18 or later.

Nothing in the toolset deletes sheets, rows or cells. Workbook aliases in a small JSON file let you refer to a SharePoint file by name instead of pasting its URL.

## Features

- **Verified writes:** Each write is base-checked against what you read and read back afterwards.
- **Dry run by default:** Changing tools only preview until you pass send: true.
- **Per-cell hashes:** read_range returns a sha256 hash for each cell so conflicts can be detected.
- **Append-style updates:** append_update adds a dated section under existing cell text and keeps the original bytes intact.
- **Formatting tools:** Set fills, fonts, wrapping, alignment and number formats across several ranges at once.
- **Workbook aliases:** Name frequently used workbooks in workbooks.json instead of pasting URLs.

## Good for

- Let an agent update a shared tracking sheet while teammates edit it
- Search every sheet of a workbook for a value or pattern
- Append rows to a log without touching existing ones
- Highlight rows by status with a batch fill
- Rename sheets or insert rows and confirm the data shifted intact

## Install

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

```sh
claude mcp add graph-excel-mcp -- npx -y graph-excel-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": {
    "graph-excel-mcp": {
      "command": "npx",
      "args": [
        "-y",
        "graph-excel-mcp"
      ]
    }
  }
}
```

### Claude Desktop (claude_desktop_config.json)

```json
{
  "mcpServers": {
    "graph-excel-mcp": {
      "command": "npx",
      "args": [
        "-y",
        "graph-excel-mcp"
      ]
    }
  }
}
```

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

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

```json
{
  "mcpServers": {
    "graph-excel-mcp": {
      "command": "npx",
      "args": [
        "-y",
        "graph-excel-mcp"
      ]
    }
  }
}
```

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

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

```json
{
  "mcpServers": {
    "graph-excel-mcp": {
      "type": "stdio",
      "command": "npx",
      "args": [
        "-y",
        "graph-excel-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 graph-excel-mcp -- npx -y graph-excel-mcp
```

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

```toml
[mcp_servers.graph-excel-mcp]
command = "npx"
args = ["-y", "graph-excel-mcp"]
```

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

```json
{
  "mcpServers": {
    "graph-excel-mcp": {
      "command": "npx",
      "args": [
        "-y",
        "graph-excel-mcp"
      ]
    }
  }
}
```

Or run: gemini mcp add -s user graph-excel-mcp npx -- -y graph-excel-mcp

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

```json
{
  "mcpServers": {
    "graph-excel-mcp": {
      "command": "npx",
      "args": [
        "-y",
        "graph-excel-mcp"
      ]
    }
  }
}
```

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

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

```json
{
  "mcpServers": {
    "graph-excel-mcp": {
      "command": "npx",
      "args": [
        "-y",
        "graph-excel-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": {
    "graph-excel-mcp": {
      "command": "npx",
      "args": [
        "-y",
        "graph-excel-mcp"
      ]
    }
  }
}
```

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

### Zed (Zed settings.json)

```json
{
  "context_servers": {
    "graph-excel-mcp": {
      "command": "npx",
      "args": [
        "-y",
        "graph-excel-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": {
    "graph-excel-mcp": {
      "command": "npx",
      "args": [
        "-y",
        "graph-excel-mcp"
      ]
    }
  }
}
```

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

```json
{
  "mcpServers": {
    "graph-excel-mcp": {
      "command": "npx",
      "args": [
        "-y",
        "graph-excel-mcp"
      ]
    }
  }
}
```

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

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

```json
{
  "mcpServers": {
    "graph-excel-mcp": {
      "command": "npx",
      "args": [
        "-y",
        "graph-excel-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": {
    "graph-excel-mcp": {
      "command": "npx",
      "args": [
        "-y",
        "graph-excel-mcp"
      ]
    }
  }
}
```

## Tools

From the tool list in its README, going by the names, 7 of 12 tools change data; 2 names don't say. From the server's own tool labels and tool names; not verified by us.

- `login_status` (name suggests: reads): Checks the token or starts a device code login.
- `resolve`: Returns drive and item ids, last modified time, and the sheets with their used ranges.
- `read_range` (name suggests: reads): Returns values plus a sha256 hash per cell, and fills on request.
- `write_values` (name suggests: changes): Writes blocks of values with a base check and read-back verification.
- `append_update` (name suggests: changes): Adds or replaces an update section under a cell's existing text and can fill the row.
- `set_fill` (name suggests: changes): Sets or clears fill color on one or more ranges in a batch.
- `find` (name suggests: reads): Searches cell text across sheets by substring or regex.
- `add_sheet` (name suggests: changes): Adds an empty sheet, optionally at a position.
- `rename_sheet` (name suggests: changes): Renames a sheet.
- `insert_rows` (name suggests: changes): Inserts empty rows above a row and verifies the shifted row.
- `append_rows`: Appends rows below the last used row into empty cells.
- `set_format` (name suggests: changes): Sets bold, italic, font color and size, wrap, alignment and number format.

## FAQ

### How do I sign in?

Call login_status or run `npx graph-excel-mcp login`, then enter the shown code at the Microsoft device login page. No app registration is needed, though a tenant that blocks user consent needs an admin to approve the client once.

### Can Graph Excel delete anything?

No. The README states that nothing deletes sheets, rows or cells.

### Where is my token stored?

In ~/.graph-excel/token.json with mode 600, or in the folder set by GRAPH_EXCEL_HOME.

### Is there a Claude Desktop option?

Yes. A .mcpb extension is attached to each GitHub release, and there is also a Claude plugin with a skill.

### Is Graph Excel free?

Yes. Graph Excel is open source, so you can use and self-host it for free.

### How do I add Graph Excel to Claude Code?

Run this command in your terminal: claude mcp add graph-excel-mcp -- npx -y graph-excel-mcp

### What are the best alternatives to Graph Excel?

The closest alternatives to Graph Excel 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/graph-excel
