</>MCP Agents Market
MCP Server

mcp-server-excel

by sbroenne768C#Updated 2026-09-21

Automate real Microsoft Excel with AI via MCP Server or CLI — Power Query, DAX, VBA, PivotTables, charts, and 326 operations.

MCP Agents Market is an independent directory. We are not affiliated with sbroenne or mcp-server-excel, and we do not host or distribute it. All links point to the official GitHub repository.

Claude DesktopVS CodeGitHub CopilotChatGPT

ExcelMcp is an MCP server that gives AI assistants like Claude, ChatGPT, and GitHub Copilot direct control over the real Microsoft Excel application on Windows. Unlike file parsers, it automates Excel through its COM API to refresh Power Query data sources, execute DAX and VBA, manipulate PivotTables and charts, and preserve all workbook formatting and macros. The server exposes 31 tools covering 326 operations, and can also be used via a token-efficient CLI for coding agents and automation scripts.

Key Features

Automates the actual Excel desktop application via COM API, preserving PivotTables, charts, macros, and Data Model
Supports Power Query refresh, DAX calculation, VBA and Python script execution, and Goal Seek
Exposes 326 operations across 31 tools covering cells, formulas, formatting, worksheets, charts, slicers, and data connections
Available as both an MCP server for conversational assistants and a CLI for lower-token agent automation
Works with Claude Desktop, VS Code, GitHub Copilot, ChatGPT, and other MCP-compatible clients
Maintains persistent workbook sessions across commands via background daemon architecture
Handles Excel Tables, named ranges, conditional formatting, sparklines, screenshots, and XML Maps
Requires Windows and Excel 2016 or later with exclusive access to workbooks during automation

Use Cases

  • 01Import CSV files with Power Query and load data into the Excel Data Model for analysis
  • 02Generate PivotTables summarizing sales by region and automatically create companion charts
  • 03Run Goal Seek to find input values that achieve target profit or revenue goals
  • 04Execute VBA macros or Python scripts embedded in Excel workbooks from natural language prompts
  • 05Refresh data connections and recalculate DAX measures in Power Pivot models
  • 06Automate report generation by updating cells, applying formatting, and inserting charts programmatically

Related MCP Servers

View more

mcp-server-excel — FAQ

What is ExcelMcp and how does it differ from Excel file parsers?+

ExcelMcp is an MCP server that controls the actual Microsoft Excel desktop application through its COM API, rather than parsing .xlsx files. This allows it to refresh Power Query, run VBA and DAX, and preserve all Excel features like PivotTables, charts, and macros that file parsers cannot handle.

How do I install ExcelMcp for Claude Desktop?+

Install the MCP server package and add its configuration to Claude Desktop's MCP settings file. For VS Code with GitHub Copilot, install the Excel MCP extension from the VS Code Marketplace. For CLI usage with coding agents, install the excelcli tool following the installation guide.

Which AI clients work with ExcelMcp?+

ExcelMcp works with any MCP-compatible client including Claude Desktop, VS Code with GitHub Copilot, ChatGPT, and other assistants that support the Model Context Protocol. It also provides a CLI interface for scripting and coding agents.

What are the prerequisites for using ExcelMcp?+

You must be running Windows with Microsoft Excel 2016 or later installed and have an interactive desktop session. ExcelMcp requires exclusive access to workbooks while automating them, so close any open Excel files before starting. It does not work on Linux, macOS, or in server-side batch environments.

Is ExcelMcp free to use?+

Yes, ExcelMcp is open source and released under the MIT License, making it free for both personal and commercial use.

Can ExcelMcp run Python code in Excel?+

Yes, ExcelMcp can execute Python scripts using Excel's native =PY() function, as well as run VBA macros, evaluate DAX expressions, and automate other advanced Excel features.

How do I install mcp-server-excel?+

Open the source repository on GitHub and follow its README. mcp-server-excel is a mcp server — MCP Agents Market links you directly to the official repo.

Is mcp-server-excel free?+

mcp-server-excel is an open-source project hosted on GitHub. Check the repository for its license and any usage requirements.

Related searches