Skip to main content

MCP server to give client the ability to read Excel files

Project description

mcp-excel

MCP server to give client the ability to read Excel files

Usage

For this MCP server to work, add the following configuration to your MCP config file:

{
  "mcpServers": {
    "excel": {
      "command": "uv",
      "args": [
        "run",
        "python",
        "-m",
        "mcp_excel"
      ]
    }
  }
}

Features

  • Read Excel files and get their content as pandas DataFrames
  • Extract Excel properties including:
    • Data validation rules
    • Dropdown lists
    • Merged cells
    • Hidden rows and columns
  • Comprehensive error handling
  • Full test coverage

Requirements

  • Python >= 3.12
  • pandas >= 2.2.3
  • openpyxl >= 3.1.5
  • mcp[cli] >= 1.3.0

Development

  1. Clone the repository
  2. Install development dependencies:
    pip install -e ".[dev]"
    
  3. Run tests:
    pytest
    

License

MIT License

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

mcp_excel-0.1.1.tar.gz (4.8 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

mcp_excel-0.1.1-py3-none-any.whl (4.4 kB view details)

Uploaded Python 3

File details

Details for the file mcp_excel-0.1.1.tar.gz.

File metadata

  • Download URL: mcp_excel-0.1.1.tar.gz
  • Upload date:
  • Size: 4.8 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.12.1

File hashes

Hashes for mcp_excel-0.1.1.tar.gz
Algorithm Hash digest
SHA256 60be582b83fc1154a7a1576d3dbacae8fdec276569925ed7136bbdbfc2123dc1
MD5 dfda1b3f718bd20068aaf4cbfd46b7ad
BLAKE2b-256 1a3a139177bdc243a2b1526768ca196e811ddf794fa567213b8bb08d0e075275

See more details on using hashes here.

File details

Details for the file mcp_excel-0.1.1-py3-none-any.whl.

File metadata

  • Download URL: mcp_excel-0.1.1-py3-none-any.whl
  • Upload date:
  • Size: 4.4 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.12.1

File hashes

Hashes for mcp_excel-0.1.1-py3-none-any.whl
Algorithm Hash digest
SHA256 75af8016ff24b170de259e4dc0a58a5313dcf3935135fcfb974850bbd93d923f
MD5 647b21661b58053a07606bd4364af6fc
BLAKE2b-256 32bddbed2727a29124fa3bd946349a3fe64f210303df61e342f4461de12f0e99

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page