Eia
liveEnergyEconomicsGovernmentUS Energy Information Administration API v2 — petroleum prices, natural gas, electricity generation, and ethanol production data.
Tools
eia_seriesSearch 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.
No parameters required.
Try it
eia_petroleumGet 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 EI
No parameters required.
Try it
us_fuel_priceUS 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 Inform
No parameters required.
Try it
eia_natural_gasGet 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.
No parameters required.
Try it
eia_electricityGet 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.
No parameters required.
Try it
eia_ethanolGet fuel ethanol production volumes, stocks, and imports. Returns time series for ethanol supply chain metrics.
No parameters required.
Try it
Test with curl
The gateway speaks JSON-RPC 2.0 over HTTP POST. You can test any pack directly from the terminal.
curl -X POST https://gateway.pipeworx.io/eia/mcp \
-H "Content-Type: application/json" \
-d '{"jsonrpc":"2.0","id":1,"method":"tools/list"}'curl -X POST https://gateway.pipeworx.io/eia/mcp \
-H "Content-Type: application/json" \
-d '{"jsonrpc":"2.0","id":2,"method":"tools/call","params":{"name":"eia_series","arguments":{}}}'Use with the SDK
Install @pipeworx/sdk to call tools from any TypeScript/Node project.
import { Pipeworx } from '@pipeworx/sdk';
const px = new Pipeworx();
const result = await px.call("eia_series", {});// Or ask in plain English:
const answer = await px.ask("us energy information administration api v2 — petroleum prices, natural gas, electricity generation, and ethanol production data");