MCP Server Excel logo

MCP Server Excel

by sbroenne

Automates real Microsoft Excel on Windows through MCP, covering formulas, Power Query, DAX, VBA, PivotTables, charts, and workbooks.

Install MCP Server Excel

Run the project’s own setup commands, in order.

Setup steps from the project

sbroenne/mcp-server-excel installs with its own steps rather than a config we can generate, so these are copied as-is. Follow them in order and run the commands in a terminal. Source: github.com

  1. 1. Install
    copilot plugin install excel-mcp@awesome-copilot
    
  2. 2. Install
    copilot plugin install excel-cli@awesome-copilot
    

Overview

sbroenne/mcp-server-excel connects MCP-compatible agents to the real Microsoft Excel application through Excel's COM API. It exposes operations for workbooks, ranges, formulas, formatting, Power Query, DAX, VBA, Python in Excel, PivotTables, charts, and more. Use it when preserving Excel-native features such as macros, the Data Model, formatting, and live workbook behavior matters more than editing files with a parser. It requires Windows, Excel 2016 or later, and an interactive desktop.

Use cases

  • Import CSV data with Power Query and load it into the Data Model
  • Create PivotTables and charts from workbook data
  • Use Goal Seek to solve for a target profit
  • Run VBA or Python in Excel against a live workbook
  • Inspect and edit an already open Excel workbook

Key features

  • Controls the real Excel application through COM
  • Supports Power Query, DAX, Power Pivot, and data connections
  • Automates worksheets, ranges, formulas, formatting, and named ranges
  • Creates and manages PivotTables, charts, slicers, and sparklines
  • Runs VBA, Python in Excel, Goal Seek, scenarios, and data tables
  • Preserves macros, the Data Model, PivotTables, charts, and formatting

Security & health

What it can reach and how reliably it runs — from our own checks, not the maintainer’s claims.

ActiveLast checked

Recent health check succeeded.

29/30 checks healthy over the last 105d

Adoption & maintenance

Factual signals from GitHub, npm, and our automated checks — not a rating.

GitHub stars934Stargazers on the source repository.
Last commit1d agoMost recent push to the default branch.
Directory activity17 viewsConfig copies, upvotes, and views on AllMCPs.

How MCP Server Excel works

What sbroenne/mcp-server-excel does

sbroenne/mcp-server-excel lets AI agents operate Microsoft Excel through the Model Context Protocol. Rather than constructing or parsing .xlsx files independently, it controls an installed Excel application through the official COM API. This allows workbook changes and calculations to occur in Excel itself, while retaining Excel features such as macros, PivotTables, charts, the Data Model, and workbook formatting.

The project groups its functionality across data analysis, workbook and cell editing, visual elements, and advanced automation. Its documented operations include Power Query refreshes, DAX evaluation, formula recalculation, VBA execution, Python in Excel with =PY(), Goal Seek, scenarios, data tables, XML Maps, named ranges, slicers, screenshots, drawings, and sparklines.

How it works

An AI assistant or script sends requests through the MCP server. The server routes those requests to shared Excel commands, which invoke the live Excel application through COM. MCP provides tool discovery and persistent sessions; the project also offers a separate excelcli entry point for agents that can run terminal commands. Both interfaces expose the same Excel commands and behavior.

Excel can be discovered and attached when a workbook is already open, allowing work to continue in that session. Operations run in separate worker processes, so a blocked Excel action does not prevent basic controls from responding. The CLI additionally maintains a background service so workbook sessions persist between commands.

Setup and configuration

The server runs on Windows and requires Microsoft Excel 2016 or later plus an interactive desktop. It is not intended for Linux, macOS, or server-side batch processing.

Available installation paths include the VS Code Marketplace extension and the MCP server installation for Claude Desktop or another MCP client. Coding agents that can execute terminal commands can instead use the excelcli package. GitHub Copilot CLI users can install the excel-mcp plugin or the command-line excel-cli plugin from the referenced Awesome Copilot listings.

Tools and capabilities

The server documents 63 MCP tools spanning 33 feature areas and 433 operations, including:

  • Importing and loading data with Power Query
  • Evaluating DAX and working with Power Pivot, tables, data connections, and PivotTables
  • Reading and modifying cells, ranges, worksheets, formulas, named ranges, and files
  • Applying formatting and conditional formatting
  • Creating and managing charts, slicers, drawings, screenshots, and sparklines
  • Running VBA and Python in Excel
  • Using Goal Seek, scenarios, data tables, windows, and XML Maps
  • Recalculating formulas and controlling workbook or application behavior

Because commands execute in Excel, users can inspect the workbook while an agent works and continue editing it normally afterward.

Limitations and notes

The dependency on the desktop Excel application is central to the design. A Windows host, Excel 2016 or later, and an interactive desktop are required, so the server is unsuitable for Linux, macOS, and unattended server-side batch jobs. Newly opened workbooks may be read-only according to Excel's own behavior. The MCP server and CLI are separate entry points, but they share the same underlying Excel command set.

Written by AllMCPs with AI assistance from the project’s README and listing data. How we build listings

Reviews

No reviews yet — be the first to share how it worked for you.

Frequently Asked Questions about MCP Server Excel

sbroenne/mcp-server-excel is an MCP server that connects AI agents to the real Microsoft Excel application through its COM API. Its main tools automate workbooks, ranges, formulas, Power Query, DAX, VBA, PivotTables, charts, formatting, and other Excel operations while preserving native workbook features.

Install the VS Code extension or follow the MCP server installation path for Claude Desktop and other MCP clients. Coding agents that can run terminal commands can use the separate excelcli installation path. GitHub Copilot CLI also supports the excel-mcp plugin.

It works with MCP-compatible clients, and the project describes its MCP server as usable with any MCP-compatible client. The documented setup specifically names VS Code and Claude Desktop, while the server also supports other clients that implement MCP.

No. It requires Windows, Microsoft Excel 2016 or later, and an interactive desktop. The project is not intended for Linux, macOS, or server-side batch processing.

Yes. Use workbook discovery and attachment to continue working with an Excel file that is already open. Excel determines whether newly opened files are read-only.

Related MCP servers

Add a badge to your READMEShow it’s listed — live SVG, Markdown or HTML.

AllMCPs Directory Badge

Full Badge Customizer

Showcase your server listing on GitHub or your project documentation. Embed this dynamic SVG badge to highlight official listing status and live engagement.

Badge Style:
Live Dynamic SVG PreviewMCP Server Excel AllMCPs Directory Badge
Markdown (GitHub README)
[![AllMCPs](https://allmcps.com/api/badge/sbroenne-mcp-server-excel?style=directory)](https://allmcps.com/mcp/sbroenne-mcp-server-excel)
HTML Embed
<a href="https://allmcps.com/mcp/sbroenne-mcp-server-excel"><img src="https://allmcps.com/api/badge/sbroenne-mcp-server-excel?style=directory" alt="MCP Server Excel on AllMCPs" /></a>