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
- Clone the repository
- Install development dependencies:
pip install -e ".[dev]"
- Run tests:
pytest
License
MIT License
Project details
Release history Release notifications | RSS feed
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)
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
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
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
a2dad150fbb3c337569587d113b6112eac56587cb205dd8316f7ba8190add8a3
|
|
| MD5 |
a423d7f5dd0a91f63bd3f1ac6a892bf5
|
|
| BLAKE2b-256 |
8a215883d7f965c9a73bc6ba4e8ba84629421754c294b91af2effa1c34030108
|
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
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
1257a3db32dca797c4175f275778d0b3488d9cf4475f427cec16a304c7550382
|
|
| MD5 |
bca8f755ac82e1970c338acb94d8314a
|
|
| BLAKE2b-256 |
ff63535f4a8db55106bedea2b112eeaebdfa0ae8f92e22434c0e7a61ba860bb6
|