NestDaddy

MCP Office Excel

io.github.dosev-ai/mcp-office-excel · v0.7.0

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

Connect Runs on your machine

Terminal
claude mcp add mcp-office-excel -e EXCEL_ALLOWLIST_ROOTS=<EXCEL_ALLOWLIST_ROOTS> -e EXCEL_ENABLE_WRITE=<EXCEL_ENABLE_WRITE> -e EXCEL_ENABLE_COM=<EXCEL_ENABLE_COM> -e EXCEL_MAX_ITEMS=<EXCEL_MAX_ITEMS> -- uvx mcp-office==0.7.0
claude_desktop_config.json
{
  "mcpServers": {
    "mcp-office-excel": {
      "command": "uvx",
      "args": [
        "mcp-office==0.7.0"
      ],
      "env": {
        "EXCEL_ALLOWLIST_ROOTS": "<EXCEL_ALLOWLIST_ROOTS>",
        "EXCEL_ENABLE_WRITE": "<EXCEL_ENABLE_WRITE>",
        "EXCEL_ENABLE_COM": "<EXCEL_ENABLE_COM>",
        "EXCEL_MAX_ITEMS": "<EXCEL_MAX_ITEMS>"
      }
    }
  }
}
~/.cursor/mcp.json
{
  "mcpServers": {
    "mcp-office-excel": {
      "command": "uvx",
      "args": [
        "mcp-office==0.7.0"
      ],
      "env": {
        "EXCEL_ALLOWLIST_ROOTS": "<EXCEL_ALLOWLIST_ROOTS>",
        "EXCEL_ENABLE_WRITE": "<EXCEL_ENABLE_WRITE>",
        "EXCEL_ENABLE_COM": "<EXCEL_ENABLE_COM>",
        "EXCEL_MAX_ITEMS": "<EXCEL_MAX_ITEMS>"
      }
    }
  }
}
.vscode/mcp.json
{
  "servers": {
    "mcp-office-excel": {
      "type": "stdio",
      "command": "uvx",
      "args": [
        "mcp-office==0.7.0"
      ],
      "env": {
        "EXCEL_ALLOWLIST_ROOTS": "<EXCEL_ALLOWLIST_ROOTS>",
        "EXCEL_ENABLE_WRITE": "<EXCEL_ENABLE_WRITE>",
        "EXCEL_ENABLE_COM": "<EXCEL_ENABLE_COM>",
        "EXCEL_MAX_ITEMS": "<EXCEL_MAX_ITEMS>"
      }
    }
  }
}

Replace the values in angle brackets with your own. Keys stay on your machine; we never see them.

Tools

This server runs locally, so its tools are listed by your MCP client once it starts.

Environment variables

NameDescription
EXCEL_ALLOWLIST_ROOTS
Required
Comma-separated directory roots allowed for file access. Required — no files are accessible without this.
EXCEL_ENABLE_WRITE
Optional
Set to 'true' to enable write operations (cell writes, sheet creation, formatting).
EXCEL_ENABLE_COM
Optional
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
Optional
Maximum number of rows/items returned per call. Default: 50.

Details

Package[email protected] (PYPI, stdio)
First published15 Jun 2026
Last updated15 Jun 2026
Registry nameio.github.dosev-ai/mcp-office-excel

More productivity servers See all

Listing data from the official MCP registry. Status and tools from NestDaddy's daily check. Browse all MCP servers.