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.
接入配置
选择客户端,复制配置,再按项目文档补齐环境变量。
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"
]
}
}
}