Skip to content
Excel MCP Server (ExcelMcp)

Excel MCP Server (ExcelMcp)

Released
v2.6.13
MIT

Summary

Open-source MCP server and CLI that drives the real Microsoft Excel app on Windows through its COM API: Power Query, DAX and the Data Model, PivotTables, charts, VBA and formulas, with workbooks left intact.

Features

  • Drives desktop Excel through its COM API instead of parsing files
  • Power Query refresh, Power Pivot, DAX queries and the Data Model
  • PivotTables, charts, slicers, sparklines and conditional formatting
  • VBA, Python in Excel, Goal Seek, scenarios and data tables
  • 64 MCP tools with 437 operations, plus the token-efficient excelcli
  • npm, VS Code extension, Claude Desktop bundle or standalone executable

Installation

Set up this MCP server in your favorite AI agent — copy a ready-made configuration below.

Any MCP-compatible agent

Most agents (Claude, Cursor, Windsurf, VS Code, and more) read a standard mcpServers configuration.

  1. Open your agent's MCP configuration file.
  2. Merge the snippet below into it.
  3. Restart the agent — the "Excel MCP Server (ExcelMcp)" tools will be available.
{
  "mcpServers": {
    "excelmcp": {
      "command": "npx",
      "args": [
        "-y",
        "@sbroenne/mcp-server-excel@latest"
      ]
    }
  }
}

Description

ExcelMcp is an independent, MIT-licensed Model Context Protocol server that lets GitHub Copilot, Claude, ChatGPT, Cursor and other agents automate Microsoft Excel itself rather than parsing .xlsx files. Because it works through Excel's official COM API, the actual application does the work: Power Query refreshes, formulas recalculate, DAX is evaluated, VBA and Python in Excel (=PY()) run, and PivotTables, charts, macros, the Data Model and formatting are preserved. You can watch the workbook change and keep editing it by hand.

Its 64 tools cover 437 operations across four areas: data and analytics (Power Query, Power Pivot and DAX, Excel Tables, PivotTables, data connections), cells and workbooks (ranges, formulas, formatting, worksheets, named ranges, calculation modes), charts and visuals (charts, slicers, conditional formatting, sparklines, drawings, screenshots), and automation (VBA, Goal Seek, scenarios, data tables, XML maps). It can also attach to a workbook already open in Excel. The same commands are available as excelcli, a command-line tool that coding agents can call with fewer tokens than a full MCP tool list; both run Excel commands in separate worker processes so a stuck operation does not block the server.

It requires Windows 10 or later, desktop Excel 2016 or later and an interactive signed-in desktop, so it does not run on macOS, Linux or headless servers. Install options are the npm package @sbroenne/mcp-server-excel (Node.js 18+, run with npx; x64 and ARM64 builds), a VS Code extension, a one-click Claude Desktop bundle, GitHub Copilot CLI plugins, a self-contained standalone executable or a .NET tool. It is a community project, not a Microsoft product.

MCP: Excel MCP Server

by Haris Musa

New

Create, read and edit Excel workbooks from an agent — charts, real PivotTables, slicers, formulas and conditional formatting — with no Microsoft Excel installed, on Windows, macOS or Linux.

New

MCP server and CLI that automate Windows Sandbox so an agent can boot a fresh, throwaway Windows 11 PC, deploy an app, drive its UI, collect evidence and delete the machine.

A native x64dbg plugin exposing 84 debugging tools and 22 event callbacks over HTTP, so an AI assistant can drive breakpoints, memory and disassembly directly.

Browse all MCP servers →