mcp-name: io.github.sbroenne/mcp-server-excel

GitHub Release GitHub Downloads NuGet GitHub

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.

CLI also available: mcp-excel.exe (MCP Server) and excelcli.exe (CLI) are distributed as standalone self-contained executables โ€” no .NET runtime required.

Requirements: Windows OS + Excel 2016+

๐Ÿš€ Installation

Quick Setup Options:

  1. VS Code Extension - One-click install for GitHub Copilot
  2. Standalone exe - Works with Claude Desktop, Cursor, Cline, Windsurf, and other MCP clients
  3. MCP Registry - Find us at registry.modelcontextprotocol.io

Manual Installation (All MCP Clients):

Primary โ€” Standalone exe (no .NET runtime required):

## Download from latest release:
## https://github.com/sbroenne/mcp-server-excel/releases/latest
## ExcelMcp-MCP-Server-{version}-windows.zip โ†’ extract mcp-excel.exe

## Add to PATH, then configure your MCP client:
## { "command": "mcp-excel" }

Secondary โ€” .NET Global Tool (requires .NET 10 runtime):

dotnet tool install --global Sbroenne.ExcelMcp.McpServer

Supported AI Assistants:

๐Ÿ“– Detailed setup instructions: Installation Guide

๐ŸŽฏ Quick config examples: examples/mcp-configs/

๐Ÿ› ๏ธ What You Can Do

25 specialized tools with 230 operations:

๐Ÿ“š Complete Feature Reference โ†’ - Detailed documentation of all 230 operations

AI-Powered Workflows:


๐Ÿ’ก Example Use Cases

โ€œ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


๐Ÿ“‹ Additional Resources

License: MIT
Privacy: PRIVACY.md
Platform: Windows only (requires Excel 2016+)
Support: GitHub Issues