An MCP server exposing US electricity grid data from the EIA API:
-
get_fuel_mix— hourly generation by fuel source for a grid region -
get_electricity_demand— hourly demand for a grid region -
get_wholesale_prices— monthly retail price proxy for a state -
get_co2_emissions— annual CO2 emissions by state, electric power sector
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
{
"mcpServers": {
"eia-mcp-gridsense": {
"command": "uvx",
"args": ["eia-mcp-gridsense"],
"env": {
"EIA_API_KEY": "your-key-here"
}
}
}
}