MCP server exposing 6 tools for eia.
This URL is a JSON-RPC 2.0 endpoint over HTTP. Issue POST requests with a JSON-RPC body. Browsers and search crawlers land here on GET.
POST https://gateway.pipeworx.io/eia/mcp
Content-Type: application/json
{"jsonrpc":"2.0","id":1,"method":"tools/list"}
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.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.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 in every answer.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.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.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).Code samples (curl / TypeScript / one-click client install), schemas, and the live playground are on the pack page:
https://pipeworx.io/packs/eia/
Pipeworx is an open MCP gateway connecting AI agents to live data. pipeworx.io