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.0.tar.gz (5.7 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.0-py3-none-any.whl (9.7 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: mcp_excel-0.1.0.tar.gz
  • Upload date:
  • Size: 5.7 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.0.tar.gz
Algorithm Hash digest
SHA256 a2dad150fbb3c337569587d113b6112eac56587cb205dd8316f7ba8190add8a3
MD5 a423d7f5dd0a91f63bd3f1ac6a892bf5
BLAKE2b-256 8a215883d7f965c9a73bc6ba4e8ba84629421754c294b91af2effa1c34030108

See more details on using hashes here.

File details

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

File metadata

  • Download URL: mcp_excel-0.1.0-py3-none-any.whl
  • Upload date:
  • Size: 9.7 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.0-py3-none-any.whl
Algorithm Hash digest
SHA256 1257a3db32dca797c4175f275778d0b3488d9cf4475f427cec16a304c7550382
MD5 bca8f755ac82e1970c338acb94d8314a
BLAKE2b-256 ff63535f4a8db55106bedea2b112eeaebdfa0ae8f92e22434c0e7a61ba860bb6

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