sbroenne/mcp-server-excel

▲ 10 stars today★ 881⑂ 108

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

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, and charts. It currently holds 881 stars and 108 forks with 9 open issues, and was last pushed on 2026-11-10 (repository created 2025-10-19).

Project Overview

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

GitHub Repository Details

Repository sbroenne/mcp-server-excel · default branch main · size 35273 KB · watchers 5 · 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.

64 MCP tools across 33 feature areas, with 437 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 (fewer AI tokens) | Install the CLI | | Not sure which to choose? | Read the installation overview |

For GitHub Copilot CLI, install either plugin from the Awesome Copilot Excel listings:

copilot plugin install excel-mcp@awesome-copilot

Or, for command-line Excel automation:

copilot plugin install excel-cli@awesome-copilot

For a workbook already open in Excel, use discovery and attachment to keep working in that workbook. Excel determines whether newly opened files are read-only.

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 capabilities behind all 437 operations. Current command details come from CLI help or the MCP tool descriptions.

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 Excel commands and behavior, so the choice is technical. Coding agents can use either one.

| Interface | Works with | Why | |---|---|---| | MCP Server | Any MCP-compatible client | Tool discovery and persistent sessions | | CLI (excelcli) | Agents that can run terminal commands | Built-in help without loading MCP tool definitions, usually with fewer AI tokens |

Both entry points run Excel commands in separate worker processes, so a blocked Excel operation does not block their basic controls. The CLI also keeps a background service running so workbook sessions persist across commands.

AI assistant or script
        │
   MCP Server / CLI
        │
 Shared Excel 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

881Stars
108Forks
9Open issues
C#Language

GitHub Popularity

GitHub stars881
Forks108
Open issues9
Primary languageC#
LicenseMIT
Stars gained today10
Created2025-10-19
Last pushed2026-11-10

Trending History

Daily boardrank #58 · ▲ 10 stars

Related AI Projects

1

babalae / better-genshin-impact

C#★ 17,894⑂ 1,329▲ 44 stars
→
2

ersinkoc / phonebox

C#★ 153⑂ 16
→
3

morluto / rea

TypeScript★ 449,551⑂ 0
→
4

mattpocock / skills

Shell★ 320,732⑂ 26,897▲ 1,223 stars
→
5

obra / superpowers

Shell★ 315,649⑂ 28,071▲ 583 stars
→
6

affaan-m / ECC

JavaScript★ 300,702⑂ 0
→
7

deepseek-ai / deepseek-harness

TypeScript★ 278,124⑂ 0
→
8

NousResearch / hermes-agent

Python★ 262,404⑂ 0
→

More AI Rankings