Odel
eia mcp gridsense

eia mcp gridsense

Local
@pranavbhosale25PythonUpdated 2mo ago

MCP server for US electricity grid data: fuel mix, demand, retail prices, CO2 emissions

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 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

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"
      }
    }
  }
}