ironcalc-mcp
Click on "Install 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., "@ironcalc-mcpCreate a budget with formulas and save it"
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.
ironcalc-mcp
MCP server for the IronCalc spreadsheet engine. Create, read, edit, and save xlsx files through the Model Context Protocol.
Covers the full surface of the IronCalc Python SDK - everything you can do with ironcalc in Python, you can do through MCP.
Motivation
I was really inspired by paper.design's real-time MCP workflow, where exposing a design tool via MCP enables custom, extensible agent workflows that feel native rather than bolted on.
Current AI-spreadsheet integrations (like Claude's cowork mode for Excel) add an unnecessary layer of abstraction - the agent writes Python code that manipulates Excel, instead of talking to the spreadsheet directly. This MCP server removes that indirection. Agents read cells, write formulas, and get evaluated results in one hop. No codegen middleman, no openpyxl glue scripts.
Huge thanks to the IronCalc contributors - their Python SDK API is so clean that this entire MCP server is basically thin wrappers. The hard work is all theirs.
Current limitation: the server works with an in-memory workbook - load a file, edit it, save it back. There's no real-time streaming to a running IronCalc UI yet. The engine already has a diff queue for syncing, so the plumbing is there. If IronCalc adds a WebSocket bridge to their web app, we can wire up live sync and get a true reactive workflow - agent edits appearing in the browser as they happen.
Quick start
uvx ironcalc-mcpClaude Code
claude mcp add ironcalc -- uvx ironcalc-mcpClaude Desktop / Cursor
Add to your MCP config:
{
"mcpServers": {
"ironcalc": {
"command": "uvx",
"args": ["ironcalc-mcp"]
}
}
}Examples
Build a spreadsheet from scratch
Create a budget with formulas and save itAudit an existing xlsx for errors
Load quarterly_report.xlsx and find all #NAME?, #REF!, #VALUE! errors. Tell me which formulas are broken and why.Fix broken cross-sheet references
The P&L sheet was renamed but formulas in the DCF sheet still reference the old name. Find and fix all broken references.Build a financial model
Create a 5-year DCF model with revenue assumptions in one sheet, P&L in another, and free cash flow calculation in a third. Use =NPV() and =IRR() for valuation.Analyze and transform data
Load sales_data.xlsx, add a column with running totals, insert a summary row at the bottom, and save.Available tools (21)
Workbook
Tool | Description |
| Create a new empty workbook. Params: |
| Load workbook from an xlsx file. Params: |
| Save workbook to xlsx. Params: |
| Get sheets list, dimensions, state, colors |
Cells
Tool | Description |
| Get content, formatted value, and type of a single cell |
| Read a rectangular range of cells |
| Set a cell's value or formula (prefix with |
| Batch set multiple cells in one call |
Sheets
Tool | Description |
| Create a new sheet (auto-named or custom name) |
| Remove a sheet by index |
| Rename a sheet |
| Set the tab color (hex) |
Structure
Tool | Description |
| Insert rows at a position |
| Delete rows at a position |
| Insert columns at a position |
| Delete columns at a position |
| Set column width in points |
| Set row height in points |
| Freeze top N rows |
| Freeze left N columns |
Formatting
Tool | Description |
| Get font, fill, border, alignment, number format |
set_cell_styleis not yet available — the IronCalc Python binding exposes style properties as read-only. PRs welcome to add#[pyo3(get, set)]upstream.
Contributing
Contributions are welcome! To get started:
git clone https://github.com/yolonir/ironcalc-mcp
cd ironcalc-mcp
uv sync
uv run ironcalc-mcpPlease create a new branch for your changes and open a pull request against main. Pls keep them focused.
License
MIT
Resources
Unclaimed servers have limited discoverability.
Looking for Admin?
If you are the server author, to access and configure the admin panel.
Latest Blog Posts
MCP directory API
We provide all the information about MCP servers via our MCP API.
curl -X GET 'https://glama.ai/api/mcp/v1/servers/yolonir/ironcalc-mcp'
If you have feedback or need assistance with the MCP directory API, please join our Discord server