mcp-server-excel
by sbroenne·★ 157·Score 50
MCP server that provides 23 tools and 214 operations for AI-powered Excel automation via COM API.
Overview
ExcelMcp is a comprehensive Model Context Protocol server that enables AI assistants to automate Microsoft Excel through natural language commands. It uses Excel's native COM API for safe, direct control of Excel applications rather than manipulating XLSX files. The project offers both MCP Server and CLI interfaces, with 25 specialized tools covering Power Query, DAX, Excel Tables, PivotTables, Charts, VBA, Ranges, Worksheets, Connections, Named Ranges, Files, Calculation Mode, Slicers, Conditional Formatting, Screenshots, and Window Management. Both interfaces share the same backend service, ensuring feature parity while optimizing for different use cases.
Try asking AI
After installing, here are 5 things you can ask your AI assistant:
When to choose this
Choose this MCP server if you need AI-powered Excel automation on Windows with extensive functionality for data analysis, reporting, and workbook management.
When NOT to choose this
Avoid this server if you're using Linux/macOS, need server-side processing, or require high-volume batch operations without Excel installation.
Tools this server exposes
12 tools extracted from the READMEpower_queryAtomic workflows, M code management, load destinations for Power Query
data_model_daxCreate and manage DAX measures, relationships, and model structure
excel_tablesManage Excel tables including filtering, sorting, and structured references
pivot_tablesCreate and manage PivotTables including fields, aggregations, and calculated members
chartsCreate and configure charts including series, formatting, and data labels
rangeGet/set values, formulas, formatting, validation, and protection for ranges
worksheetsManage worksheets including lifecycle, colors, visibility, and moves
connectionsManage OLEDB/ODBC connections and refresh data sources
named_rangesCreate and manage named ranges for parameters and configuration
filesManage session, workbook creation, and IRM/AIP-protected file support
slicersCreate and manage slicers for interactive filtering of PivotTables and Tables
screenshotCapture ranges or sheets as PNG for visual verification
Comparable tools
Installation
Installation Options
**VS Code Extension (Recommended)** Install from [VS Code Marketplace](https://marketplace.visualstudio.com/items?itemName=sbroenne.excel-mcp)
**Claude Desktop** Download .mcpb from [latest release](https://github.com/sbroenne/mcp-server-excel/releases/latest)
**Other MCP Clients** Download mcp-excel.exe from releases and add to PATH
Claude Desktop Configuration
Add to your Claude Desktop config.json:
{
"mcpServers": {
"excel": {
"command": "path/to/mcp-excel.exe",
"args": []
}
}
}**Important:** Close all Excel files before using. The server requires exclusive access to workbooks during automation.
FAQ
- Is this compatible with Mac or Linux?
- No, this is Windows-only due to the use of COM interop. Microsoft Excel is required.
- Can I use this for server-side automation?
- No, this is designed for desktop environments where Excel is installed and running. For server-side processing, use Excel-compatible libraries like ClosedXML or EPPlus.
Compare mcp-server-excel with
Last updated · Auto-generated from public README + GitHub signals.