GridCraft MCP Server
Click on "Deploy Server".
Wait a few minutes for the server to deploy. Once ready, it will show a "Started" state.
In the chat, type
@followed by the MCP server name and your instructions, e.g., "@GridCraft MCP Server Build a monthly budget workbook with formulas, a chart, and export as XLSX and PDF"
That's it! The server will respond to your query, and you can continue using it as needed.
Here is a step-by-step guide with screenshots.
Why
GridCraft is an open-source, Excel-class spreadsheet app with a headless CLI (gridcraft-cli), 339 commands, 513 worksheet functions (dynamic arrays included), XLSX as its native format and an MCP mode. This Model Context Protocol server turns that engine into file-in / file-out tools for Claude, so you can ask things like:
"Build a monthly budget workbook with formulas, a summary sheet and a chart, as XLSX and PDF." "Read
sales.xlsxand tell me the total by region and the best month." "Add a PivotTable of revenue by region and product to this workbook." "In every workbook inD:\Reports, replace '2025' with '2026' and save copies." "Convert this CSV to Excel with a formatted table, and every workbook in this folder to CSV."
Sibling of designcraft-mcp-server, effectcraft-mcp-server, lightcraft-mcp-server, photocraft-mcp-server, vectorcraft-mcp-server, filmcraft-mcp-server, pdfcraft-mcp-server, wordcraft-mcp-server, soundcraft-mcp-server, deckcraft-mcp-server and audacity-mcp-server.
Related MCP server: BachStudio Excel MCP Server
Platforms
OS | GridCraft package to install | Where the server finds it (no setup needed) | Status |
Windows 10/11 (x64, x86, arm64) | MSI or portable zip |
| โ Verified (Windows 11) |
Linux (x86_64, aarch64, riscv64) |
|
| โ Verified (Debian 12, headless) |
macOS 11+ (Apple silicon and Intel) |
|
| ๐ก Supported, not yet tested on a Mac |
All downloads: GridCraft releases (there is also a FreeBSD tar.gz; set GRIDCRAFT_DIR to it). Anywhere else: set GRIDCRAFT_DIR (folder, .tar.gz root or GridCraft.app) or GRIDCRAFT_CLI.
macOS: the DMG contains only the app. Unzip the separate
gridcraft-clizip and movegridcraft-clito/usr/local/bin(or pointGRIDCRAFT_CLIat it). The first run checks Apple's notarization online.Linux: the AppImage and Flatpak contain only the app, not
gridcraft-cli; use the deb, rpm or tar.gz. For an AppImage app, setGRIDCRAFT_APPsoopen_in_gridcraftcan start it. On a server without a GPU, the verified setup usedlibxkbcommon0 libvulkan1 libegl1 mesa-vulkan-drivers libasound2 fontconfig.
How it works
Part | What it is |
GridCraft engine ( | GridCraft's own engine: cells, the calculation engine with 513 functions, styles, number formats, tables, conditional formats, validation, charts, PivotTables and the XLSX / CSV / JSON / HTML / PDF writers. Started fresh and headless for each job, so it never touches the GridCraft app or an open workbook. |
MCP server (Node.js) | 9 high-level tools. Builds workbooks from a simple description of sheets (data and formulas, header, table, totals row, formats, rules, charts), names PivotTable sheets, checks every output first and returns the computed values of the first rows of every sheet plus any formula errors, so the assistant sees what the formulas give. |
Live app (optional) |
|
Tools
Tool | What it does |
| A new workbook (or a sample: budget, sales, grades) from sheets: values and formulas, header styling, Excel tables, totals rows, number formats, fonts, colours, borders, merges, conditional formatting (highlights, data bars, colour scales, icon sets), drop-down lists, notes, charts (17 types), frozen panes, print setup; PivotTables; theme and properties |
| One workbook, a list or a folder: write values and formulas, find and replace, insert or delete rows and columns, sort, remove duplicates, add, rename or delete sheets, formats, conditional formats, tables, charts, PivotTables; written as a new copy |
| Computed values, formulas or display text of a range or sheet, and formulas evaluated against the workbook without changing it |
| One workbook, a list or a folder โ xlsx, csv, tsv, json, html, pdf (one sheet or every sheet) |
| Sheets with used ranges, tables, charts, merges, filters, frozen panes, rules, validations, notes; defined names; first rows as computed values; formula errors |
| 339 commands with parameters, 513 worksheet functions with signatures, chart types, samples, formats |
| Any engine commands plus |
| Open workbooks (or a sample) in the GridCraft app, optionally with the control channel |
| Platform, installation, version, commands, functions, app / control port |
Opens | xlsx, xlsm, xls (values, formulas, number formats), xlsb and ods (data), csv, tsv, txt, json |
Saves | xlsx (every sheet, formulas, styles, tables, charts, PivotTables), csv, tsv, json, html, pdf |
Cells use A1 notation (B2, A1:D10); quote sheet names with spaces in formulas ('My sheet'!A1). Strings starting with = are formulas; text like 12% or 2026-03-01 is read as typed.
Example
{
"name": "Sales 2026",
"sheets": [
{
"name": "Data",
"data": [
["Region", "Product", "Units", "Price", "Total"],
["North", "A", 10, 12.5, "=C2*D2"],
["South", "A", 8, 12.5, "=C3*D3"],
["North", "B", 12, 20, "=C4*D4"],
["South", "B", 9, 20, "=C5*D5"]
],
"table": true,
"totals_row": ["none", "none", "sum", "average", "sum"],
"formats": [{ "range": "D2:E6", "number_format": "Currency" }],
"conditional_formats": [{ "range": "E2:E5", "type": "data_bar" }],
"validations": [{ "range": "A2:A5", "list": ["North", "South", "East", "West"] }],
"charts": [{ "range": "A1:A5", "type": "column", "title": "Units", "at": "G2" }]
},
{
"name": "By region",
"data": [["Region", "Total"], ["North", "=SUMIFS(Data!E:E,Data!A:A,A2)"], ["South", "=SUMIFS(Data!E:E,Data!A:A,A3)"]],
"formats": [{ "range": "B2:B3", "number_format": "Currency" }],
"charts": [{ "range": "A1:B3", "type": "pie", "title": "Sales by region", "at": "D2" }]
}
],
"pivots": [{ "source": "Data!A1:E5", "rows": ["Region"], "columns": ["Product"], "values": [{ "field": "Total", "func": "sum" }] }],
"formats": ["xlsx", "pdf"],
"output_dir": "C:\\Sheets"
}Requirements
GridCraft with
gridcraft-cli(tested with 0.6.1); see PlatformsNode.js โฅ 20 (bundled with Claude Desktop for
.mcpbinstalls)
Installation
Claude Desktop (recommended, all platforms)
Download
gridcraft-mcp-server.mcpbfrom the latest release.Double-click it (or drag it into Claude Desktop โ Settings โ Extensions) and click Install.
Optional: if GridCraft is not in a standard location, fill in its folder or the
gridcraft-clipath in the extension settings.
Sunsam Code
Install GridCraft Bridge from the Sunsam Code marketplace, or drop the .mcpb into MCP โ Install extension.
Codex (OpenAI)
Recommended โ the marketplace (gets updates): Plugins โ Add โ Add marketplace, source jhonsu01/craft-marketplace, reference main, then install GridCraft Bridge from Craft Bridges (craft-marketplace). New versions arrive by refreshing the marketplace. Or upload the zip (Codex then keeps it in your account and refuses a newer zip with the same name):
Download
gridcraft-mcp-server-<version>-codex.zipfrom the latest release.In Codex: Plugins โ Add โ New plugin, choose the zip and click Add plugin.
Codex starts the server with
node, so Node.js โฅ 20 must be onPATH. If GridCraft is not in a standard location, setGRIDCRAFT_DIRorGRIDCRAFT_CLIas system environment variables (Codex has no settings form for local plugins).
DeepSeek Harness
Plugins โ Add plugin, enter
github:jhonsu01/craft-marketplace#path:/plugins/gridcraft-mcp-serverand click Install, then Enable now.Harness runs the server with its own MCP client and
node(Node.js โฅ 20 onPATH); the tools appear asmcp__gridcraft__<tool>and the output files as cards that open in Harness.Harness does not update plugins by itself yet: to upgrade, uninstall the plugin and install it again with the same address.
Claude Code / other MCP clients
git clone https://github.com/jhonsu01/gridcraft-mcp-server.git
cd gridcraft-mcp-server
npm install
npm run buildWindows:
claude mcp add gridcraft -- node "%CD%\dist\bundle.cjs"macOS / Linux:
claude mcp add gridcraft -- node "$PWD/dist/bundle.cjs"Configuration
Variable | Meaning |
| GridCraft folder, one of its executables, a |
| Path of |
| Path of the desktop app when it lives elsewhere (e.g. a Linux AppImage) |
| Control port of the desktop app (default 7979) |
| Maximum seconds per engine call (default 3600) |
Safety
Files are never overwritten unless
overwrite: true: a free name (_2) is used in folders and an existingoutput_pathis an error. Inputs are only read; an edited file is saved only as a new copy (_edited).All paths must be absolute. The engine runs headless and never touches the GridCraft app unless
live: true.Everything runs locally with no network access. Each job uses a private engine in a temporary folder that is deleted at the end.
Development
npm run build # TypeScript + single-file bundle (dist/bundle.cjs)
npm test # unit tests (Windows, macOS and Linux path logic)
npm run test:e2e # 25 end-to-end checks (27 with `E2E_LIVE=1`) over real MCP stdio (synthetic CSV)
npm run pack:mcpb # gridcraft-mcp-server.mcpb
npm run pack:codex # Codex / DeepSeek Harness plugin zipLinux test in Docker (unpack gridcraft-<version>-linux-x86_64.tar.gz first):
docker run --rm -v "$PWD:/work:ro" -v "/path/to/gridcraft-0.6.1-linux-x86_64:/opt/gridcraft:ro" -e GRIDCRAFT_DIR=/opt/gridcraft -w /work node:22-bookworm bash -c "apt-get update && apt-get install -y libxkbcommon0 libvulkan1 libegl1 mesa-vulkan-drivers libasound2 fontconfig && node scripts/e2e.mjs"License
Apache-2.0. GridCraft is ยฉ its authors (Storytold), MIT or Apache-2.0. This project is not affiliated with or endorsed by GridCraft or Storytold. Excel is a trademark of Microsoft.
Available Tools
9 toolsconvert_workbookConvert spreadsheetsA
Convert workbooks (xlsx, xlsm, xls, xlsb, ods, csv, tsv, json; one, a list or a folder) to xlsx, csv, tsv, json, html or pdf (csv / tsv / pdf: the first sheet, or every sheet as its own file with all_sheets).
Inputs: suffix, formats, input_dir, overwrite, +5 more.
create_workbookCreate a spreadsheetA
Build an Excel workbook with GridCraft (an Excel-class spreadsheet app): sheets of data and live formulas (500+ Excel functions, dynamic arrays), header styling, tables with filter buttons, totals rows, number formats, fonts, colours, borders, merged cells, conditional formatting (highlights, data bars, colour scales, icon sets), drop-down lists, notes, charts (17 types), PivotTables, frozen panes and print setup. Saves xlsx, csv, tsv, json, html or pdf and returns the computed values of the first rows of every sheet (and any formula errors) to check the result. Or start from a sample: budget, sales, grades.
Inputs: name, theme, title, author, +8 more.
edit_workbookEdit spreadsheetsA
Open workbooks (xlsx, xlsm, xls, xlsb, ods, csv, tsv; one, a list or a folder) and change them: write values and formulas, find and replace, insert or delete rows and columns, sort, remove duplicates, add, rename or delete sheets, apply formats, conditional formatting, tables, charts and PivotTables. Saved as new copies; the originals are only read.
Inputs: sort, write, charts, pivots, +18 more.
get_gridcraft_statusGridCraft statusARead-onlyIdempotent
Check the GridCraft installation: platform, executables, version, engine commands, worksheet functions, formats, whether the app is running / listening for control.
Inputs: no named parameters.
get_workbook_infoWorkbook infoCRead-onlyIdempotent
Sheets of a workbook with used ranges, tables, charts, merges, filters, frozen panes, defined names, the first rows of each sheet as computed values, and every formula that returns an error.
Inputs: input_path (required), preview_rows.
list_gridcraft_catalogList commands, functions, charts, samples, formatsARead-onlyIdempotent
What GridCraft can do: commands (the engine commands with parameters and ribbon place, for run_gridcraft_commands), functions (the worksheet functions with signature and description), charts (chart types), samples (built-in sample workbooks) and formats.
Inputs: kind (required), filter.
open_in_gridcraftOpen in GridCraftA
Open workbooks in the GridCraft desktop app to keep working by hand. With control=true the app also starts its loopback-only control channel so run_gridcraft_commands live=true can drive it.
Inputs: paths, sample, control.
read_workbookRead and calculateARead-onlyIdempotent
Read a workbook (xlsx, xlsm, xls, xlsb, ods, csv, tsv, json): computed values, formulas or display text of a range or sheet, and evaluate formulas against it without changing anything (e.g. "=SUMIFS(D:D,A:A,"North")", "=AVERAGE(Sales!C2:C99)").
Inputs: input_path (required), mode, range, sheet, +2 more.
run_gridcraft_commandsRun GridCraft engine commandsADestructive
Advanced: run any GridCraft engine commands in order (cell., home., insert., formulas., data., review., view., pageLayout., chart., table., pivot., sheet....) plus the engine tools write_range / read_range / set_cell / get_cell / evaluate_formula / format_range / insert_chart / create_table / sort_range / filter / select / inspect_workbook (step id = the tool name), on a new, sample or opened workbook, then save. Parameters can use "$steps[N].field" for a value returned by step N (0-based). With live=true the steps drive the open GridCraft app instead.
Inputs: live, name, steps, sample, +7 more.
Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections.
Loading tool schema changelogโฆ
TDQS
Scored across 9 tools
Most tools have clearly distinct purposes (create/edit/read/convert a workbook). However, run_gridcraft_commands is a low-level catch-all that functionally overlaps with create_workbook and edit_workbook, and list_gridcraft_catalog partially overlaps with get_gridcraft_status for listing commands/functions/formats. Descriptions help but boundaries are not entirely crisp.
All names use snake_case and start with a verb, with a predictable verb_noun pattern for core operations. open_in_gridcraft breaks the pattern by inserting a preposition, and the info/status tools use a longer verb_domain_noun form, but consistency is still high.
9 tools is well within the ideal range for a spreadsheet server; each tool maps to a distinct lifecycle stage (create, read, edit, convert, inspect, open, advanced control, discovery, health). No tool feels redundant or missing from a count perspective.
The surface covers the full create-read-edit-convert-inspect cycle plus live app control and advanced command execution. No obvious operational gap for an Excel-class workbook toolset; file deletion is out of scope and likely intentional.
Maintenance
Related MCP Connectors
Convert XLSX spreadsheets to and from XLS, CSV, PDF, JPG, HTML and ODS.
Convert XLS spreadsheets to modern document, image and spreadsheet formats.
Excel analytics: inspect, query (JSON rows), charts, and JSON-to-xlsx workbook writing.
Turn bank statements, invoices, receipts and other PDFs into Excel workbooks.
Related MCP Servers
- AlicenseNot gradedqualityDmaintenanceProvides Excel file manipulation capabilities without requiring Microsoft Excel installation, enabling workbook creation, data manipulation, formatting, and advanced Excel features.10MIT
- AlicenseNot gradedqualityNot gradedmaintenanceEnables creation, reading, and manipulation of Excel workbooks without Microsoft Excel installed, supporting formulas, formatting, charts, pivot tables, and data validation through multiple transport protocols.MIT
- AlicenseNot gradedqualityCmaintenanceEnables reading and writing of values, formulas, and formatting in Microsoft Excel files including .xlsx and .xlsm formats. It supports sheet management, table creation, and provides Windows-exclusive features like live editing and screen capture.MIT
- AlicenseNot gradedqualityCmaintenanceEnables high-performance read/write operations, reconciliation, formula recalculation, pivot refresh, macro execution, and PDF export for spreadsheet workbooks on Windows.MIT