M

MCP Office Excel

MCP server · by dosev-ai

Data & Analytics Python v0.7.0

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

View source ↗ Generate config for multiple servers More servers

Install

registry version 0.7.0

Python
uvx mcp-office

Setup by client

Pick your client — the config below is generated for this server (local stdio). Copy respects the “Pin version” switch above.

claude_desktop_config.json

{
  "mcpServers": {
    "mcp-office-excel": {
      "command": "uvx",
      "args": [
        "mcp-office"
      ],
      "env": {
        "EXCEL_ALLOWLIST_ROOTS": "<YOUR_EXCEL_ALLOWLIST_ROOTS>"
      }
    }
  }
}

Format verified against the official Claude Desktop docs ↗.

Environment variables

Defined in the server's official registry manifest. Required secrets are shown as <YOUR_…> placeholders in the configs above.

  • EXCEL_ALLOWLIST_ROOTS required — Comma-separated directory roots allowed for file access. Required — no files are accessible without this.
  • EXCEL_ENABLE_WRITE — Set to 'true' to enable write operations (cell writes, sheet creation, formatting).
  • EXCEL_ENABLE_COM — Set to 'true' to activate COM-backed tools: recalculate_workbook, export_as_pdf, hydrate_template, pivot_table, and evaluate_formula(live=True). Windows-only — requires pywin32 and Microsoft Excel.
  • EXCEL_MAX_ITEMS — Maximum number of rows/items returned per call. Default: 50.

GitHub

⭐ 8 stars · 最近更新于 58 天前 · MIT license

These star and push figures are for the shared repository — 3 listings on this site point at the same repository.

About this server

Distributed as Python, listed under Data & Analytics. Review our MCP security guide before granting access to real data.

Frequently asked questions

How do I install MCP Office Excel?

Run the install command shown above, then paste the config for your client (Claude Desktop, Claude Code, Cursor, VS Code or Windsurf) into its MCP settings and restart the client.

Is MCP Office Excel free to use?

The MCP server itself is free to install. The source is public on https://github.com/dosev-ai/mcp-office. Any third-party service it calls may require its own API key and account.

Which clients support MCP Office Excel?

Any MCP-compatible client can use it, including Claude Desktop, Claude Code, Cursor, VS Code, Windsurf and custom agents.

Add this badge

Publish this server? Link back with a badge on your README or site — copy either snippet.

Listed on MCPNav

Markdown

[![Listed on MCPNav](https://mcpnav.net/badge/mcp-office-excel.svg)](https://mcpnav.net/server/mcp-office-excel/)

HTML

<a href="https://mcpnav.net/server/mcp-office-excel/"><img src="https://mcpnav.net/badge/mcp-office-excel.svg" alt="Listed on MCPNav" height="20"></a>