eia-mcp-gridsense
An MCP server exposing US electricity grid data from the EIA API:
get_fuel_mix— hourly generation by fuel source for a grid regionget_electricity_demand— hourly demand for a grid regionget_wholesale_prices— monthly retail price proxy for a stateget_co2_emissions— annual CO2 emissions by state, electric power sector
Setup
Requires an EIA API key: https://www.eia.gov/opendata/register.php
Set it as an environment variable (or in a local .env file, never committed):
EIA_API_KEY=your-key-here
Usage with Claude Desktop
{
"mcpServers": {
"eia-mcp-gridsense": {
"command": "uvx",
"args": ["eia-mcp-gridsense"],
"env": {
"EIA_API_KEY": "your-key-here"
}
}
}
}