sbroenne/mcp-server-excel

▲ 6 stars today★ 799⑂ 90

Automate real Microsoft Excel with AI via MCP Server or CLI — Power Query, DAX, VBA, PivotTables, charts, and 326 operations.

About sbroenne/mcp-server-excel

sbroenne/mcp-server-excel is an open-source project on GitHub, mainly written in C#. Automate real Microsoft Excel with AI via MCP Server or CLI — Power Query, DAX, VBA, PivotTables, charts, and 326 operations. It currently holds 799 stars and 90 forks with 0 open issues, and was last pushed on an unknown date (repository created unknown).

Project Overview

AI Homed tracks it on the Today's Trending board, currently at rank #73 with 6 new stars today.

GitHub Repository Details

Repository sbroenne/mcp-server-excel · default branch - · size 0 KB · watchers 0 · source: GitHub REST API and repository README

README

ExcelMcp - MCP Server for Microsoft Excel

VS Code Marketplace Installs Downloads

CI Gate Release

License: MIT .NET Platform Built with Copilot

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.

31 tools with 326 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.

🚀 Get Started

| Use case | Recommended path | |---|---| | VS Code | Install the extension | | Claude Desktop or another MCP client | Install the MCP Server | | Coding agents and scripts | Install the CLI | | Not sure which to choose? | Read the installation overview |

Close open Excel workbooks before starting; ExcelMcp requires exclusive access while automating them.

What You Can Automate

Power Query, DAX, Power Pivot, Excel Tables, PivotTables, and data connections. ranges, formulas, formatting, worksheets, files, calculation, and named ranges. charts, slicers, conditional formatting, screenshots, drawings, and sparklines. VBA, Python in Excel, Goal Seek, scenarios, data tables, windows, and XML Maps.

Explore the complete reference for all 326 operations.

See It in Action

A sales table, regional summary, and chart created in the real Excel application by Excel MCP Server

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.

MCP Server or CLI?

Both entry points expose the same Core commands and behavior.

| Interface | Best for | Why | |---|---|---| | MCP Server | Conversational assistants and exploratory work | Rich schemas, tool discovery, and persistent sessions | | CLI (excelcli) | Coding agents, automation, and scripts | One compact tool surface and substantially lower token usage |

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
        │
 ExcelMcp Core commands
        │
 Real Excel COM API

Read the architecture or browse the MCP Server and CLI guides.

⭐ GitHub Star History

GitHub stars over time for ExcelMcp

📋 Additional Information

Documentation · Changelog · Contributing · Security · Privacy

License: MIT License - see LICENSE file

Related Projects

Other projects by the author:

GitHub Stars & Activity

799Stars
90Forks
0Open issues
C#Language

GitHub Popularity

GitHub stars799
Forks90
Open issues0
Primary languageC#
License-
Stars gained today6
Created-
Last pushed-

Trending History

Daily boardrank #73 · ▲ 6 stars

Related AI Projects

1

dotnet / skills

C#★ 5,539⑂ 422▲ 8 stars
→
2

obra / superpowers

Shell★ 294,369⑂ 26,315▲ 561 stars
→
3

mattpocock / skills

Shell★ 274,594⑂ 23,053▲ 955 stars
→
4

affaan-m / ECC

JavaScript★ 271,104⑂ 40,507▲ 572 stars
→
5

n8n-io / n8n

TypeScript★ 206,509⑂ 60,972▲ 100 stars
→
6

msitarzewski / agency-agents

Shell★ 155,791⑂ 25,133▲ 130 stars
→
7

DietrichGebert / ponytail

JavaScript★ 151,548⑂ 8,127▲ 1,429 stars
→
8

JuliusBrussee / caveman

Go★ 109,003⑂ 6,314▲ 271 stars
→

More AI Rankings