MCP Server for Excel

Registre officiel IA et agents

Excel automation for AI - Sheets, Power Query, DAX, VBA, Tables, Ranges and more. Windows only.

Que pouvez-vous faire avec MCP Server for Excel ?

Installation

Ajoutez ceci à la configuration MCP de votre client (Claude Desktop : claude_desktop_config.json ; Cursor : .cursor/mcp.json ; VS Code et les autres utilisent la même forme « mcpServers »).

NUGET package Sbroenne.ExcelMcp.McpServer
Claude Code
claude mcp add mcp-server-for-excel -- dnx Sbroenne.ExcelMcp.McpServer@2.5.6 --yes
Configuration JSON (Claude Desktop, Cursor, VS Code)
{
    "mcpServers": {
        "mcp-server-for-excel": {
            "command": "dnx",
            "args": [
                "Sbroenne.ExcelMcp.McpServer@2.5.6",
                "--yes"
            ]
        }
    }
}
NPM package @sbroenne/mcp-server-excel
Claude Code
claude mcp add mcp-server-for-excel -- npx -y @sbroenne/mcp-server-excel@2.5.6
Configuration JSON (Claude Desktop, Cursor, VS Code)
{
    "mcpServers": {
        "mcp-server-for-excel": {
            "command": "npx",
            "args": [
                "-y",
                "@sbroenne/mcp-server-excel@2.5.6"
            ]
        }
    }
}

Documentation

Tirée du README du projet sur GitHub, actualisée chaque semaine. Les liens ouvrent GitHub.

Sommaire
  1. ExcelMcp - MCP Server for Microsoft Excel
  2. 🚀 Get Started
  3. What You Can Automate
  4. See It in Action
  5. MCP Server or CLI?
  6. ⭐ GitHub Star History
  7. 📋 Additional Information
  8. Related Projects

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 424 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 (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 424 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 Excel commands and behavior, so the choice is technical. Coding agents can use either one.

InterfaceWorks withWhy
MCP ServerAny MCP-compatible clientTool discovery and persistent sessions
CLI (excelcli)Agents that can run terminal commandsBuilt-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
        │
 Shared Excel 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

Other projects by the author:

Questions fréquentes

Qu'est-ce que MCP Server for Excel ?

Excel automation for AI - Sheets, Power Query, DAX, VBA, Tables, Ranges and more. Windows only.

Comment installer MCP Server for Excel ?

Il s'exécute sur votre machine. Dans Claude Code : claude mcp add mcp-server-for-excel -- dnx Sbroenne.ExcelMcp.McpServer@2.5.6 --yes. Pour les autres clients, collez la configuration JSON de cette page dans leurs réglages MCP.

Faut-il une clé API pour MCP Server for Excel ?

Son entrée au registre n'indique aucune clé ni secret obligatoire. Certaines fonctions peuvent tout de même demander un compte auprès du service auquel il se connecte.

MCP Server for Excel est-il open source ?

Oui. Son code est sur GitHub sous licence MIT.

Qui maintient MCP Server for Excel ?

Il est publié par sbroenne. AI.tn le référence sans le maintenir ni le recommander.

Issu du registre MCP officiel. Être listé n'est pas une recommandation : vérifiez le code et les permissions d'un serveur avant de lui donner accès à vos données.