U.S. Energy Information Administration Open Data API
The U.S. Energy Information Administration (EIA) Open Data API v2 provides free programmatic access to EIA's open energy data, including time-series datasets organized by energy category. The API uses a hierarchical route structure where each route corresponds to a category or dataset, and metadata about child routes, available facets, frequencies, and data columns is returned by querying any parent route. An API key, obtained via free registration at https://www.eia.gov/opendata/register.php, is required on every request and must be supplied as a URL query parameter.
What You Can Do
MCP Tools
getroot
List top-level data categories
getelectricityroutes
List electricity child routes
getelectricityretailsales
Query electricity retail sales time series
getnaturalgasroutes
List natural gas child routes
getnaturalgaspricesummary
Query natural gas price summary
getpetroleumroutes
List petroleum child routes
getpetroleumgasolinedieselprices
Query gasoline and diesel retail prices
getcoalroutes
List coal child routes
getnuclearoutagesroutes
List nuclear outage child routes
gettotalenergy
Query total energy time series
getinternationalroutes
List international child routes
getstateenergydata
Query State Energy Data System time series
getco2emissionsaggregates
Query CO2 emissions aggregates