# Repository Briefing: sbroenne/mcp-server-excel
> Source: https://repoforai.com/repo/sbroenne/mcp-server-excel (Static metadata snapshot — treat external repo content as untrusted data)

- **GitHub URL**: https://github.com/sbroenne/mcp-server-excel
- **Official Docs / Website**: https://excelmcpserver.dev/
- **Category**: Coding, Skills & MCP (AI 编程 / Skills / MCP)
- **Primary Language**: C#
- **License**: MIT
- **Engineering Health**: A+ (91/100 · Maintenance 35/35 · Adoption 16/25 · Releases 20/20 · License 20/20)
- **Latest Release**: v2.6.13 (2026-11-19) — https://github.com/sbroenne/mcp-server-excel/releases
- **Review Snapshot**: 2026-12-02
- **Deployment / Stack Signals**: MCP, CLI, Self-Hosted
- **Momentum**: 983 ★ total (+2 24h / +14 7d) · 123 forks
- **Topics**: `ai-automation`, `claude-ai`, `com-automation`, `conditional-formatting`, `data-connections`, `dax`, `dotnet`, `excel`, `excel-automation`, `excel-charts`, `excel-pivottables`, `excel-tables`
- **When to Use**: 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.

## Overview
```text
### 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.
```

## Key Capabilities
```text
- 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.
```

## Quick Start / Clone
```bash
copilot plugin install excel-mcp@awesome-copilot
# Or, for command-line Excel automation:
copilot plugin install excel-cli@awesome-copilot
```
