Excel automation for AI - Sheets, Power Query, DAX, VBA, Tables, Ranges and more. Windows only.
Runs on your machine from its package; the steps are below.

At most: moves money, runs code or commands, deletes data, or sends messages for you.
Odel charges nothing per call. The publisher may charge for its own service.
Runs locally over stdio
This server isn't hosted — your MCP client launches it from a package registry. Use one of the commands below, or drop the config into your client (e.g. Claude Desktop).
Published to NuGet as `Sbroenne.ExcelMcp.McpServer` — run it with your .NET MCP host.
Run
npx -y @sbroenne/mcp-server-excel
MCP client config
{
"mcpServers": {
"mcp-server-for-excel": {
"command": "npx",
"args": [
"-y",
"@sbroenne/mcp-server-excel"
]
}
}
}Website · Installation · Features · Troubleshooting · 2-minute demo
Automate real Microsoft Excel with AI. Excel MCP Server lets GitHub Copilot, Claude, ChatGPT, and other agents control Excel through natural-language requests—using either MCP or a token-efficient CLI.
Unlike file-parser tools, ExcelMcp drives the actual Excel application through
its official COM API. It can refresh Power Query, recalculate formulas, evaluate
DAX, run VBA and Python =PY(), and preserve PivotTables, charts, macros, the
Data Model, and workbook formatting.
63 MCP tools across 33 feature areas, with 424 operations, cover end-to-end Excel automation.
Important
Requires Windows, Microsoft Excel 2016 or later, and an interactive desktop. It is not intended for Linux, macOS, or server-side batch processing.
| Use case | Recommended path |
|---|---|
| VS Code | Install the extension |
| Claude Desktop or another MCP client | Install the MCP Server |
| Coding agents (fewer AI tokens) | Install the CLI |
| Not sure which to choose? | Read the installation overview |
For GitHub Copilot CLI, install either plugin from the Awesome Copilot Excel listings:
copilot plugin install excel-mcp@awesome-copilot
# Or, for command-line Excel automation:
copilot plugin install excel-cli@awesome-copilot
Close open Excel workbooks before starting; ExcelMcp requires exclusive access while automating them.
Explore the capabilities behind all 424 operations. Current command details come from CLI help or the MCP tool descriptions.
Ask in plain language:
Because Excel performs the work, you can inspect results live and continue editing the workbook normally.
See more examples and use cases.
Both entry points expose the same Excel commands and behavior, so the choice is technical. Coding agents can use either one.
| Interface | Works with | Why |
|---|---|---|
| MCP Server | Any MCP-compatible client | Tool discovery and persistent sessions |
CLI (excelcli) | Agents that can run terminal commands | Built-in help without loading MCP tool definitions, usually with fewer AI tokens |
The MCP Server calls the ExcelMcp service in-process. The CLI uses a background daemon so workbook sessions persist across commands.
AI assistant or script
│
MCP Server / CLI
│
Shared Excel commands
│
Real Excel COM API
Read the architecture or browse the MCP Server and CLI guides.
Documentation · Changelog · Contributing · Security · Privacy
License: MIT License - see LICENSE file
Other projects by the author: