Skip to content
FunCoding

Search

Search docs, agents, posts, Skills and MCP servers

mcp-server-excel

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

README

ExcelMcp - MCP Server for Microsoft Excel

VS Code Marketplace Installs Downloads

CI Gate Release

License: MIT .NET Platform Built with Copilot

Website · Installation · Features · Troubleshooting · 2-minute demo

Automate real Microsoft Excel with AI. Excel MCP Server lets GitHub Copilot, Claude, ChatGPT, and other agents control Excel through natural-language requests—using either MCP or a token-efficient CLI.

Unlike file-parser tools, ExcelMcp drives the actual Excel application through its official COM API. It can refresh Power Query, recalculate formulas, evaluate DAX, run VBA and Python =PY(), and preserve PivotTables, charts, macros, the Data Model, and workbook formatting.

60 MCP tools across 31 feature areas, with 388 operations, cover end-to-end Excel automation.

[!IMPORTANT] Requires Windows, Microsoft Excel 2016 or later, and an interactive desktop. It is not intended for Linux, macOS, or server-side batch processing.

🚀 Get Started

Use caseRecommended path
VS CodeInstall the extension
Claude Desktop or another MCP clientInstall the MCP Server
Coding agents and scriptsInstall the CLI
Not sure which to choose?Read the installation overview

Close open Excel workbooks before starting; ExcelMcp requires exclusive access while automating them.

What You Can Automate

  • Data & analytics: Power Query, DAX, Power Pivot, Excel Tables, PivotTables, and data connections.
  • Cells & workbooks: ranges, formulas, formatting, worksheets, files, calculation, and named ranges.
  • Charts & visuals: charts, slicers, conditional formatting, screenshots, drawings, and sparklines.
  • Automation & advanced: VBA, Python in Excel, Goal Seek, scenarios, data tables, windows, and XML Maps.

Explore the capabilities behind all 388 operations. Current command details come from CLI help or the MCP tool descriptions.

See It in Action

A sales table, regional summary, and chart created in the real Excel application by Excel MCP Server

Ask in plain language:

  • "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."
  • "Use Goal Seek to find the price that produces $100,000 profit."
  • "Show me Excel while you work."

Because Excel performs the work, you can inspect results live and continue editing the workbook normally.

See more examples and use cases.

MCP Server or CLI?

Both entry points expose the same Core commands and behavior.

InterfaceBest forWhy
MCP ServerConversational assistants and exploratory workRich schemas, tool discovery, and persistent sessions
CLI (excelcli)Coding agents, automation, and scriptsOne compact tool surface and substantially lower token usage

The MCP Server calls the ExcelMcp service in-process. The CLI uses a background daemon so workbook sessions persist across commands.

AI assistant or script
        │
   MCP Server / CLI
        │
 ExcelMcp Core commands
        │
 Real Excel COM API

Read the architecture or browse the MCP Server and CLI guides.

⭐ GitHub Star History

GitHub stars over time for ExcelMcp

📋 Additional Information

Documentation · Changelog · Contributing · Security · Privacy

License: MIT License - see LICENSE file

Other projects by the author:

Similar MCP servers

Official
github/github-mcp-server33k

github-mcp-server

GitHub's official MCP Server

Projects & collaboration

jgravelle/jcodemunch-mcp2.7k

jcodemunch-mcp

Cut AI token costs 95%+ on code exploration. The leading MCP server for precise, symbol-level GitHub code retrieval via tree-sitter AST. Works with Claude Code, Cursor & any MCP client. 313B+ tokens saved.

Projects & collaboration

korotovsky/slack-mcp-server1.9k

slack-mcp-server

The most powerful MCP Slack Server with no permission requirements, Apps support, GovSlack, DMs, Group DMs and smart history fetch logic.

Projects & collaboration

Official
atlassian/atlassian-mcp-server1.1k

Atlassian Rovo MCP Server

Connect to Atlassian Jira, Confluence, Loom, and more to search, create, and manage your work.

Projects & collaboration

suekou/mcp-notion-server920

mcp-notion-server

A Model Context Protocol server for connecting Notion to MCP-compatible clients

Projects & collaboration

riponcm/projectmem852

projectmem

Open-source coding agents memory. Records issues, attempts, fixes and decisions, then warns your agent before it repeats an approach that already failed. Native MCP server for Claude Code, Cursor, Antigravity and Codex. 100% local, no cloud, no telemetry. MIT.

Projects & collaboration