Model Context Protocol server that lets AI clients create and edit Excel files with charts, PivotTables, and formulas without Microsoft Excel installed.
Overview
Excel MCP Server is an open-source MCP server built on openpyxl that exposes tools for AI clients such as Claude, Cursor, VS Code Copilot, and Codex. Connected clients can list, create, read, and modify .xlsx-family workbooks, including charts, PivotTables, slicers, conditional formatting, tables, and a large set of Excel functions evaluated by an internal engine.
Typical setup runs the server locally with uvx over stdio and optional folder confinement via --allow-dir so only workbooks under chosen paths are touched. A streamable HTTP mode listens on localhost by default for remote clients, with optional bearer token auth and Docker deployment. Tools are grouped into areas such as cells, sheets, charts, pivots, CSV import/export, and optional VBA read or write when explicitly enabled.
Large-sheet operations use streaming reads and targeted row parsing to limit memory. Safety options include read-only mode, formula safety checks, atomic saves, and macros that are never executed by the server. Microsoft Excel is not required; the server targets Windows, macOS, and Linux hosts running the Python package.
Key features
- MCP tools for workbook read and write
- Charts PivotTables and slicers
- Built-in formula engine without Excel
- Streaming reads for large sheets
- Optional folder confinement and read-only mode
- CSV import and export tools
- Streamable HTTP and Docker hosting
- Optional VBA read with gated write
Use cases
- AI-assisted spreadsheet creation and edits
- Automating reports from MCP-enabled IDEs
- Remote workbook tools over HTTP MCP
- Building PivotTables and charts without Excel