Skip to content
Back to search

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.

Checked today

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
findsafeskills safety rating

Markdown

[![findsafeskills safety rating](/api/listings/sbroenne-mcp-server-excel/badge.svg)](/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

i

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.

  1. # ExcelMcp - MCP Server for Microsoft Excel
  2. [![VS Code Marketplace Installs](https://vsmarketplacebadges.dev/installs-short/sbroenne.excel-mcp.svg?label=VS%20Code%20Installs)](https://marketplace.visualstudio.com/items?itemName=sbroenne.excel-mcp)
  3. [![Downloads](https://img.shields.io/github/downloads/sbroenne/mcp-server-excel/total?label=GitHub%20Downloads)](https://github.com/sbroenne/mcp-server-excel/releases)
  4. [![CI Gate](https://github.com/sbroenne/mcp-server-excel/actions/workflows/ci.yml/badge.svg)](https://github.com/sbroenne/mcp-server-excel/actions/workflows/ci.yml)
  5. [![Release](https://img.shields.io/github/v/release/sbroenne/mcp-server-excel)](https://github.com/sbroenne/mcp-server-excel/releases/latest)
  6. [![License: MIT](https://img.shields.io/badge/License-MIT-yellow.svg)](https://opensource.org/licenses/MIT)
  7. [![.NET](https://img.shields.io/badge/.NET-10-blue.svg)](https://dotnet.microsoft.com/download/dotnet/10.0)
  8. [![Platform](https://img.shields.io/badge/platform-Windows-lightgrey.svg)](https://github.com/sbroenne/mcp-server-excel)
  9. [![Built with Copilot](https://img.shields.io/badge/Built%20with-GitHub%20Copilot-0366d6.svg)](https://copilot.github.com/)
  10. [**Website**](https://excelmcpserver.dev/) ·
  11. [**Installation**](https://excelmcpserver.dev/installation/) ·
  12. [**Features**](https://excelmcpserver.dev/features/) ·
  13. [**Troubleshooting**](https://excelmcpserver.dev/troubleshooting/) ·
  14. [**2-minute demo**](https://youtu.be/wbw3-hPcE2o)
  15. **Automate real Microsoft Excel with AI.** Excel MCP Server lets GitHub Copilot,
  16. Claude, ChatGPT, and other agents control Excel through natural-language
  17. requests—using either MCP or a token-efficient CLI.
  18. Unlike file-parser tools, ExcelMcp drives the **actual Excel application** through
  19. its official COM API. It can refresh Power Query, recalculate formulas, evaluate
  20. DAX, run VBA and Python `=PY()`, and preserve PivotTables, charts, macros, the
  21. Data Model, and workbook formatting.
  22. **64 MCP tools across 33 feature areas, with 437 operations**, cover end-to-end Excel automation.
  23. > [!IMPORTANT]
  24. > Requires **Windows**, **Microsoft Excel 2016 or later**, and an interactive
  25. > desktop. It is not intended for Linux, macOS, or server-side batch processing.
  26. ## 🚀 Get Started
  27. | Use case | Recommended path |
  28. |---|---|
  29. | **VS Code** | [Install the extension](https://marketplace.visualstudio.com/items?itemName=sbroenne.excel-mcp) |
  30. | **Claude Desktop or another MCP client** | [Install the MCP Server](https://excelmcpserver.dev/installation-mcp-server/) |
  31. | **Coding agents (fewer AI tokens)** | [Install the CLI](https://excelmcpserver.dev/installation-cli/) |
  32. | **Not sure which to choose?** | [Read the installation overview](https://excelmcpserver.dev/installation/) |
  33. For **GitHub Copilot CLI**, install either plugin from the
  34. [Awesome Copilot Excel listings](https://github.com/github/awesome-copilot/blob/main/plugins/external.json):
  35. ```powershell
  36. copilot plugin install excel-mcp@awesome-copilot
  37. # Or, for command-line Excel automation:
  38. copilot plugin install excel-cli@awesome-copilot
  39. ```
  40. For a workbook already open in Excel, use discovery and attachment to keep
  41. working in that workbook. Excel determines whether newly opened files are read-only.
  42. ## What You Can Automate
  43. - **[Data & analytics](https://excelmcpserver.dev/features/data-analytics/):**
  44. Power Query, DAX, Power Pivot, Excel Tables, PivotTables, and data connections.
  45. - **[Cells & workbooks](https://excelmcpserver.dev/features/cells-workbooks/):**
  46. ranges, formulas, formatting, worksheets, files, calculation, and named ranges.
  47. - **[Charts & visuals](https://excelmcpserver.dev/features/charts-visuals/):**
  48. charts, slicers, conditional formatting, screenshots, drawings, and sparklines.
  49. - **[Automation & advanced](https://excelmcpserver.dev/features/automation-advanced/):**
  50. VBA, Python in Excel, Goal Seek, scenarios, data tables, windows, and XML Maps.
  51. Explore the [capabilities behind all 437 operations](https://excelmcpserver.dev/features/).
  52. Current command details come from CLI help or the MCP tool descriptions.
  53. ## See It in Action
  54. [![A sales table, regional summary, and chart created in the real Excel application by Excel MCP Server](https://excelmcpserver.dev/assets/images/excel-demo-table-chart.png)](https://excelmcpserver.dev/use-cases/)
  55. Ask in plain language:
  56. - *"Import products.csv with Power Query and load it to the Data Model."*
  57. - *"Create a PivotTable showing revenue by region, then add a column chart."*
  58. - *"Use Goal Seek to find the price that produces $100,000 profit."*
  59. - *"Show me Excel while you work."*
  60. Because Excel performs the work, you can inspect results live and continue editing
  61. the workbook normally.
  62. [See more examples and use cases](https://excelmcpserver.dev/use-cases/).
  63. ## MCP Server or CLI?
  64. Both entry points expose the same Excel commands and behavior, so the choice is
  65. technical. Coding agents can use either one.
  66. | Interface | Works with | Why |
  67. |---|---|---|
  68. | **MCP Server** | Any MCP-compatible client | Tool discovery and persistent sessions |
  69. | **CLI (`excelcli`)** | Agents that can run terminal commands | Built-in help without loading MCP tool definitions, usually with fewer AI tokens |
  70. Both entry points run Excel commands in separate worker processes, so a blocked
  71. Excel operation does not block their basic controls. The CLI also keeps a
  72. background service running so workbook sessions persist across commands.
  73. ```text
  74. AI assistant or script
  75. │
  76. MCP Server / CLI
  77. │
  78. Shared Excel commands
  79. │
  80. Real Excel COM API
  81. ```
  82. [Read the architecture](docs/ARCHITECTURE.md) or browse the
  83. [MCP Server](https://excelmcpserver.dev/mcp-server/) and
  84. [CLI](https://excelmcpserver.dev/cli/) guides.
  85. ## ⭐ GitHub Star History
  86. [![GitHub stars over time for ExcelMcp](https://excelmcpserver.dev/assets/images/star-history.svg)](https://github.com/sbroenne/mcp-server-excel/stargazers)
  87. ## 📋 Additional Information
  88. [Documentation](https://excelmcpserver.dev/) ·
  89. [Changelog](https://excelmcpserver.dev/changelog/) ·
  90. [Contributing](https://excelmcpserver.dev/contributing/) ·
  91. [Security](https://excelmcpserver.dev/security/) ·
  92. [Privacy](https://excelmcpserver.dev/privacy/)
  93. **License:** MIT License - see [LICENSE](LICENSE) file
  94. ## Related Projects
  95. Other projects by the author:
  96. - [PowerPoint MCP Server](https://powerpointmcpserver.dev/) — AI-powered PowerPoint automation via MCP, the sister project to this one
  97. - [pytest-skill-engineering](https://github.com/sbroenne/pytest-skill-engineering) — LLM-powered testing framework for AI agents
  98. - [Windows MCP Server](https://windowsmcpserver.dev/) — AI-powered Windows automation via MCP
  99. - [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 in

Free to use. If it’s helped, pass it on.