io.github.cyanheads/eia-energy-mcp-server

io.github.cyanheads/eia-energy-mcp-server · v0.6.0 · data-and-databases

io.github.cyanheads/eia-energy-mcp-server is healthy: it completed an MCP handshake in 1608 ms and exposes 6 tools.

Browse and query the EIA API v2 — electricity, petroleum, natural gas, coal, forecasts via MCP.

Endpoint: https://eia-energy.caseyjhand.com/mcp (streamable-http)

Repository · JSON · Add to my inventory

Facts

Users (last 30 days)0
HandshakeHealthy
Auth neededNone
Tool count6
Latency1608 ms
Last checked (UTC)2026-12-01T00:15:17.409Z

Health history

Checked (UTC)StatusLatencyError
2026-12-01T00:15:17.409ZHealthy1608
2026-11-28T14:25:13.596ZHealthy806
2026-11-26T06:25:32.382ZHealthy3858
2026-11-24T00:10:54.337ZHealthy3417
2026-11-21T19:55:28.521ZHealthy919
2026-11-19T17:05:16.396ZHealthy2590
2026-11-17T15:25:27.617ZHealthy806
2026-11-15T15:10:47.776ZHealthy2767
2026-11-13T16:16:07.466ZHealthy2546
2026-11-11T18:20:38.182ZHealthy1142
2026-11-09T21:30:38.126ZHealthy1891
2026-11-08T02:05:21.125ZHealthy298
2026-11-06T07:45:52.762ZHealthy1906
2026-11-04T14:10:29.322ZHealthy3311
2026-11-02T21:30:36.380ZHealthy3298
2026-11-01T06:00:23.504ZHealthy1459
2026-11-01T06:00:23.460ZHealthy1468
2026-10-30T15:25:29.708ZHealthy1600
2026-10-29T01:35:13.800ZHealthy2030
2026-10-27T12:05:14.951ZHealthy2327

Tools (6)

eia_browse_routesLists child routes under a given path in the EIA dataset taxonomy. Start with no path to get the 14 top-level categories (electricity, petroleum, natural-gas, steo, aeo, ieo, seds, etc.), then drill into subcategories. Each result includes an isLeaf flag — leaf routes are queryable endpoints; non-le
eia_describe_routeReturns metadata for a leaf route: available facets with their valid values, data column names and units, frequency options, and date range. Call this before eia_query_route to discover valid facet IDs, facet values, column IDs, and frequency codes. Each facet returns a capped window of its values w
eia_search_routesFuzzy text search across route names, descriptions, category labels, and the names of the data columns a route publishes. Resolves natural-language queries like "electricity retail sales by state" or "natural gas imports" to matching route paths, and a measure named only by its column — "nameplate c
eia_query_routeFetches data from a leaf route with optional facet filters, date range, frequency, and column selection. Use eia_describe_route first to discover valid facet IDs, facet values, column IDs, and frequency codes. Data values are strings in the response (EIA API returns all numeric values as strings, e.
eia_dataframe_describeList canvas dataframes (df_<id>) materialized by eia_query_route calls that passed stage: true, with provenance, expiry, row count, and column schema. Nothing is staged until such a call runs, so an empty list on a fresh session means no query has staged yet, not that staging failed. Drops entries f
eia_dataframe_queryRun a single-statement SELECT against canvas dataframes registered by eia_query_route calls that passed stage: true — a query that staged nothing leaves no table to select from. Standard DuckDB SQL — joins, aggregates, window functions, CTEs all supported. Reference dataframes by the df_<id> handles