Numbers MCP Server
Allows reading and writing Apple Numbers spreadsheets, including fetching and finding rows, updating/adding/deleting rows, batch updates, and styling rows by value via AppleScript automation of the Numbers app.
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., "@Numbers MCP Server in /Users/me/tasks.numbers, show all rows where Status is In Progress"
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.
Numbers MCP Server
An MCP (Model Context Protocol) server for reading and writing Apple Numbers spreadsheets.
Features
Read Operations: Get table info, fetch rows with pagination, find rows with flexible conditions
Write Operations: Update rows, add rows, delete rows, batch updates with different values per row
Styling (macOS only): Set row colors, color rows by column value, auto-detect existing color schemes
Related MCP server: Excel MCP Server
Tools
Tool | Description |
| Quick overview of a Numbers file (sheets, headers, row count, preview) |
| Get table data with optional pagination and column filtering |
| Find rows matching conditions (equality, contains, gt, lt, gte, lte, ne) |
| Update all rows matching a condition to the same values |
| Add one or more rows to a table |
| Delete rows matching a condition |
| Update multiple rows with different values in one operation |
| Set background color of a specific row |
| Color rows based on a column's value (e.g., status) |
| Auto-detect color scheme from existing styling |
Installation
Clone and build:
git clone https://github.com/mycleaningfam/numbers-mcp-server.git
cd numbers-mcp-server
npm install
npm run buildConfiguration
Add to your MCP settings (e.g., .mcp.json or Claude Desktop config):
{
"mcpServers": {
"numbers": {
"command": "node",
"args": ["/path/to/numbers-mcp-server/dist/index.js"]
}
}
}Usage Examples
Get table overview
numbers_get_info({ filePath: "/path/to/file.numbers" })Find rows with conditions
numbers_find_rows({
filePath: "/path/to/file.numbers",
where: { Status: "In Progress" },
columns: ["ID", "Task", "Status"],
limit: 10
})Update rows
numbers_update_rows({
filePath: "/path/to/file.numbers",
where: { Status: "Done" },
set: { Priority: "P1" }
})Batch update with different values
numbers_batch_update({
filePath: "/path/to/file.numbers",
updates: [
{ where: { ID: 1 }, set: { Priority: "P0" } },
{ where: { ID: 2 }, set: { Priority: "P1" } },
{ where: { ID: 3 }, set: { Priority: "P2" } }
]
})Color rows by status
numbers_color_rows_by_value({
filePath: "/path/to/file.numbers",
column: "Status",
colorMap: {
"Done": { r: 144, g: 238, b: 144 },
"In Progress": { r: 173, g: 216, b: 230 }
}
})Requirements
Node.js 18+
macOS (required for styling features - uses AppleScript to control Numbers app)
Numbers app installed (for styling features)
How It Works
Reading: Uses SheetJS (xlsx) library to parse .numbers files
Writing: Uses AppleScript to update cells via the Numbers app (SheetJS free version cannot write .numbers format)
Styling: Uses AppleScript to set row background colors through Numbers app automation
License
MIT
Available Tools
11 toolsnumbers_add_rowB
Add one or more rows to a Numbers table. Changes are saved to the file.
Inputs: rows (required), filePath (required), sheetName.
numbers_batch_updateA
Update multiple rows with DIFFERENT values in a single write operation. Each update specifies its own where condition and set values. More efficient than multiple numbers_update_rows calls when setting different values per row.
Inputs: updates (required), filePath (required), sheetName.
numbers_color_rows_by_valueA
Color multiple rows based on a column's value. For example, color all 'Done' rows green and 'In Progress' rows blue. Requires macOS.
Inputs: column (required), colorMap (required), filePath (required), sheetName.
numbers_delete_rowsB
Delete rows from a Numbers table that match conditions. Changes are saved to the file.
Inputs: where (required), filePath (required), sheetName.
numbers_detect_color_mappingA
Auto-detect color mapping by reading existing row colors and correlating with column values. Returns a colorMap that can be used with numbers_color_rows_by_value. Requires macOS.
Inputs: column (required), filePath (required), sheetName.
numbers_find_rowsB
Find rows in a Numbers table matching conditions. Supports equality (Status: 'Done') and operators (Priority: {op: 'gt', value: 5})
Inputs: where (required), filePath (required), limit, offset, +2 more.
numbers_get_infoA
Get a quick overview of a Numbers file: sheet names, headers, row count, and first 3 rows as preview
Inputs: filePath (required).
numbers_get_tableB
Get table data from a Numbers file with optional pagination and column filtering
Inputs: filePath (required), limit, offset, columns, +1 more.
numbers_set_cell_colorB
Set the background color of a specific cell. Requires macOS (uses AppleScript). Numbers app will open briefly.
Inputs: color (required), column (required), filePath (required), rowIndex (required), +1 more.
numbers_set_row_colorA
Set the background color of a specific row. Requires macOS (uses AppleScript). Numbers app will open briefly.
Inputs: color (required), filePath (required), rowIndex (required), sheetName.
numbers_update_rowsA
Update rows in a Numbers table that match conditions. Sets ALL matching rows to the SAME values. For different values per row, use numbers_batch_update instead. Changes are saved to the file.
Inputs: set (required), where (required), filePath (required), sheetName.
Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections.
Loading tool schema changelog…
TDQS
Scored across 11 tools
Most tools have clearly distinct purposes, but numbers_update_rows and numbers_batch_update both update rows, and numbers_set_row_color versus numbers_color_rows_by_value both color rows. Descriptions clarify the distinctions, so an agent can tell them apart with careful reading.
All tools use a consistent numbers_ prefix with snake_case verb_noun naming. The pattern is predictable throughout, including compound actions like batch_update and color_rows_by_value.
With 11 tools, the set is well-scoped for Numbers file row manipulation and formatting. Each tool has a clear role, and there are no obviously redundant entries.
The server provides strong row-level CRUD coverage: info, table reading, finding, adding, updating, deleting, and coloring. Minor gaps exist around file/sheet/table creation and structural operations, but core workflows are covered.
Maintenance
Related MCP Connectors
Excel analytics: inspect, query (JSON rows), charts, and JSON-to-xlsx workbook writing.
Write Excel .xlsx from rows, read spreadsheets or CSV from a URL, extract text from PDFs
Read, filter, group and write XLSX, CSV, TSV and JSON data, and convert between the formats.
Convert Apple Numbers (.numbers) to Excel (.xlsx) in the browser — first sheet free. MCP v1.1.0 (Streamable HTTP) exposes four tools: open_numbers2excel (open site / Stripe checkout intents; conversion is browser-local), get_site_info (product overview, pricing, URLs; read-only), get_pro_status (Stripe subscription_id sub_… status), get_unlock_from_session (Checkout session_id cs_… → entitlement). Path A: MCP does not accept or upload files.
Related MCP Servers
- AlicenseNot gradedqualityCmaintenanceEnables AI agents to create, read, view, and edit Apple Numbers spreadsheets through the Model Context Protocol, leveraging both a parser engine and the Numbers application for formula evaluation and export.1LGPL 3.0
- AlicenseNot gradedqualityCmaintenanceEnables reading and writing MS Excel files, including cell values, formulas, sheet creation, copying, formatting, and on Windows, live editing and screen captures.MIT
- AlicenseNot gradedqualityBmaintenanceEnables reading and writing spreadsheet ranges without destroying formulas, plus reshaping, formatting, and validating data within a spreadsheet.Apache 2.0
- AlicenseAqualityBmaintenanceEnables AI agents to read, create, edit, format, theme, preview and export Apple Numbers, Keynote and Pages files on macOS through 64 tools, including deck building from outlines, design kits, design review of slides, and Spotlight file lookup. Every write is backed up and swapped in atomically with one-call undo, and Arabic/RTL content round-trips exactly.6586 PyPI4MIT