Skip to content
MCP server

Graph Excel

Read and edit Excel workbooks on SharePoint or OneDrive without overwriting others' edits

Runs locally

Graph Excel is an open-source MCP server for files and documents. It runs locally on your machine and is started by your AI client.

Pricing
Open source
Platforms
CLI, API
Runs
Locally
What it can do
Can change data (7 tools)
Version
0.5.2

Similar MCP servers

Install

Add with the CLI

Run in a terminal

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.

Or share it with your project

Add to .mcp.json

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

Claude Code setup guide

Add to claude_desktop_config.json

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

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

Claude Desktop setup guide

Install in CursorOpens Cursor, which asks you to confirm. Or add it by hand:

Add to ~/.cursor/mcp.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.

Cursor setup guide

Install in VS CodeOpens VS Code, which asks you to confirm. Or add it by hand:

Add to ~/.copilot/mcp-config.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.

VS Code setup guide

Add with the CLI

Run in a terminal

codex mcp add graph-excel-mcp -- npx -y graph-excel-mcp

Or add to config.toml

Add to ~/.codex/config.toml

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

Codex setup guide

Add to your client's MCP settings (most use this shape)

{
  "mcpServers": {
    "graph-excel-mcp": {
      "command": "npx",
      "args": [
        "-y",
        "graph-excel-mcp"
      ]
    }
  }
}
  • Gemini CLI and Antigravity

    Gemini CLI

    Add to ~/.gemini/settings.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

    Antigravity

    Add to ~/.gemini/config/mcp_config.json

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

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

    Gemini CLI and Antigravity setup guide

  • Devin Desktop (formerly Windsurf)

    Add to ~/.config/devin/mcp_config.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.

    Devin Desktop setup guide

  • Cline

    Add to cline_mcp_settings.json

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

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

    Cline setup guide

  • Zed

    Add to Zed settings.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.

    Zed setup guide

  • JetBrains AI Assistant and Junie

    AI Assistant

    Add to Settings → Tools → AI Assistant → Model Context Protocol (MCP) → Add

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

    Junie

    Add to ~/.junie/mcp/mcp.json

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

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

    JetBrains AI Assistant and Junie setup guide

  • Kiro

    Add to ~/.kiro/settings/mcp.json

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

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

    Kiro setup guide

Using several servers? Build one config file with the MCP config generator.

Configuration

  • GRAPH_EXCEL_HOMEFolder for token.json and workbooks.json. Default: ~/.graph-excel

About Graph Excel

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.

Tools this server provides (12)

Taken from the project documentation; the running server may differ.

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_statusName 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_rangeName suggests: reads
Returns values plus a sha256 hash per cell, and fills on request.
write_valuesName suggests: changes
Writes blocks of values with a base check and read-back verification.
append_updateName suggests: changes
Adds or replaces an update section under a cell's existing text and can fill the row.
set_fillName suggests: changes
Sets or clears fill color on one or more ranges in a batch.
findName suggests: reads
Searches cell text across sheets by substring or regex.
add_sheetName suggests: changes
Adds an empty sheet, optionally at a position.
rename_sheetName suggests: changes
Renames a sheet.
insert_rowsName 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_formatName suggests: changes
Sets bold, italic, font color and size, wrap, alignment and number format.

What it does

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

Pricing

Open source

MIT licensed

More servers for the same service

Graph Excel 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.

How AIPoweredBot checks servers