Graph Excel MCP
MCP server by mickey-ichi Verified · npm:graph-excel-mcp
Reads and edits Excel workbooks on SharePoint, OneDrive or Teams through Microsoft Graph. Writes start as dry runs, check cells against the version read, and are read back to confirm. Built for workbooks that several people edit at once.
Install Graph Excel MCP
Built from the published package, never by AI.
claude mcp add graph-excel-mcp -- npx -y graph-excel-mcpRun in your terminal. Add --scope user to use it in every project.
{
"mcpServers": {
"graph-excel-mcp": {
"args": [
"-y",
"graph-excel-mcp"
],
"command": "npx"
}
}
}Settings, Developer, Edit config. Paste into claude_desktop_config.json and restart.
{
"mcpServers": {
"graph-excel-mcp": {
"args": [
"-y",
"graph-excel-mcp"
],
"command": "npx"
}
}
}Add to ~/.cursor/mcp.json (all projects) or .cursor/mcp.json (this project).
{
"servers": {
"graph-excel-mcp": {
"args": [
"-y",
"graph-excel-mcp"
],
"command": "npx"
}
}
}Add to .vscode/mcp.json. VS Code uses "servers", not "mcpServers".
codex mcp add graph-excel-mcp -- npx -y graph-excel-mcp{
"mcpServers": {
"graph-excel-mcp": {
"args": [
"-y",
"graph-excel-mcp"
],
"command": "npx"
}
}
}Add to ~/.gemini/config/mcp_config.json (all projects) or .agents/mcp_config.json (this project).
gemini mcp add graph-excel-mcp npx -y graph-excel-mcpGemini CLI was replaced by Antigravity CLI in June 2026 and remains only for enterprise licences and paid API keys.
MCP servers run with your permissions and can read what you give them access to. Some need an API key: check the README and add it under env in the graph-excel-mcp block.
About
graph-excel-mcp is an MCP server for reading and editing Excel workbooks on SharePoint, OneDrive or Teams through Microsoft Graph, without a browser. It is written in TypeScript, has no runtime dependencies and runs on Node 18 or later. It gives the assistant tools to resolve workbooks, read ranges, write values, search cells, manage sheets and rows, and set fills and formats.
It is built for workbooks that several people edit at once. Every write starts as a dry run and is only sent with send: true. Before writing, it checks the cells against the version you read, and after writing it reads the cells back to confirm the change. Sign-in uses a device code, and the refresh token is stored on your computer with mode 600.
Written from the project's README and checked against it.
Tools it gives your assistant
login_statusChecks the token, or starts a device code login.resolveReturns drive and item ids, last modified time, and sheets with their used ranges.read_rangeReturns values plus a sha256 hash per cell, and fills on request.write_valuesWrites blocks of values with a base check and read-back verification.append_updateAdds or replaces an update section under a cell's existing text, keeping the original part unchanged.set_fillSets or clears the fill color of one or more ranges in a single batch.findSearches cell text across all sheets or one sheet, by substring or regex.add_sheetAdds an empty sheet, optionally at a position, with no duplicate names.insert_rowsInserts empty rows above a row and verifies the shifted row moved intact.append_rowsAppends rows below the last used row, only into cells that are still empty.
What you need
- Node.js 18 or later
- A Microsoft account with access to the workbook
- Delegated Files.ReadWrite.All permission, admin approval if user consent is blocked
- An MCP host such as Claude Code or Claude Desktop
Try asking
- Find every cell that mentions 'overdue' in my tracker workbook.
- Read the Q3 budget sheet and show the values with their cell hashes.
- Append an update note under cell B5 and color that row yellow.
Good to know
- Every tool that changes the workbook is a dry run until send is true.
- Nothing deletes sheets, rows or cells.
- Sessionless calls on large workbooks can time out with a 504 even though the write was applied.
- Writing \r\n directly leaves a stray _x000D_ in the cell.
Security check
ANo download-and-run commands, hidden instructions or signs of sending keys out were found.
Checked automatically: README.md, package.json. This looks for known risky patterns and is not a full audit. How grades work
Alternatives to Graph Excel MCP
All alternatives →Creates, opens, edits and exports Word, Excel, PowerPoint and PDF files through the MR Office MCP server. It suits AI assistants that need to work on real office documents, with the editor shown in chat when the client supports MCP Apps.
Parses Korean documents such as HWP, HWPX, PDF, XLSX, DOCX and PPTX into Markdown, and writes HWPX or HWP official documents from Markdown. It runs as a library, CLI, HTTP API or MCP server for AI assistants.
Desktop Commander is an MCP server that lets an AI assistant run terminal commands, edit files and manage processes on your computer. It is for developers and users who want an assistant to work with local code and text.
Connects AI assistants to the Linear GraphQL API so they can manage projects, issues, and documents. Built for teams that want planning and project-management workflows in Linear, beyond basic issue CRUD.
pptx-viewer MCP server and tools: manipulate, convert, and collaborate on PowerPoint .pptx files from AI agents.
Reactive Resume is a free, open-source resume builder with an MCP server for document management, imports, exports, checks and job application workflows. It suits people who want to write and track resumes and keep their data under their own control. The source describes the app itself and does not describe the DeepSeek Harness connection.
Compare with MR Office, kordoc or Desktop Commander
Graph Excel MCP: common questions
Can it overwrite someone else's edit to a shared workbook?
Before writing, it checks the cells' current content against the version you read, so it won't overwrite another person's edit. After writing, it reads the cells back to confirm the change.
Does graph-excel-mcp delete anything in my workbook?
No. The source states that nothing deletes sheets, rows or cells.
Where is the sign-in token stored?
The refresh token is saved in ~/.graph-excel/token.json with mode 600. Setting GRAPH_EXCEL_HOME keeps it in another location.
How do I install Graph Excel MCP?
In Claude Code run claude mcp add graph-excel-mcp -- npx -y graph-excel-mcp. For Claude Desktop, Cursor and VS Code, paste the config shown above and restart. See the install guides.
Is Graph Excel MCP the official server?
Graph Excel MCP is published by npm:graph-excel-mcp from its verified domain in the official MCP Registry.
Is Graph Excel MCP free?
The code is published under the MIT licence. The service it connects to may have its own pricing.
Is Graph Excel MCP safe to use?
It scores 78 of 100. Grades: maintenance A, licence A, quality C. Security check: grade A, no risky patterns found in the files checked. Review the code before you install. How grades work.
What are alternatives to Graph Excel MCP?
Similar MCP servers: MR Office, kordoc, Desktop Commander, MCP Linear.
Does Graph Excel MCP work with ChatGPT?
Not directly. It runs locally, and ChatGPT only connects to remote servers with a URL. Use it in Claude Code, Claude Desktop, Cursor, VS Code or Codex.
