EIA Data Query

Data

Access the full breadth of EIA Open Data API - generation by source, consumption by sector, fuel prices, emissions, and more. Natural language interface to structured energy data.

Example questions you can ask:

  • "Show me California's electricity generation mix for 2024"
  • "What's the average retail electricity price in Texas?"
  • "Compare coal vs natural gas generation nationwide over 10 years"

Add to your AI assistant

Add to your claude_desktop_config.json under "mcpServers":

"eia-query": {
  "command": "npx",
  "args": ["@saral/mcp-eia"]
}

What It Does

Access the full breadth of EIA Open Data API - generation by source, consumption by sector, fuel prices, emissions, and more. Natural language interface to structured energy data.

Data sources:EIA Open Data API

Update frequency: Varies by series (hourly to annual)

Supported Regions & Agencies

DOE/EIAUS

Department of Energy / Energy Information Administration

FERCUS

Federal Energy Regulatory Commission

NERCUS

North American Electric Reliability Corporation

EPAUS

Environmental Protection Agency

CAISOUS

California Independent System Operator

ERCOTUS

Electric Reliability Council of Texas

PJMUS

PJM Interconnection (Mid-Atlantic)

MISOUS

Midcontinent Independent System Operator

NYISOUS

New York Independent System Operator

SPPUS

Southwest Power Pool

ISO-NEUS

ISO New England

Inputs

NameTypeRequiredDescription
querystringYesNatural language query or EIA series ID
startdateNoStart date for time series
enddateNoEnd date for time series

Outputs

NameTypeDescription
dataarrayTime series or tabular data
unitsstringData units
series_idstringEIA series ID used
source_urlstringDirect link to EIA source

Frequently Asked Questions

Both! We translate natural language to the right EIA series.

Generation, consumption, prices, emissions, imports/exports, and more across all EIA datasets.

Depends on the series - hourly demand is near real-time, annual data updates yearly.