SuperAPIAI Directory

mcp-server-excel

github.com · AI coding

#️⃣ 🏠 🪟 - Automate the Excel app on Windows: Power Query, DAX, VBA, PivotTables, tables, charts, ranges and formatting.

Open website Alternatives
PricingOpen source开源项目(可免费自部署)
PlatformsmacOS · Linux

About this tool

ExcelMcp is an MCP server (Model Context Protocol Server) for Microsoft Excel that also provides a command-line interface (CLI). It allows AI agents such as GitHub Copilot, Claude, and ChatGPT to control the real Excel application through natural language requests.

[Purpose] Unlike tools that only parse files, ExcelMcp drives the actual Excel application through Excel's official COM API, so it can perform operations that require the Excel engine itself to participate, such as refreshing Power Query, recalculating formulas, evaluating DAX, running VBA and Python =PY(), and preserving pivot tables, charts, macros, the data model, and workbook formatting.

[Main Capabilities] The project provides 60 MCP tools, covering 31 functional areas, with a total of 414 operations. The main automation scope includes:

  • Data and analytics: Power Query, DAX, Power Pivot, Excel tables, pivot tables, and data connections.
  • Cells and workbooks: ranges, formulas, formatting, worksheets, files, calculations, and named ranges.
  • Charts and visual elements: charts, slicers, conditional formatting, screenshots, drawings, and sparklines.
  • Automation and advanced features: VBA, Python in Excel, Goal Seek, scenarios, data tables, windows, and XML mapping. Specific command details can be obtained through CLI help or MCP tool descriptions.

[Usage] Users can make requests to AI agents in natural language, for example:

  • "Use Power Query to import products.csv and load it into the data model."
  • "Create a pivot table showing revenue by region, then add a column chart."
  • "Use Goal Seek to find the price that produces a profit of $100,000."
  • "Show Excel while you work." Because the actual work is done by Excel, users can inspect the results in real time and continue editing the workbook normally.

ExcelMcp provides two entry points: the MCP server and the CLI, both of which expose the same core commands and behavior. The MCP server calls the ExcelMcp service in-process; the CLI uses a background daemon so that workbook sessions persist between commands.For GitHub Copilot CLI, either plugin can be installed from the Awesome Copilot Excel list.

[Applicable Scenarios] Suitable for tasks that require automating real Excel workbooks with AI in a Windows desktop environment, including Power Query refresh, DAX evaluation, VBA execution, pivot table and chart creation, formula calculation, and more.

[Limitations]

  • Requires Windows, Microsoft Excel 2016 or later, and an interactive desktop.
  • Not suitable for Linux, macOS, or server-side batch processing.
  • Already-open Excel workbooks must be closed before starting; ExcelMcp requires exclusive access during automation.

The project uses the MIT license. Links to the official website, installation, features, troubleshooting, and a 2-minute demo are available in the repository. Related projects include the author's other MCP servers: PowerPoint MCP Server, Windows MCP Server, OBS Studio MCP Server, and pytest-skill-engineering.

Up/Down to navigate · Enter to open · ESC to closeBrowse all tools