Skip to main content

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

Metadata

Release files for mcp-excel 0.1.2

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for mcp-excel 0.1.2
File Size Uploaded
mcp_excel-0.1.2.tar.gz 4.8 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for mcp-excel 0.1.2
File Interpreter ABI Platform
mcp_excel-0.1.2-py3-none-any.whl Python 3 none any Details

Total release size: 9.3 kB

Release files / mcp_excel-0.1.2.tar.gz

Download URL mcp_excel-0.1.2.tar.gz
Size 4.8 kB
Tags Source
SHA-256 checksum
How to use checksums
1a8da17d331efbcf6d880659e5440b969e01b7d86f79f498db8277785b5d19a6
BLAKE2b-256 checksum
How to use checksums
98014086f353817a5a81dba132f186597094938bbf9d37a2aa2f34b29c2b12da
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.1.0 CPython/3.12.1

Release files / mcp_excel-0.1.2-py3-none-any.whl

Download URL mcp_excel-0.1.2-py3-none-any.whl
Size 4.4 kB
Tags Python 3
SHA-256 checksum
How to use checksums
685f224f9729a685b43cd5c63ed8546675091ced8afc9e2a5aab2a429d778036
BLAKE2b-256 checksum
How to use checksums
493d3fab9fe45382fef0a6f60427dca5a4a865d4366b66e5186143b843c7faee
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.1.0 CPython/3.12.1

Release history Release notifications | RSS feed

This release

0.1.2 This release

2 release files

0.1.1

2 release files

0.1.0

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page