Sbroenne.ExcelMcp.McpServer
1.4.33
{ "servers": { "Sbroenne.ExcelMcp.McpServer": { "type": "stdio", "command": "dnx", "args": ["Sbroenne.ExcelMcp.McpServer@1.4.33", "--yes"] } } }
.vscode/mcp.json settings file.
dotnet tool install --global Sbroenne.ExcelMcp.McpServer --version 1.4.33
dotnet new tool-manifest
dotnet tool install --local Sbroenne.ExcelMcp.McpServer --version 1.4.33
#tool dotnet:?package=Sbroenne.ExcelMcp.McpServer&version=1.4.33
nuke :add-package Sbroenne.ExcelMcp.McpServer --version 1.4.33
ExcelMcp - Model Context Protocol Server for Excel
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.
Optional CLI Tool: For advanced users who prefer command-line scripting, ExcelMcp includes a CLI interface for RPA workflows, CI/CD pipelines, and batch automation. Both interfaces share the same 172 operations.
Requirements: Windows OS + Excel 2016+
🚀 Installation
Quick Setup Options:
- VS Code Extension - One-click install for GitHub Copilot
- Manual Install - Works with Claude Desktop, Cursor, Cline, Windsurf, and other MCP clients
- MCP Registry - Find us at registry.modelcontextprotocol.io
Manual Installation (All MCP Clients):
# Install MCP Server
dotnet tool install --global Sbroenne.ExcelMcp.McpServer
# Configure your AI assistant
# See examples/mcp-configs/ for ready-to-use configs
Supported AI Assistants:
- ✅ GitHub Copilot (VS Code, Visual Studio)
- ✅ Claude Desktop
- ✅ Cursor
- ✅ Cline (VS Code Extension)
- ✅ Windsurf
- ✅ Any MCP-compatible client
📖 Detailed setup instructions: Installation Guide
🎯 Quick config examples: examples/mcp-configs/
🛠️ What You Can Do
12 specialized tools with 172 operations:
- 🔄 Power Query (9 ops) - Atomic workflows, M code management, load destinations
- 📊 Data Model/DAX (14 ops) - Measures, relationships, model structure
- 🎨 Excel Tables (24 ops) - Lifecycle, filtering, sorting, structured references
- 📈 PivotTables (25 ops) - Creation, fields, aggregations, data extraction
- 📉 Charts (14 ops) - Create, configure, manage series and formatting
- 📝 VBA (6 ops) - Modules, execution, version control
- 📋 Ranges (42 ops) - Values, formulas, formatting, validation, protection
- 📄 Worksheets (16 ops) - Lifecycle, colors, visibility, cross-workbook moves
- 🔌 Connections (9 ops) - OLEDB/ODBC management and refresh
- 🏷️ Named Ranges (6 ops) - Parameters and configuration
- 📁 Files (5 ops) - Session management and workbook creation
- 🎨 Conditional Formatting (2 ops) - Rules and clearing
📚 Complete Feature Reference → - Detailed documentation of all 172 operations
AI-Powered Workflows:
- 💬 Natural language Excel commands through GitHub Copilot, Claude, or ChatGPT
- 🔄 Optimize Power Query M code for performance and readability
- 📊 Build complex DAX measures with AI guidance
- 📋 Automate repetitive data transformations and formatting
- 👀 Show Excel Mode - Say "Show me Excel while you work" to watch changes live
💡 Example Use Cases
"Optimize all my Power Queries in this workbook"
→ AI analyzes M code, optimizes query folding, improves step organization
"Create a PivotTable showing sales by region and product"
→ AI creates PivotTable, adds fields, sets aggregations, applies formatting
"Format revenue columns as currency with bold headers and blue background"
→ AI applies number formatting, font styles, and cell colors
"Build a DAX measure for year-over-year growth"
→ AI writes DAX formula, sets currency format, adds to Data Model
"Export all Power Query M code to Git for version control"
→ CLI batch exports all queries to .pq files for source control workflows
📋 Additional Resources
- GitHub Repository - Source code, issues, discussions
- Installation Guide - Detailed setup for all platforms
- VS Code Extension - One-click installation
- CLI Documentation - Comprehensive commands for RPA and CI/CD automation
License: MIT
Platform: Windows only (requires Excel 2016+)
Support: GitHub Issues
| Product | Versions Compatible and additional computed target framework versions. |
|---|---|
| .NET | net8.0 is compatible. net8.0-android was computed. net8.0-browser was computed. net8.0-ios was computed. net8.0-maccatalyst was computed. net8.0-macos was computed. net8.0-tvos was computed. net8.0-windows was computed. net9.0 was computed. net9.0-android was computed. net9.0-browser was computed. net9.0-ios was computed. net9.0-maccatalyst was computed. net9.0-macos was computed. net9.0-tvos was computed. net9.0-windows was computed. net10.0 was computed. net10.0-android was computed. net10.0-browser was computed. net10.0-ios was computed. net10.0-maccatalyst was computed. net10.0-macos was computed. net10.0-tvos was computed. net10.0-windows was computed. |
This package has no dependencies.
| Version | Downloads | Last Updated |
|---|---|---|
| 1.4.33 | 0 | 12/4/2025 |
| 1.4.32 | 2 | 12/4/2025 |
| 1.4.31 | 21 | 12/4/2025 |
| 1.4.30 | 37 | 12/3/2025 |
| 1.4.29 | 33 | 12/3/2025 |
| 1.4.28 | 82 | 12/1/2025 |
| 1.4.27 | 81 | 12/1/2025 |
| 1.4.26 | 78 | 12/1/2025 |
| 1.4.25 | 82 | 12/1/2025 |
| 1.4.24 | 78 | 12/1/2025 |
| 1.4.23 | 81 | 12/1/2025 |
| 1.4.22 | 79 | 12/1/2025 |
| 1.4.21 | 174 | 11/26/2025 |
| 1.4.20 | 174 | 11/25/2025 |
| 1.4.19 | 166 | 11/25/2025 |
| 1.4.18 | 180 | 11/24/2025 |
| 1.4.17 | 177 | 11/24/2025 |
| 1.4.16 | 179 | 11/24/2025 |
| 1.4.15 | 179 | 11/23/2025 |
| 1.4.13 | 157 | 11/22/2025 |
| 1.4.12 | 196 | 11/22/2025 |
| 1.4.11 | 205 | 11/22/2025 |
| 1.4.10 | 392 | 11/20/2025 |
| 1.4.9 | 394 | 11/20/2025 |
| 1.4.8 | 392 | 11/19/2025 |
| 1.4.7 | 388 | 11/19/2025 |
| 1.4.6 | 395 | 11/19/2025 |
| 1.4.4 | 391 | 11/19/2025 |
| 1.4.3 | 398 | 11/18/2025 |
| 1.4.2 | 373 | 11/17/2025 |
| 1.4.1 | 372 | 11/17/2025 |
| 1.4.0 | 290 | 11/17/2025 |
| 1.3.4 | 255 | 11/10/2025 |
| 1.3.3 | 250 | 11/10/2025 |
| 1.3.0 | 188 | 11/9/2025 |
| 1.2.14 | 189 | 11/9/2025 |
| 1.2.13 | 188 | 11/9/2025 |
| 1.2.12 | 194 | 11/9/2025 |
| 1.2.11 | 129 | 11/8/2025 |
| 1.2.10 | 174 | 11/5/2025 |
| 1.2.9 | 176 | 11/5/2025 |
| 1.2.6 | 177 | 11/4/2025 |
| 1.2.5 | 175 | 11/4/2025 |
| 1.2.4 | 177 | 11/4/2025 |
| 1.2.3 | 179 | 11/3/2025 |
| 1.2.2 | 181 | 11/3/2025 |
| 1.2.0 | 180 | 11/3/2025 |
| 1.1.8 | 185 | 10/30/2025 |
| 1.1.7 | 180 | 10/30/2025 |
| 1.1.6 | 176 | 10/29/2025 |
| 1.1.5 | 173 | 10/29/2025 |
| 1.1.4 | 172 | 10/29/2025 |
| 1.1.3 | 173 | 10/29/2025 |
| 1.1.2 | 176 | 10/29/2025 |
| 1.1.1 | 175 | 10/29/2025 |
| 1.1.0 | 175 | 10/29/2025 |
| 1.0.9 | 175 | 10/28/2025 |
| 1.0.8 | 175 | 10/28/2025 |
| 1.0.7 | 160 | 10/22/2025 |
| 1.0.6 | 161 | 10/22/2025 |
| 1.0.5 | 165 | 10/22/2025 |
| 1.0.4 | 166 | 10/22/2025 |
| 1.0.3 | 172 | 10/20/2025 |
See https://github.com/sbroenne/mcp-server-excel/releases for release notes