Skip to content
AddHunt
MCP servers

Excel MCP Server

Drive desktop Microsoft Excel from AI assistants

Works with WindowsOpen source

  • Open source
  • Licence: MIT

In short

Excel MCP Server is an open-source MCP server and CLI that lets GitHub Copilot, Claude and other AI assistants operate the real Microsoft Excel application on Windows. It is for analysts and developers who want agents to work with Power Query, DAX, VBA, PivotTables and charts.

What you get

  • Controls real Excel through its COM API
  • Power Query refresh and M code editing
  • DAX queries against the Data Model
  • VBA macros and Python in Excel
  • PivotTables, charts, slicers and conditional formatting
  • MCP server plus a standalone CLI

The details

Excel MCP Server takes a different route from file-parsing tools: instead of reading and rewriting .xlsx files directly, it controls the running Excel application through Excel's official COM API. Excel itself opens, recalculates and saves the workbook, so computed results come from Excel's own engine.

What an agent can do

Because the real application does the work, an assistant can pull fresh data through Power Query, have Excel recalculate, update PivotTables and the Data Model, run DAX queries, and execute VBA macros or Python in Excel formulas. The project points out that parser-based approaches can lose PivotTables, charts and macros and cannot run Power Query or DAX at all. Users can also ask the agent to show Excel on screen while it works.

Coverage

The documentation spans workbooks, sheets and ranges, Excel Tables, Power Query and M code, the Data Model, PivotTables, What-If Analysis, charts, conditional formatting, slicers and screenshots, along with guidance on how agents should sequence operations.

Requirements

It needs Windows and a desktop copy of Microsoft Excel, version 2016 or newer, used in an interactive session. Installation options include VS Code, Awesome Copilot and a standalone CLI. The code is published under the MIT license, and example videos show agents building dashboards from World Bank data.

Alternatives to Excel MCP Server

Questions

What are the system requirements?

It needs Windows and a desktop copy of Microsoft Excel, version 2016 or newer, used in an interactive session.

How is it different from file-based Excel tools?

It drives the Excel application itself rather than editing the .xlsx file, so features such as Power Query, the Data Model and DAX can run, and PivotTables, charts and macros are kept.

Which AI assistants can use it?

GitHub Copilot, Claude and any other MCP client, with install options for VS Code and Awesome Copilot as well as a CLI.

More like this