A thin wrapper around the OpenPyXl Python library that exposes some of its features as Model Context Protocol (MCP) server. This allows Claude and other MCP clients to fetch data from Excel files.
Setup
Choose your client, copy the config, then fill in any required environment variables.
claude mcp add openpyxl -- python -m venv venv~/.codex/config.toml
[mcp_servers.openpyxl]
command = "python"
args = ["-m", "venv", "venv"]
# codex mcp add openpyxl -- python -m venv venv~/.cursor/mcp.json
{
"mcpServers": {
"openpyxl": {
"command": "python",
"args": [
"-m",
"venv",
"venv"
]
}
}
}.vscode/mcp.json
{
"servers": {
"openpyxl": {
"type": "stdio",
"command": "python",
"args": [
"-m",
"venv",
"venv"
]
}
}
}~/.gemini/settings.json
{
"mcpServers": {
"openpyxl": {
"command": "python",
"args": [
"-m",
"venv",
"venv"
]
}
}
}claude_desktop_config.json
{
"mcpServers": {
"openpyxl": {
"command": "python",
"args": [
"-m",
"venv",
"venv"
]
}
}
}.trae/mcp.json
{
"mcpServers": {
"openpyxl": {
"command": "python",
"args": [
"-m",
"venv",
"venv"
]
}
}
}