GridPath — Claude Code MCP server for .xlsx editing
An MCP server that lets your agent edit real .xlsx files on disk, with formulas recalculated and every change reviewed before it saves.
claude mcp add gridpath -- npx -y gridpathWhat GridPath does
GridPath hands your coding agent the Excel files already sitting in your project. Formulas are evaluated in process rather than read as cached values. When the file is written back, the original is patched, so charts, pivot tables, VBA macros, add-in data and custom XML survive untouched.
The agent opens a workbook from disk, makes its edits, and you look them over before anything is committed. Under the hood it runs a fork of IronCalc, the same engine behind the browser build. Node.js 20 or newer is required — npx -y gridpath will not start without it.
Setup is one line: claude mcp add gridpath -- npx -y gridpath. From there the agent decides when to open a workbook and what to change. Cursor and GitHub Copilot need the server declared in their MCP config file instead.
What it helps with
- fix formulas in a workbook without opening Excel
- add a calculated column to an existing report
- cross-check values across several sheets
- keep macros and charts intact while editing a file
- review an agent's edits before they hit disk
Example prompts for the agent
- Open
report.xlsxand add a margin formula in column D for every month - List the formulas in
budget.xlsxthat reference a deleted sheet - Recalculate the totals on the Sales sheet and show me the changes before saving
How to install GridPath
Platform CLI
claude mcp add gridpath -- npx -y gridpathPlatform CLI
codex mcp add gridpath -- npx -y gridpathConfig file
{
"mcpServers": {
"gridpath": {
"command": "npx",
"args": [
"-y",
"gridpath"
]
}
}
}Config file
{
"servers": {
"gridpath": {
"type": "stdio",
"command": "npx",
"args": [
"-y",
"gridpath"
]
}
}
}Platform CLI
gemini mcp add gridpath npx -y gridpathStep by step, with commands for each platform: How to add an MCP server to Claude Code, Codex, Cursor, VS Code, Gemini CLI and more
Questions about GridPath
How do I install GridPath in Claude Code?
Run claude mcp add gridpath -- npx -y gridpath. The server then shows up in your MCP list and the agent can open workbooks.
What does GridPath do?
It opens .xlsx files from disk, evaluates their formulas, and lets the agent edit cells. You approve each change before saving, and the original file is patched rather than rewritten.
What does GridPath need to run?
Node.js 20 or newer. The package runs through npx, so there is nothing to install separately.