sbroenne/mcp-server-excel

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

What it solves

ExcelMcp allows AI agents (such as Claude, ChatGPT, and GitHub Copilot) to control the actual Microsoft Excel application on Windows. Unlike tools that simply parse files, this project provides a bridge for AI to perform complex operations like refreshing Power Query, running VBA/Python scripts, and managing PivotTables and charts directly within the live application.

How it works

The project implements the Model Context Protocol (MCP), allowing AI assistants to discover and expose 31 tools with 387 operations. It interacts with Excel via the official COM API, meaning the AI can drive the real Excel software. It offers two interfaces: an MCP Server for conversational assistants and a CLI for scripts and coding agents to reduce token usage.

Who it’s for

Windows users who want to automate their Excel workflows using natural language, specifically those who use advanced features like DAX, Power Pivot, and the Data Model.

Highlights

  • Live Application Control: Drives the real Excel app rather than editing files on disk.
  • Comprehensive Toolset: Provides 387 operations covering data analytics, cells, workbooks, and visuals.
  • Advanced Excel Support: Supports Power Query, DAX, VBA, and Python in Excel (=PY()).
  • Flexible Interfaces: Available as an MCP server for LLM clients or a CLI for automation scripts.

Related

  • Project
  • Project
  • Project
  • Project
  • Project