mcp-server-excel
Automate real Microsoft Excel with AI via MCP Server or CLI — Power Query, DAX, VBA, PivotTables, charts, and 326 operations.
Safety scan
A static text scan, not a guarantee. Select the badge to see what was scanned and every finding.
Check it deeper on your machine
It has changed since its scan on 11 Nov 2026.
As a Claude Code plugin, install it and then ask Claude Code:
/plugin marketplace add keithmackay/mackayi/plugin install scanskillsafety@mackayiDo a deep scan of https://github.com/sbroenne/mcp-server-excel with scanskillsafety
Or from a terminal, clone it and run it:
git clone https://github.com/keithmackay/scanskillsafety-skill ~/.claude/skills/scanskillsafetynode ~/.claude/skills/scanskillsafety/cli.cjs --deep 'https://github.com/sbroenne/mcp-server-excel'
It checks the exact commit: every file, its packages against OSV (api.osv.dev), how it compares with this page's scan (findsafeskills.com receives the repository's address), and, if you agree, Claude reading every file with your own Claude subscription. It never runs the code.
Badge for your README
Markdown
[](/listings/sbroenne-mcp-server-excel)HTML
<a href="/listings/sbroenne-mcp-server-excel"><img src="/api/listings/sbroenne-mcp-server-excel/badge.svg" alt="findsafeskills safety rating" /></a>Install
What was scanned
The files the safety scan read, as written by the repository's author and shown as plain text. Lines with a finding are marked.
README.md · README · 135 lines
View this file on GitHub (read at the repository's current version: the scan did not record which commit it read)
This file has changed since it was scanned, so this is not exactly the text that was scanned, and no line is marked. The findings are listed with the safety scan above.
- # ExcelMcp - MCP Server for Microsoft Excel
- [](https://marketplace.visualstudio.com/items?itemName=sbroenne.excel-mcp)
- [](https://github.com/sbroenne/mcp-server-excel/releases)
- [](https://github.com/sbroenne/mcp-server-excel/actions/workflows/ci.yml)
- [](https://github.com/sbroenne/mcp-server-excel/releases/latest)
- [](https://opensource.org/licenses/MIT)
- [](https://dotnet.microsoft.com/download/dotnet/10.0)
- [](https://github.com/sbroenne/mcp-server-excel)
- [](https://copilot.github.com/)
- [**Website**](https://excelmcpserver.dev/) ·
- [**Installation**](https://excelmcpserver.dev/installation/) ·
- [**Features**](https://excelmcpserver.dev/features/) ·
- [**Troubleshooting**](https://excelmcpserver.dev/troubleshooting/) ·
- [**2-minute demo**](https://youtu.be/wbw3-hPcE2o)
- **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.
- **64 MCP tools across 33 feature areas, with 437 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](https://marketplace.visualstudio.com/items?itemName=sbroenne.excel-mcp) |
- | **Claude Desktop or another MCP client** | [Install the MCP Server](https://excelmcpserver.dev/installation-mcp-server/) |
- | **Coding agents (fewer AI tokens)** | [Install the CLI](https://excelmcpserver.dev/installation-cli/) |
- | **Not sure which to choose?** | [Read the installation overview](https://excelmcpserver.dev/installation/) |
- For **GitHub Copilot CLI**, install either plugin from the
- [Awesome Copilot Excel listings](https://github.com/github/awesome-copilot/blob/main/plugins/external.json):
- ```powershell
- copilot plugin install excel-mcp@awesome-copilot
- # Or, for command-line Excel automation:
- copilot plugin install excel-cli@awesome-copilot
- ```
- For a workbook already open in Excel, use discovery and attachment to keep
- working in that workbook. Excel determines whether newly opened files are read-only.
- ## What You Can Automate
- - **[Data & analytics](https://excelmcpserver.dev/features/data-analytics/):**
- Power Query, DAX, Power Pivot, Excel Tables, PivotTables, and data connections.
- - **[Cells & workbooks](https://excelmcpserver.dev/features/cells-workbooks/):**
- ranges, formulas, formatting, worksheets, files, calculation, and named ranges.
- - **[Charts & visuals](https://excelmcpserver.dev/features/charts-visuals/):**
- charts, slicers, conditional formatting, screenshots, drawings, and sparklines.
- - **[Automation & advanced](https://excelmcpserver.dev/features/automation-advanced/):**
- VBA, Python in Excel, Goal Seek, scenarios, data tables, windows, and XML Maps.
- Explore the [capabilities behind all 437 operations](https://excelmcpserver.dev/features/).
- Current command details come from CLI help or the MCP tool descriptions.
- ## See It in Action
- [](https://excelmcpserver.dev/use-cases/)
- 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](https://excelmcpserver.dev/use-cases/).
- ## MCP Server or CLI?
- Both entry points expose the same Excel 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 |
- Both entry points run Excel commands in separate worker processes, so a blocked
- Excel operation does not block their basic controls. The CLI also keeps a
- background service running so workbook sessions persist across commands.
- ```text
- AI assistant or script
- │
- MCP Server / CLI
- │
- Shared Excel commands
- │
- Real Excel COM API
- ```
- [Read the architecture](docs/ARCHITECTURE.md) or browse the
- [MCP Server](https://excelmcpserver.dev/mcp-server/) and
- [CLI](https://excelmcpserver.dev/cli/) guides.
- ## ⭐ GitHub Star History
- [](https://github.com/sbroenne/mcp-server-excel/stargazers)
- ## 📋 Additional Information
- [Documentation](https://excelmcpserver.dev/) ·
- [Changelog](https://excelmcpserver.dev/changelog/) ·
- [Contributing](https://excelmcpserver.dev/contributing/) ·
- [Security](https://excelmcpserver.dev/security/) ·
- [Privacy](https://excelmcpserver.dev/privacy/)
- **License:** MIT License - see [LICENSE](LICENSE) file
- ## Related Projects
- Other projects by the author:
- - [PowerPoint MCP Server](https://powerpointmcpserver.dev/) — AI-powered PowerPoint automation via MCP, the sister project to this one
- - [pytest-skill-engineering](https://github.com/sbroenne/pytest-skill-engineering) — LLM-powered testing framework for AI agents
- - [Windows MCP Server](https://windowsmcpserver.dev/) — AI-powered Windows automation via MCP
- - [OBS Studio MCP Server](https://github.com/sbroenne/mcp-server-obs) — AI-powered OBS Studio automation
Ratings and comments
Sign in to rate this skill.
Sign inFree to use. If it’s helped, pass it on.