← Back to Leaderboard
Msbroenne

sbroenne/mcp-server-excel

COM-backed MCP and CLI for editing and analyzing Excel workbooks in desktop Excel

Engineering Health (Methodology)
A+ · 91/100
Maintenance Activity
● Updated yesterday
Latest Release
v2.6.13
Commercial License Check
MIT · Commercial Friendly

Automated SPDX check for reference only — not legal advice. Disclaimer

Maintenance35/35
Fork Adoption16/25
Release Cadence20/20
License Clarity20/20
MCPCLISelf-Hosted1 README badge views (30d)
Total Stars
★ 983
24h Growth
+2
7d Growth
+14
Forks
123

GitHub Star History

Full-history star trajectory from GitHub official history. Switch ranges or hover any point for exact counts.

sbroenne/mcp-server-excel Star History (2025-11-10 - 2026-12-03) ALL-TIME STAR HISTORY (2025-11 – 2026-12) +982 in 388d · avg +3/day 1k 519 0 2025-11-10: ★ 12025-12-06: ★ 62026-01-03: ★ 122026-01-31: ★ 222026-02-28: ★ 522026-03-28: ★ 902026-04-25: ★ 1342026-05-23: ★ 1542026-06-20: ★ 1852026-07-18: ★ 3222026-08-15: ★ 5172026-09-12: ★ 6702026-10-10: ★ 8062026-11-03: ★ 8402026-12-03: ★ 983 ★ 983 2025-11 2026-05 2026-12

Evidence-Backed Technical Brief

AI Deep Review

Architecture & Core Mechanics

ExcelMcp is a C# automation stack with two entry points: an MCP server for tool discovery and persistent sessions, and excelcli for terminal-based agents. Both dispatch to a shared Excel command layer, which drives the installed Microsoft Excel application through its official COM API. Excel performs workbook calculations and modifications; neither entry point substitutes a file parser for the application.

Both entry points execute Excel commands in separate worker processes, keeping basic controls responsive if an Excel operation blocks. The CLI additionally runs a background service to retain workbook sessions across shell invocations. An agent can also discover and attach to a workbook already open in Excel. The C# solution lives in Sbroenne.ExcelMcp.sln; the root package.json is for Changesets tooling, not a Node.js server runtime.

Key Capabilities & Differentiators

The MCP surface comprises 64 tools across 33 feature areas and 437 operations, with the same Excel functionality available through the CLI. The analysis workflow can span Power Query refreshes, data connections, DAX evaluation, Power Pivot, and PivotTables. For workbook editing, the interfaces cover cells, formulas, named ranges, formatting, charts, slicers, and conditional formatting, with calculation delegated to Excel itself.

Using the application directly also lets agents preserve features such as macros, charts, PivotTables, and the Data Model while editing an existing workbook. Beyond editing, the stack can run VBA and Python in Excel (=PY()) and use facilities such as Goal Seek and scenarios. The Windows and Excel version baseline establishes where the automation can run; it does not guarantee that every advanced feature is available in every Excel installation.

Trade-offs & Limitations

Compared with a cross-platform workbook file library, COM automation buys access to Excel's calculation engine and application-level objects. That matters when a workflow must refresh a query, preserve a Data Model, or update a PivotTable in an existing workbook. For routine cell reads and writes, a file library avoids the desktop dependency and is a better fit for unattended jobs. Excel also determines whether a newly opened workbook is read-only, so write access is not guaranteed by the automation layer.

Within ExcelMcp, choose MCP for client-native tool discovery and the CLI when an agent can consult built-in help on demand instead of loading MCP tool definitions. The latter can reduce token use, but it does not change how Excel performs the work. Worker isolation protects basic controls from a blocked operation; it does not make Excel a headless service. The MIT license covers ExcelMcp, not the required Excel installation.

Hardware & Deployment Guide

Self-host on a Windows machine with Microsoft Excel 2016 or later and an interactive desktop. Use the VS Code extension for VS Code, the MCP server for a client such as Claude Desktop, or excelcli for an agent with shell access. GitHub Copilot CLI also has plugin paths for both interfaces. Plan the deployment around the desktop Excel session, not a Linux container or an unattended server job.

Capacity planning should focus on the Excel workload: try representative workbooks, query refreshes, recalculations, and overlapping sessions before choosing a host size. The v2.6.11–v2.6.13 release series consistently presents MCP and CLI as functionally equivalent and describes lower CLI token usage as workload-dependent. Local workbook execution is separate from the network requirements of the AI client and any workbook data connections.

Execution: C# tooling drives installed Microsoft Excel through COM rather than editing workbook files directly.
Tool surface: 64 MCP tools cover 33 feature areas and 437 operations; excelcli exposes the same Excel functionality.
Workbook state: Discover and attach to an open workbook; the CLI background service retains sessions across invocations.
Worker isolation: Both entry points run Excel commands in separate worker processes so a blocked operation does not block basic controls.
Analytics: Refresh Power Query, evaluate DAX, and work with data connections, the Data Model, and PivotTables.
Runtime boundary: Windows, Excel 2016 or later, and an interactive desktop; not designed for server-side batch processing.
Best For

Windows-based analysts and coding agents that need to refresh Power Query, update PivotTables, or edit existing workbooks without losing Excel-specific features, with results inspectable in the desktop application.

Skip If

The workload must run unattended, the target is Linux or macOS, or the job only needs basic file reads and writes without an installed copy of Excel.

Reviewed on 2026-12-02 · Grounded in GitHub README, root file tree & releasesMethodology

Quick Start & Installation

MCPCLISelf-Hosted
copilot plugin install excel-mcp@awesome-copilot
# Or, for command-line Excel automation:
copilot plugin install excel-cli@awesome-copilot

Comparison vs. Top Coding, Skills & MCP Alternatives

Full comparison →
RepositoryStars7d TrendStackLicenseCore Positioning
mcp-server-excel ★983+14C#MITCOM-backed MCP and CLI for editing and analyzing Excel workbooks in desktop Exce
claude-code-best-practice69.6k+191HTMLMITClaude Code playbook for agent orchestration and cross-model review
rea488.8k+7.6kTypeScriptMITA local CLI and MCP server for evidence-backed app and binary analysis
skills338.7k+4.4kShellMITComposable Markdown skills that bring engineering workflows to coding agents

AI Context Briefing (for Claude / Cursor / Windsurf)

Standardized architecture summary & quickstart commands ready to paste into coding agents.

Raw .md ↗
curl -sL https://repoforai.com/repo/sbroenne/mcp-server-excel.md

Embed Star History Chart & Badges in README.md

Full-history Star History SVGs and velocity cards on GitHub Camo: drop-in replacement for OSSInsight and Star History widgets.

sbroenne/mcp-server-excel Star History on RepoForAI

Active README embeds unlock Hot-Tier 6h Telemetry Refresh automatically (zero pay-to-rank).

Frequently Asked Questions about mcp-server-excel

Should I connect my agent over MCP or use `excelcli`?

Choose MCP when your client benefits from tool discovery and persistent workbook sessions. Choose excelcli when the agent can run shell commands and look up usage through built-in help. Both interfaces expose the same Excel operations; the CLI can use fewer AI tokens, but the difference depends on the task, model, and client.

What hardware should I provision, and does ExcelMcp need a GPU?

The required automation stack is Windows, desktop Excel 2016 or later, and an interactive desktop. There is no stated GPU or VRAM requirement for the automation layer. Size the machine by testing representative workbooks, especially large Data Models, query refreshes, recalculations, and concurrent workbook sessions. Budget separately for your AI client or model.

Can we self-host it commercially and keep workbook data local?

ExcelMcp is MIT-licensed, so it can be self-hosted for commercial use subject to the MIT terms. That license does not cover Microsoft Excel; a properly licensed installation is still required. Running the automation locally does not imply offline operation or data residency: assess what the AI client sends externally and where workbook connections send or retrieve data.

When is this a better fit than a library that edits spreadsheet files directly?

If the integration must refresh Power Query, recalculate in Excel, evaluate DAX, or preserve advanced workbook objects while editing, use the COM-backed path. If it only reads or writes ordinary spreadsheet data and must run unattended on Linux, a cross-platform file library is the better fit.

Upstream README & Documentation

This profile focuses on independent engineering analysis and live telemetry. Read the full upstream README, changelog, and examples directly on GitHub.

Maintaining sbroenne/mcp-server-excel? Pin to Homepage + competitor /alternatives pages with a custom Cloud/Demo CTA.Feature sbroenne/mcp-server-excel on Homepage & Alternatives ($19)
WEEKLY BREAKOUT DIGEST

Top 10 Breakout Open-Source AI Repos, Every Thursday

Signal-only digest of fast-growing AI repos, SPDX license alerts, and architecture picks. Zero spam.

Zero spam · 1-click unsubscribe · Privacy Policy

Saved in your browser · Export Markdown RFC tables or jump into /vs compare