Excel MCP Server
An MCP server to create and edit Excel files without Microsoft Office: formulas, formatting, charts, pivot tables
Install
{
"mcpServers": {
"excel": {
"command": "uvx",
"args": ["excel-mcp-server", "stdio"]
}
}
}Local mode; the file path is passed with each call.
This is third-party code. Review the repository files before installing.
What it does
The server lets the agent work with Excel workbooks directly, without Excel itself. The agent creates workbooks and sheets, reads and writes data, applies formulas, formatting and conditional formatting. It builds various chart types, pivot tables and Excel tables, and copies, renames and deletes sheets. It runs over stdio locally or over HTTP as a remote service with a dedicated files folder.
Who it is for. For analysts, finance staff and anyone preparing Excel reports with an agent.
Good fit when
- You need an xlsx report with formulas and charts built from data
- You need to clean up formatting in a large sheet
- You need a pivot table without manual Excel work
Not a fit when
- You need VBA macros or Excel-grade formula recalculation
- Your sheets live in Google Sheets or an online service
Example request
Add a monthly totals sheet to sales.xlsx with a bar chart and a pivot table by regionLimitations
The server works with files, not a running Excel. In SSE and HTTP modes paths must be relative to EXCEL_FILES_PATH. SSE transport is marked deprecated. The full tool list is in TOOLS.md.
How to disable. Remove the excel block from the MCP config.
MCP
- Transport
- stdio, sse, http
- Authentication
- not required
| Environment variables | |
|---|---|
| EXCEL_FILES_PATH | Files folder for SSE and HTTP modes |
| FASTMCP_PORT | HTTP server port |
Security check
- Reads and overwrites files on disk
- HTTP mode has no authentication
README in short
The README lists features: workbook operations, formulas, formatting, tables, charts, pivot tables and sheet management. It shows three uvx launch modes, stdio, SSE and Streamable HTTP, with config examples. It explains EXCEL_FILES_PATH and FASTMCP_PORT and the file path rules. MIT licensed.
FAQ
Do I need Excel installed?
No, the server reads and writes xlsx files itself.
Where are files kept in HTTP mode?
In the EXCEL_FILES_PATH folder, ./excel_files by default.
Related
Microsoft's utility and MCP server that turn PDF, Word, Excel, PowerPoint, HTML and other files into Markdown for models
Anthropic skills
Skills
Anthropic's official skill examples: docx, pdf, pptx and xlsx documents, design, MCP builder and the Agent Skills spec
A skill that builds editable PPTX decks from PDF, DOCX, URLs and Markdown with native shapes, charts and animations
Anthropic's legal plugin suite: contracts, privacy, employment, IP, litigation, AI governance and legal education