Install eia-energy-mcp-server for Claude Desktop
Claude Desktop reads mcpServers from claude_desktop_config.json. Restart the app after saving.
- Open ~/Library/Application Support/Claude/claude_desktop_config.json on macOS, %APPDATA%\Claude\claude_desktop_config.json on Windows, or ~/.config/Claude/claude_desktop_config.json on Linux.
- Paste the JSON config below.
- Replace placeholder secrets, then restart the client if it does not reload on its own.
~/Library/Application Support/Claude/claude_desktop_config.json
{
"mcpServers": {
"cyanheads-eia-energy-mcp-server": {
"command": "npx",
"args": [
"-y",
"@cyanheads/eia-energy-mcp-server@0.4.4"
],
"env": {
"EIA_API_KEY": "",
"EIA_DATASET_TTL_SECONDS": "86400",
"EIA_DATAFRAME_DROP_ENABLED": "false",
"EIA_CANVAS_MAX_ROWS": "25000",
"EIA_FACET_VALUE_CAP": "50",
"CANVAS_PROVIDER_TYPE": "",
"MCP_LOG_LEVEL": "info"
}
}
}
}