US Energy Information Administration API v2 MCP server for accessing energy data including petroleum, natural gas, electricity, and ethanol
EIA MCP provides 5 well-named, read-only tools with clear descriptions and documented input schemas. Tool names follow verb_noun convention (eia_series, eia_petroleum, etc.). Descriptions are substantive (150 - 250 chars) and explain use cases. Input schemas include types and descriptions for all parameters. However, output schemas are not documented, callers cannot predict response structure. Error handling is minimal (generic API errors). Parameters lack enums for constrained values (e.g., 'frequency' accepts free-form strings instead of enum ['weekly','monthly','quarterly','annual']). No pagination guidance despite tools returning up to 5000 records. Missing parameter constraints (min/max for 'limit'). Overall solid foundation but lacks production-grade polish.
Get electricity data — generation by fuel source, retail sales, and electricity prices. Covers coal, natural gas, nuclear, hydro, wind, and solar generation.
Get fuel ethanol data — production volumes, stock levels, and imports. Key energy-agriculture intersection: most US ethanol is made from corn. Uses EIA petroleum supply data filtered for ethanol (EPOOXE product code).
Get natural gas data — prices, production, consumption, and storage levels. Includes Henry Hub spot prices, underground storage, marketed production, and consumption by sector.
Get petroleum/fuel data — gasoline prices, diesel prices, crude oil prices, petroleum stocks, supply, production, and imports. Simplified interface to common EIA petroleum series.
Get any EIA time series data by route path. The EIA API v2 uses a hierarchical route structure (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.
Output schemas not documented. Callers cannot predict response structure (total, description, count, data array, truncated flag). LLMs cannot plan downstream operations without knowing what fields to extract.
Parameter 'frequency' and 'series' accept free-form strings instead of enums. Should declare: frequency: enum ['weekly','monthly','quarterly','annual']. Prevents LLM hallucination of invalid values.
Parameter 'limit' lacks min/max constraints. Description says 'max: 5000' but schema does not enforce it. Should add: limit: {type: 'number', minimum: 1, maximum: 5000}.
| Scored | Grade | Overall | Spec posture | Rubric |
|---|---|---|---|---|
| 2026-09-23 | D | 58 | 2026-07-28+ | v2 |
No pagination guidance. Tools can return up to 5000 records, risking context window exhaustion. Should document: 'Results capped at 100 records; use limit and start parameters for pagination.'
Error handling returns raw API errors without recovery guidance. Should categorize as retryable (rate limit, timeout) vs user-fixable (invalid key, bad route) and suggest next steps.