MCP Office Excel logo

MCP Office Excel

Local Windows MCP server with 65 tools for reading, editing, validating, formatting, and exporting Excel workbooks.

Install MCP Office Excel

Pick your client, then add it in one click or paste the config.

STDIOPython
~/Library/Application Support/Claude/claude_desktop_config.json
claude_desktop_config.json
{
  "mcpServers": {
    "mcp-office-excel": {
      "command": "uvx",
      "args": [
        "mcp-office"
      ],
      "env": {
        "EXCEL_ALLOWLIST_ROOTS": "YOUR_VALUE_HERE",
        "EXCEL_ENABLE_WRITE": "YOUR_VALUE_HERE"
      }
    }
  }
}

Settings → Developer → Edit Config, merge this into mcpServers, then fully quit and reopen Claude Desktop.

Values are written into the snippet above so you can paste it as is. They never leave your browser.

We couldn’t confirm it starts correctly

We ran the install command but it didn't respond within our test window — this can mean a slow first-time install rather than a real problem.

uvx mcp-office

Process exited before answering initialize.

This is an experimental automated check and can have false negatives — missing environment variables, a slow cold install, etc. It doesn’t necessarily mean something’s wrong. Last checked .

Overview

MCP Office Excel MCP server exposes 65 tools for reading, writing, styling, validating, and exporting local .xlsx workbooks. It runs as a Python stdio process and connects to MCP clients such as Claude Desktop or VS Code with GitHub Copilot. Read-only workbook operations can work without Microsoft Office, while COM-backed features such as styling and PDF export require Office on Windows. Reach for it when an agent needs governed access to Excel files stored in an allowed local directory.

Use cases

  • Inspect local Excel workbooks
  • Update workbook content with write access enabled
  • Validate spreadsheet files before delivery
  • Apply Excel formatting on Windows with Office installed
  • Export workbooks to PDF through Office automation

Key features

  • 65 Excel-focused MCP tools
  • Read and write .xlsx workbooks
  • Workbook styling and validation
  • Workbook export
  • Allowlisted local file access
  • Python stdio deployment

Security & health

What it can reach and how reliably it runs — from our own checks, not the maintainer’s claims.

ActiveLast checked

Recent health check succeeded.

17/17 checks healthy over the last 78d

Supply-chain signal

No high-severity advisories surfaced by our automated scan.

Critical 0High 0Medium 0Low 0

Scanned 3d ago via OSV.dev · mcp-office (PyPI)

Adoption & maintenance

Factual signals from GitHub, npm, and our automated checks — not a rating.

GitHub stars9Stargazers on the source repository.
Last commit2mo agoMost recent push to the default branch.
Install checkInconclusiveDidn't respond in our test window — often a slow first install.

How MCP Office Excel works

What MCP Office Excel does

MCP Office Excel MCP server gives an MCP client structured operations for local Excel workbooks. The package provides 65 tools covering workbook reading, cell and file updates, styling, validation, and export. It is part of the MCP Office suite, but the Excel package can be configured as its own MCP server with the excelmcp.server module.

The server is intended for developer-controlled Office automation rather than an in-application AI assistant. File access is scoped through configured allowlisted directories, and writing can be enabled explicitly. This makes it suitable for workflows where an agent needs to inspect or update .xlsx files while the developer controls which local paths are available.

How it works

MCP Office Excel MCP server runs locally as a Python process using the MCP stdio protocol. An MCP client starts the process and sends tool calls; the server then works with Excel files on the local machine. The repository describes the implementation as using local Python components including openpyxl, with COM support for operations that depend on Microsoft Office.

Read-only .xlsx operations do not require Office. Features that depend on COM, including styling and PDF export, require a local Microsoft Office installation. Windows 10 or 11 is required for the COM automation path. Python 3.11 or later is also required.

Setup and configuration

Install the suite package rather than a similarly named third-party package:

Terminal
pip install mcp-office

For a source installation with Windows COM support, clone the repository, create a Python virtual environment, activate it, and install the optional com extra. Configure the MCP client to launch:

text
python -m excelmcp.server

The example Claude Desktop configuration uses EXCEL_ALLOWLIST_ROOTS to identify the directory containing permitted Office files and EXCEL_ENABLE_WRITE to control write access. Replace the example path with the directory used for your workbooks, then restart the client. The configured Python executable must point to the environment where mcp-office is installed.

Tools and capabilities

The MCP Office Excel MCP server supports these capability areas:

  • Read workbook content and structure.
  • Write changes to Excel files when writing is enabled.
  • Apply workbook or worksheet styling through Office-dependent operations.
  • Validate workbook data or structure.
  • Export workbook output, including PDF export where the required Office components are available.
  • Report its available tool set through the capabilities() call.

The package exposes 65 tools in total.

Limitations and notes

MCP Office Excel MCP server is Windows-first: Windows 10 or 11 is required for COM automation, and Microsoft Office is needed for COM-backed features. Without Office, the supported read-only .xlsx operations remain available, but Office-dependent styling and PDF export do not.

The server is local and does not add a hosted service. The MCP client, model, Microsoft Office, or other connected software may still have separate synchronization or data-handling behavior. Access is limited by the configured allowlist, and write operations depend on the write setting. The repository identifies the project as MIT licensed and describes the Excel package as available through the mcp-office distribution.

Written by AllMCPs with AI assistance from the project’s README and listing data. How we build listings

Reviews

No reviews yet — be the first to share how it worked for you.

Frequently Asked Questions about MCP Office Excel

MCP Office Excel is an MCP server that connects MCP clients to local Excel workbooks on Windows and exposes 65 tools for reading, writing, styling, validating, and exporting .xlsx files. It runs as a local Python stdio process and can use Microsoft Office for COM-backed operations.

Install it with `pip install mcp-office`, not `pip install excelmcp`. The latter is identified as an unrelated third-party package. You can also clone the repository and install the source distribution with the optional COM dependencies.

Set `EXCEL_ALLOWLIST_ROOTS` to the directory containing permitted workbooks and configure `EXCEL_ENABLE_WRITE` when write operations are needed. Launch the server with `python -m excelmcp.server` from the environment where `mcp-office` is installed.

Yes, MCP Office Excel works with Claude Desktop through a local stdio configuration. Add the Excel server command and its environment variables to Claude Desktop's configuration file, then restart the application.

Microsoft Office is required for COM-backed features such as styling and PDF export, but the documented read-only `.xlsx` tools work without Office. Windows 10 or 11 is required for the COM automation path.

Related MCP servers

Add a badge to your READMEShow it’s listed — live SVG, Markdown or HTML.

AllMCPs Directory Badge

Full Badge Customizer

Showcase your server listing on GitHub or your project documentation. Embed this dynamic SVG badge to highlight official listing status and live engagement.

Badge Style:
Live Dynamic SVG PreviewMCP Office Excel AllMCPs Directory Badge
Markdown (GitHub README)
[![AllMCPs](https://allmcps.com/api/badge/mcp-office-excel?style=directory)](https://allmcps.com/mcp/mcp-office-excel)
HTML Embed
<a href="https://allmcps.com/mcp/mcp-office-excel"><img src="https://allmcps.com/api/badge/mcp-office-excel?style=directory" alt="MCP Office Excel on AllMCPs" /></a>