Skip to content
Skillpedia
● Free and open sourceπŸ’» LocalπŸ”“ No API keyData and databases

Excel MCP Server

Lets your AI agent control the real Microsoft Excel app: edit sheets, run Power Query and DAX, build PivotTables and charts.

853 stars on GitHubby sbroenneLicense MITUpdated 18 days ago

How to install

This MCP is local: it runs on your computer.

It works in apps installed on your PC (Claude Desktop, Claude Code, Cursor, VS Code…). Choose your app:

Paste in the terminal:

claude mcp add excel -- npx -y @sbroenne/mcp-server-excel

Ready! Now test it

Restart the app and paste one of these requests in the chat:

Import products.csv with Power Query and load it to the Data Model.
Create a PivotTable showing revenue by region, then add a column chart.

What it is

This server connects your AI agent to the actual Microsoft Excel application on your Windows PC, not just to spreadsheet files. The agent can work with ranges, formulas, tables, Power Query, DAX, VBA, PivotTables and charts. You can watch the results in Excel while the agent works and keep editing the workbook yourself.

What it can do

  • Power Query, DAX, Power Pivot and data connections
  • Ranges, formulas, formatting, worksheets and named ranges
  • Excel Tables and PivotTables
  • Charts, slicers, conditional formatting and screenshots
  • VBA, Python in Excel, Goal Seek and scenarios

When to use

  • β€ΊWhen you want to build a PivotTable and a chart from a CSV file just by describing it.
  • β€ΊWhen you need formulas recalculated or Power Query refreshed in a real workbook.
  • β€ΊWhen you want an agent to clean up and format a workbook you already have open in Excel.

What you need

Windows, Microsoft Excel 2016 or later and an interactive desktop. It is not meant for Linux, macOS or server-side batch jobs.

Skills that pair well

⭐ Skillpedia MCP Β· freeYour agent finds the right skill on its ownInstall our MCP and your agent searches 15,000+ skills whenever it needs one.Install for free β†’

Frequently asked questions

Is it free and open source?

It is released under the MIT License. The readme does not mention any price for the server itself.

Does it need Excel installed?

Yes. It drives the real Excel application through its COM API, so Excel 2016 or later must be installed.

Does it work on Mac or Linux?

No. It requires Windows and is not intended for Linux, macOS or server-side use.

Which AI tools can use it?

GitHub Copilot, Claude, ChatGPT and other agents that support MCP. There is also a command line version, excelcli, for agents that can run terminal commands.

Does it keep my workbook features?

Because Excel does the work, PivotTables, charts, macros, the Data Model and formatting are preserved.

How many tools does it have?

The readme lists 64 MCP tools across 33 feature areas, covering 437 operations.

If it does not work

  • β€ΊCheck that you are on Windows with Excel 2016 or later and that you are logged in to an interactive desktop session.
  • β€ΊFollow the installation guide for your client at excelmcpserver.dev, then restart the client fully.
  • β€ΊSee the troubleshooting page at excelmcpserver.dev/troubleshooting if it will not connect.

5 new skills a week. 1 minute to read.