# MCP Office Excel [Health: Active]

**Category:** 🏢 Workplace & Productivity  
**Repository:** https://github.com/dosev-ai/mcp-office  
**GitHub Stars:** 9  
**Views:** 0  
**Installs:** 0  
**Upvotes:** 0  
**Directory Page:** https://allmcps.com/mcp/mcp-office-excel

## Description
65-tool Excel MCP server. Read, write, format, and export .xlsx files. Windows-first.

## Claude Desktop Quick Installation
Install path detected from listing signals. Uses `uvx` (confidence: high):

```json
"mcpServers": {
  "mcp-office-excel": {
    "command": "uvx",
    "args": ["mcp-office"],
    "env": {
      "EXCEL_ALLOWLIST_ROOTS": "",
      "EXCEL_ENABLE_WRITE": ""
    }
  }
}
```

**Requires environment variables:** `EXCEL_ALLOWLIST_ROOTS`, `EXCEL_ENABLE_WRITE` — the values above are empty placeholders; fill in real credentials before running (see the repository for what each one is for).

## Documentation

## 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:

```bash
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.

_Full upstream README: https://allmcps.com/mcp/mcp-office-excel/readme_

