The Excel Data Integration for Claude via MCP Server is a thin wrapper around the OpenPyXl Python library that exposes some of its features as a Model Context Protocol (MCP) server. This allows Claude and other MCP clients to fetch and interact with data from Excel files seamlessly.
openpyxl_mcp_server
for macOS.openpyxl_mcp_server.exe
for Windows.claude_desktop_config.json
:macOS:
json
{
"mcpServers": {
"inspect_excel_xlsx_file": {
"command": "/Users/<YOUR-USERNAME>/Downloads/openpyxl_mcp_server",
"args": []
}
}
}
Windows:
json
{
"mcpServers": {
"inspect_excel_xlsx_file": {
"command": "C:\\Users\\<YOUR-USERNAME>\\Downloads\\openpyxl_mcp_server.exe",
"args": []
}
}
}
shell
git clone [email protected]:jonemo/openpyxl-mcp-server.git
cd openpyxl-mcp-server
shell
python -m venv venv
source venv/bin/activate
pip install -r requirements.txt
json
{
"mcpServers": {
"inspect_excel_xlsx_file": {
"command": "/Users/jonas/repos/openpyxl_mcp_server/venv/bin/python",
"args": ["/Users/jonas/repos/openpyxl_mcp_server/openpyxl_mcp_server.py"]
}
}
}
Prompt:
I have an Excel file in ~/Downloads/KimbroughEvelyn_A-5qg0_Dataset_20160624.xlsx that contains data associated with some study about air pollution near one or more ports in the United States. Can you infer from the file contents which ports are covered by this study?
Response:
The study is focused on the Port of Charleston, South Carolina.
Prompt:
~/Downloads/CASH FLOW 2024.xlsx are the finances of my home owner association. How much did we get billed for sprinkler system maintenance in 2024? How many transactions contributed to this total? When did each transaction happen?
Response:
Total amount billed: $565.00. Number of transactions: 1. Transaction date: September 9, 2024.
Prompt:
I need to file DPR973 because I work for a "cooperating association" for California State Parks. The form I have to fill out is this Excel sheet: /Users/jonas/Downloads/Annual Report DPR973.xlsx. We supported the State Parks by publishing books and generated revenue by selling firewood. Where in the workbook do I have to fill out cells?
Response:
Detailed instructions on filling out the form, including specific cells and sections.
Prompt:
Using the Excel file in "/Users/jonas/Downloads/2025-3-7-iolp-buildings.xlsx": What is the largest federal building by square footage in the state of Utah?
Response:
The IRS Service Center in Ogden is the largest federally-owned building in Utah on the list.
shell
pip install -r requirements.txt
pip install -r requirements-dev.txt
shell
pyinstaller openpyxl_mcp_server.spec
shell
codesign --force --deep --sign - dist/openpyxl_mcp_server