
ExcelMcp
MCPDrives desktop Excel on Windows: refresh Power Query, build pivot tables and charts, evaluate DAX and run VBA while keeping existing formulas and formatting, so finance and admin staff can automate existing reports. Needs Windows, Excel 2016+ and Node.js; no macOS.
ExcelMcp - MCP Server for Microsoft Excel
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.
63 MCP tools across 33 feature areas, with 418 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 case | Recommended path |
|---|---|
| VS Code | Install the extension |
| Claude Desktop or another MCP client | Install the MCP Server |
| Coding agents (fewer AI tokens) | Install the CLI |
| Not sure which to choose? | Read the installation overview |
For GitHub Copilot CLI, install either plugin from the Awesome Copilot Excel listings:
copilot plugin install excel-mcp@awesome-copilot
# Or, for command-line Excel automation:
copilot plugin install excel-cli@awesome-copilot
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 418 operations. Current command details come from CLI help or the MCP tool descriptions.
See It in Action
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, so the choice is technical. Coding agents can use either one.
| Interface | Works with | Why |
|---|---|---|
| MCP Server | Any MCP-compatible client | Tool discovery and persistent sessions |
CLI (excelcli) | Agents that can run terminal commands | Built-in help without loading MCP tool definitions, usually with fewer AI tokens |
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
📋 Additional Information
Documentation · Changelog · Contributing · Security · Privacy
License: MIT License - see LICENSE file
Related Projects
Other projects by the author:
- PowerPoint MCP Server — AI-powered PowerPoint automation via MCP, the sister project to this one
- pytest-skill-engineering — LLM-powered testing framework for AI agents
- Windows MCP Server — AI-powered Windows automation via MCP
- OBS Studio MCP Server — AI-powered OBS Studio automation
関連リソース

Excel MCP Server
MCPCreate, read and modify xlsx workbooks without Microsoft Excel installed: formulas, formatting and conditional formatting, charts, pivot tables and tables. Runs locally over stdio or as a remote HTTP service.
haris-musa/excel-mcp-server4.2k
XLSX
SkillCreates, edits and analyzes Excel spreadsheets: formulas, formatting, charts and data cleaning, plus conversion between CSV, TSV and other tabular formats. The official Anthropic skill behind Claude's document features; source-available, not open source.
anthropics/skills182k
clean-data-xls
SkillOfficial Anthropic skill for cleaning messy Excel exports: trims spaces, standardizes case and dates, converts text numbers, dedupes, and flags mixed types, garbled text and errors. Keeps originals via helper-column formulas and confirms each step. Works in Claude for Excel; local files need Python.
anthropics/financial-services40.1k
audit-xls
SkillOfficial Anthropic finance skill that checks Excel for formula errors like #REF!, numbers hardcoded in formulas, sum ranges that miss rows and mixed units; on full models it also checks the balance sheet balances and cash ties. Lists issues and fixes and asks before changing anything.
anthropics/financial-services40.1k
minimax-xlsx
SkillMiniMax's official Excel skill: read, analyze, create, edit and validate xlsx files and fix broken formulas. Edits existing files at the XML level to keep formatting, formulas and pivot tables; writes results as formulas with finance-style color coding. Needs Python (pandas); LibreOffice optional.
MiniMax-AI/skills13.7k
Camelot
CLIOpen-source PDF table extraction with a camelot CLI: exports tables from financial reports, bank statements and statistical reports to Excel, CSV or Markdown, with an accuracy score. Needs Python 3.10+; handles text-based PDFs by default, scans need the ml and ocr extras. Double-check results.
camelot-dev/camelot3.8k
