mcp-name: io.github.sbroenne/mcp-server-excel
Control Excel with Natural Language through AI assistants like GitHub Copilot, Claude, and ChatGPT. This MCP server enables AI-powered Excel automation for Power Query, DAX measures, VBA macros, PivotTables, Charts, and more.
โก๏ธ Learn more and see examples
๐ก๏ธ 100% Safe - Uses Excelโs Native COM API
Unlike third-party libraries that manipulate .xlsx files (risking corruption), ExcelMcp uses Excelโs official COM automation API. This guarantees zero risk of file corruption while you work interactively with live Excel files - see your changes happen in real-time.
๐ Unified Service Architecture - The MCP Server forwards all requests to the shared ExcelMCP Service, enabling CLI and MCP to share sessions transparently.
๐ฆ Unified Package - Includes CLI: This package includes both the MCP Server (mcp-excel) and CLI (excelcli). Install once, get both tools! For advanced users who prefer command-line scripting, the CLI interface supports RPA workflows, CI/CD pipelines, and batch automation. CLI has 15 command categories with 214 operations matching the MCP Server (23 tools with 214 operations).
Requirements: Windows OS + Excel 2016+
Quick Setup Options:
Manual Installation (All MCP Clients):
Requires .NET 10 Runtime or SDK
## Install unified package (includes MCP Server + CLI)
dotnet tool install --global Sbroenne.ExcelMcp.McpServer
## Both tools are now available:
## - mcp-excel (MCP Server for AI assistants)
## - excelcli (CLI for coding agents and scripting)
Supported AI Assistants:
๐ Detailed setup instructions: Installation Guide
๐ฏ Quick config examples: examples/mcp-configs/
23 specialized tools with 214 operations:
๐ Complete Feature Reference โ - Detailed documentation of all 214 operations
AI-Powered Workflows:
โCreate a sales tracker with Date, Product, Quantity, Unit Price, and Total columnsโ
โ AI creates the workbook, adds headers, enters sample data, and builds formulas
โCreate a PivotTable from this data showing total sales by Product, then add a chartโ
โ AI creates PivotTable, configures fields, and adds a linked visualization
โImport products.csv with Power Query, load to Data Model, create a Total Revenue measureโ
โ AI imports data, adds to Power Pivot, and creates DAX measures for analysis
โCreate a slicer for the Region field so I can filter interactivelyโ
โ AI adds slicers connected to PivotTables or Tables for point-and-click filtering
โPut this data in A1: Name, Age / Alice, 30 / Bob, 25โ
โ AI writes data directly to cells using natural delimiters you provide
License: MIT
Privacy: PRIVACY.md
Platform: Windows only (requires Excel 2016+)
Support: GitHub Issues