mcp-server-excel
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.
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
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 morefirecrawl
The context API to search, scrape, and interact with the web at scale. 🔥
markitdown
Python tool for converting files and office documents to Markdown.
prompts.chat
f.k.a. Awesome ChatGPT Prompts. Share, discover, and collect prompts from the community. Free and open source — self-host for your organization with complete privacy.
langflow
Langflow is a powerful tool for building and deploying AI-powered agents and workflows.
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.