Eia
v0.2.1EIA MCP — US Energy Information Administration API v2
These tools were reported by the server itself during our smoke test (tools/list), not copied from the README.
eia_series
Search EIA for any energy data series by route path. Returns historical data points with timestamps and values. Use for specific energy metrics not covered by category tools.(e.g., "petroleum/pri/gnd" for gasoline prices, "natural-gas/pri/sum" for gas prices, "electricity/retail-sales" for electricity, "total-energy/data" for total energy). Returns time series with period, value, and metadata.
| Parameter | Type | Description |
|---|---|---|
_apiKey * | string | EIA API key (free from eia.gov) |
route * | string | EIA data route path. Common routes: "petroleum/pri/gnd" (gasoline/diesel prices), "petroleum/pri/spt" (crude oil spot prices), "petroleum/stoc/wstk" (petroleum stocks), "petroleum/sum/sndw" (petroleum… |
end | string | End date (optional) |
frequency | string | Data frequency: "weekly", "monthly", "quarterly", "annual" (optional) |
limit | number | Max records to return (default: 12, max: 5000) |
start | string | Start date, e.g., "2023-01" for monthly, "2023" for annual (optional) |
eia_petroleum
Get EIA petroleum time series data for a specific product (gasoline, diesel, crude, stocks, supply, production, imports). Returns prices or volumes by period with regional breakdowns. Requires free EIA API key.supply, production, and imports. Simplified interface to common EIA petroleum series.
| Parameter | Type | Description |
|---|---|---|
_apiKey * | string | EIA API key |
product * | string | Product type: "gasoline" (retail pump price), "diesel" (retail pump price), "crude" (WTI spot), "stocks", "supply", "production", "imports" |
area | string | Retail prices only: "US" (default, national average), "all" (every region EIA reports), or an EIA area code such as "R10" (East Coast) or "SCA" (California). |
end | string | End date (optional) |
frequency | string | Frequency: "weekly", "monthly", "annual" (optional; retail prices default to weekly) |
grade | string | Gasoline grade, for product "gasoline" only: "regular" (default — the national headline price), "midgrade", "premium", or "all" (all grades combined). |
start | string | Start date (optional) |
us_fuel_price
US gas station prices: the weekly national average retail pump price per gallon of regular, midgrade or premium gasoline, or diesel, from the U.S. Energy Information Administration's Weekly Retail Gasoline and Diesel Prices survey. Answers "current average US gas price", "national average price of regular unleaded", "how much is a gallon of gas", "diesel price at the pump". Pass fuel "gasoline" with grade (regular is the default, the national headline figure) or fuel "diesel"; area defaults to the US average. Returns the latest week first with the series name, so the grade and area are stated…
| Parameter | Type | Description |
|---|---|---|
_apiKey * | string | EIA API key |
area | string | "US" (default, national average), "all" (every region EIA reports), or an EIA area code such as "R10" (East Coast) or "SCA" (California). |
end | string | Latest week to include, YYYY-MM-DD (optional). |
fuel | string | Fuel: "gasoline" (default) or "diesel". |
grade | string | Gasoline grade: "regular" (default — the national headline price), "midgrade", "premium", or "all" (all grades combined). Ignored for diesel. |
start | string | Earliest week to include, YYYY-MM-DD (optional; default the most recent 24 weeks). |
eia_natural_gas
Get EIA natural gas time series for a named series (prices, production, consumption, storage, spot_prices). Returns period, value, and area metadata. Requires free EIA API key.Includes Henry Hub spot prices, underground storage, marketed production, and consumption by sector.
| Parameter | Type | Description |
|---|---|---|
_apiKey * | string | EIA API key |
series * | string | Data series: "prices", "production", "consumption", "storage", "spot_prices" |
end | string | End date (optional) |
frequency | string | Frequency: "weekly", "monthly", "annual" (optional) |
start | string | Start date (optional) |
eia_electricity
Get EIA electricity data for a named series (generation, retail_sales, prices, state_generation). Returns time series with period and value across fuel sources and regions. Requires free EIA API key.Covers coal, natural gas, nuclear, hydro, wind, and solar generation.
| Parameter | Type | Description |
|---|---|---|
_apiKey * | string | EIA API key |
series * | string | Data series: "generation", "retail_sales", "prices", "state_generation" |
end | string | End date (optional) |
frequency | string | Frequency: "monthly", "quarterly", "annual" (optional) |
start | string | Start date (optional) |
eia_ethanol
Get fuel ethanol production volumes, stocks, and imports. Returns time series for ethanol supply chain metrics.Key energy-agriculture intersection: most US ethanol is made from corn. Uses EIA petroleum supply data filtered for ethanol (EPOOXE product code).
| Parameter | Type | Description |
|---|---|---|
_apiKey * | string | EIA API key |
series * | string | Ethanol data type: "production", "stocks", "imports" |
end | string | End date (optional) |
frequency | string | Frequency: "weekly", "monthly" (optional, defaults to weekly) |
start | string | Start date (optional) |