drio
Open app

openpyxl_mcp_server

Source

A thin wrapper around the OpenPyXl Python library that exposes some of its features as Model Context Protocol (MCP) server. This allows Claude and other MCP clients to fetch data from Excel files.

Catalog onlyCatalog onlySTDIO

Overview

openpyxl-mcp-server is a wrapper around the OpenPyXl Python library that allows users to explore complex Excel workbooks through a Model Context Protocol (MCP) server. This enables clients like Claude to fetch data from Excel files seamlessly.

To use the server, clone the repository, set up a Python virtual environment, and install the required dependencies. Configure your MCP client (like Claude Desktop) to connect to the server using the provided JSON configuration.

  • Provides a simple interface to interact with Excel files using the OpenPyXl library. - Supports Model Context Protocol for easy data fetching by clients. - Allows for complex queries and data extraction from Excel workbooks.
  1. Analyzing air quality data from Excel files.
  2. Extracting financial information from bookkeeping spreadsheets.
  3. Assisting in filling out forms and reports using Excel data.

Add to your AI client

Use these steps to connect openpyxl_mcp_server in Cursor, Claude, VS Code, and other MCP-compatible apps. The same JSON appears in the Use with menu above for one-click copy.

Cursor

Add this to your .cursor/mcp.json file in your project root, then restart Cursor.

.cursor/mcp.json

{
  "mcpServers": {
    "openpyxl-mcp-server-jonemo": {
      "command": "npx",
      "args": [
        "-y",
        "@modelcontextprotocol/server-openpyxl-mcp-server-jonemo"
      ]
    }
  }
}

Claude Desktop

Add this server entry to the mcpServers object in your Claude Desktop config, then restart the app.

~/Library/Application Support/Claude/claude_desktop_config.json (macOS) or %APPDATA%\Claude\claude_desktop_config.json (Windows)

{
  "mcpServers": {
    "openpyxl-mcp-server-jonemo": {
      "command": "npx",
      "args": [
        "-y",
        "@modelcontextprotocol/server-openpyxl-mcp-server-jonemo"
      ]
    }
  }
}

Claude Code

Add this to your project's .mcp.json file. Claude Code will detect it automatically.

.mcp.json (project root)

{
  "mcpServers": {
    "openpyxl-mcp-server-jonemo": {
      "command": "npx",
      "args": [
        "-y",
        "@modelcontextprotocol/server-openpyxl-mcp-server-jonemo"
      ]
    }
  }
}

VS Code (Copilot)

Add this to your .vscode/mcp.json file. Requires the GitHub Copilot extension with MCP support enabled.

.vscode/mcp.json

{
  "servers": {
    "openpyxl-mcp-server-jonemo": {
      "type": "stdio",
      "command": "npx",
      "args": [
        "-y",
        "@modelcontextprotocol/server-openpyxl-mcp-server-jonemo"
      ]
    }
  }
}

Windsurf

Add this to your Windsurf MCP config file, then restart Windsurf.

~/.codeium/windsurf/mcp_config.json

{
  "mcpServers": {
    "openpyxl-mcp-server-jonemo": {
      "command": "npx",
      "args": [
        "-y",
        "@modelcontextprotocol/server-openpyxl-mcp-server-jonemo"
      ]
    }
  }
}

Cline

Open Cline settings, navigate to MCP Servers, and add this server configuration.

Cline MCP Settings (via UI)

{
  "mcpServers": {
    "openpyxl-mcp-server-jonemo": {
      "command": "npx",
      "args": [
        "-y",
        "@modelcontextprotocol/server-openpyxl-mcp-server-jonemo"
      ]
    }
  }
}

FAQ

Can I use this server with any Excel file?

Yes, as long as the file is compatible with the OpenPyXl library.

Is there a limit to the size of Excel files I can analyze?

The performance may vary based on the complexity and size of the workbook, but there is no strict limit.

Do I need to install any additional software?

You need Python and the OpenPyXl library, along with any dependencies specified in the requirements.