io.github.cyanheads/eia-energy-mcp-server
REMOTE · EIA-ENERGY.CASEYJHAND.COM · 2 COMPONENTS · SCANNED AUG 3
Browse and query the EIA API v2 — electricity, petroleum, natural gas, coal, forecasts via MCP.
Available components
How this component scores in each security and reliability category. Every signal is checked automatically against the live server, and we only credit what we can confirm. How we score →
Endpoint Security66
- The endpoint's TLS certificate is valid, in date, and uses a strong key. View diagnostics → Pass
- Authorisation not fully verified: no authorisation is required to call this server, and 6 tool(s) never declared a destructiveHint. The MCP spec treats an absent hint as destructive by default, so we cannot call this surface safe. See how to fix → View diagnostics → Unverified
- HTTPS is enforced; there's no plaintext access path. View diagnostics → Pass
- The HSTS (Strict-Transport-Security) header is present. View diagnostics → Pass
- DNSSEC is configured correctly; the domain's records validate against the full chain to the root. View diagnostics → Pass
Transport & Reachability100
- Verified streamable-http transport via a live MCP handshake. View diagnostics → Pass
Schema Quality & AI Usability60
- AI-judged instruction clarity (excellent).Pass
- Context-footprint check failed: tool/resource definitions use about 1809 tokens (~301/item across 6 items; 6 tools + 0 resources), over budget; trim descriptions and params. See how to fix → Fail
- Usage-examples check failed: none of the tools include examples. See how to fix → Fail
Stability & Change Management27
- Stability observed for 8 of 30 days with no destabilising changes; credit accrues until the full window elapses.Partial
Tool Coverage100
- 100% of tools have a non-trivial description (not blank, and not just the tool's name).Pass
- 100% of tool parameters carry a description.Pass
- Structured output schemas are declared (100% of tools); any adoption earns full credit.Pass
Capabilities100
- Implements a supported MCP spec version (2025-11-25); the latest is 2026-07-28.Pass
Add this component to your MCP client. Where a client-specific snippet is available, pick your client below and copy it straight into your config; otherwise use the connection detail shown.
remote · eia-energy.caseyjhand.com
claude mcp add --transport http cyanheads-eia-energy-mcp-server https://eia-energy.caseyjhand.com/mcp
[mcp_servers.cyanheads-eia-energy-mcp-server] url = "https://eia-energy.caseyjhand.com/mcp"
{
"$schema": "https://opencode.ai/config.json",
"mcp": {
"cyanheads-eia-energy-mcp-server": {
"type": "remote",
"url": "https://eia-energy.caseyjhand.com/mcp",
"enabled": true
}
}
} openclaw mcp add cyanheads-eia-energy-mcp-server --url https://eia-energy.caseyjhand.com/mcp --transport streamable-http
mcp_servers:
cyanheads-eia-energy-mcp-server:
url: "https://eia-energy.caseyjhand.com/mcp" {
"mcpServers": {
"cyanheads-eia-energy-mcp-server": {
"type": "http",
"url": "https://eia-energy.caseyjhand.com/mcp"
}
}
} The mcpServers block is a cross-client convention. Remote transports vary, so check your client's docs.
Every change we have recorded for this component, newest first. Security-relevant changes are always shown. ▲ marks a change for the better, ▼ a change for the worse; unmarked changes are neutral.
- 2 Aug 26 +1
No change was recorded against any check on this day. Stability & Change Management went from 20 to 23. That category is still filling its 30-day observation window: 6 days of observed history at the previous scan, 7 at this one. The score rises as the window fills, whether or not the server changes.
- 1 Aug 26 −1
- Tool “eia_search_routes” rewrote its description, which is the text the model reads security
- Server version: 0.3.3 → 0.3.4 functional
- 31 Jul 26 +2
- Tool “eia_dataframe_query” rewrote its description, which is the text the model reads security
- Tool “eia_dataframe_describe” rewrote its description, which is the text the model reads security
- Tool “eia_describe_route” rewrote its description, which is the text the model reads security
- Tool “eia_search_routes” rewrote its description, which is the text the model reads security
- Schema quality: 238 → 292 ▼ functional
- Schema quality: 238 → 285 ▼ functional
- Schema quality: 238 → 267 ▼ functional
- We updated how we score, so this day's move reflects our rubric, not a change to the server See what changed → functional
- Server version: 0.3.2 → 0.3.3 functional
- Server version: 0.3.1 → 0.3.2 functional
- Server version: 0.3.0 → 0.3.1 functional
- “eia_describe_route” added an optional parameter “facet” cosmetic
- “eia_describe_route” added an optional parameter “values_offset” cosmetic
- “eia_dataframe_query” reworded the description of “register_as” cosmetic
- 30 Jul 26 0
- We updated how we score, so this day's move reflects our rubric, not a change to the server See what changed → functional
- 29 Jul 26 +1
No change was recorded against any check on this day. Stability & Change Management went from 7 to 10. That category is still filling its 30-day observation window: 2 days of observed history at the previous scan, 3 at this one. The score rises as the window fills, whether or not the server changes.
- 28 Jul 26 +1
No change was recorded against any check on this day. Stability & Change Management went from 3 to 7. That category is still filling its 30-day observation window: 1 days of observed history at the previous scan, 2 at this one. The score rises as the window fills, whether or not the server changes.
- 27 Jul 26 0
- We updated how we score, so this day's move reflects our rubric, not a change to the server See what changed → functional
- 26 Jul 26 63
First indexed and scored.
Diagnostic detail from the automated scan of this channel: what the scanner observed at each step, so you can see exactly where a check passed or failed. It is informational only and never changes the trust score.
Captured 3 Aug 2026 · Probed https://eia-energy.caseyjhand.com/mcp
TLS valid
Negotiated TLS 1.3 with TLS_AES_128_GCM_SHA256 .
| Subject | Issuer | Valid from | Valid until | Key | Signature | Serial |
|---|---|---|---|---|---|---|
| CN=caseyjhand.com | CN=WE1,O=Google Trust Services,C=US | 7 Jul 2026 | 5 Oct 2026 | ECDSA 256 | ECDSA-SHA256 | 5aad900eb2055a0b0ea55912ec19680c |
| SANs: caseyjhand.com, *.caseyjhand.com | ||||||
| CN=WE1,O=Google Trust Services,C=US (CA) | CN=GTS Root R4,O=Google Trust Services LLC,C=US | 13 Dec 2023 | 20 Feb 2029 | ECDSA 256 | ECDSA-SHA384 | 7ff31977972c224a76155d13b6d685e3 |
| CN=GTS Root R4,O=Google Trust Services LLC,C=US (CA) | CN=GlobalSign Root CA,OU=Root CA,O=GlobalSign nv-sa,C=BE | 15 Nov 2023 | 28 Jan 2028 | ECDSA 384 | SHA256-RSA | 7fe530bf331343bedd821610493d8a1b |
DNSSEC secure
Validation of eia-energy.caseyjhand.com. — Secure
| Zone | DS | Keys | Algorithms | Outcome |
|---|---|---|---|---|
| . | trust_anchor | 20326, 38696 | 8, 8 | Verified |
| com. | present | 19718 | 13 | Verified |
| caseyjhand.com. | present | 2371 | 13 | Verified |
| eia-energy.caseyjhand.com. | Verified address RRset verified with the apex keys |
Authentication No authorisation required
The endpoint answered without asking for a token. Anyone who knows the URL can reach it.
| Result | No authorisation required |
|---|---|
| HTTP status | 200 |
| Header | Value |
|---|---|
| strict-transport-security | max-age=63072000; includeSubDomains; preload |
| x-content-type-options | nosniff |
Transports 2 probes
| Transport | URL | Outcome | Status | Location |
|---|---|---|---|---|
| streamable-http | https://eia-energy.caseyjhand.com/mcp | Verified | 200 | |
| http (plaintext) | http://eia-energy.caseyjhand.com/mcp | HTTPS enforced | 301 | https://eia-energy.caseyjhand.com/mcp |
The tools this component advertises to a client, with an estimated token cost for each. Expand a tool to see its parameters and schema. The per-tool counts are indicative and are not scored directly; the schema's total context footprint is one signal in Schema Quality & AI Usability.
eia_browse_routes Browse EIA Routes ~140
Lists 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-leaf routes have children to browse. When isLeaf is true on the browsed path itself, switch to eia_describe_route.
| Name | Type | Req | Description |
|---|---|---|---|
| path | string | — | Route path to browse (e.g. "electricity", "petroleum/pri"). Omit for root. |
| Name | Type | Req | Description |
|---|---|---|---|
| children | array | yes | Child entries under the browsed path. |
| isLeaf | boolean | yes | True when the browsed path itself is a leaf route — no children to drill into; use eia_describe_route instead. |
| path | string | yes | The path that was browsed (empty string for root). |
No examples provided.
eia_dataframe_describe Describe EIA Dataframes ~165
List canvas dataframes (df_<id>) materialized by eia_query_route, with provenance, expiry, row count, and column schema. Drops entries for dataframes the canvas no longer holds before responding, so the list is always current. Pass a specific name to inspect one dataframe; omit to list all active dataframes for this tenant. A name that is not staged comes back as found=false alongside the handles that are, never as an empty list. Listing is not use: only an eia_dataframe_query statement naming a dataframe extends its expiry, so a dataframe polled with this tool and never queried still lapses on schedule.
| Name | Type | Req | Description |
|---|---|---|---|
| name | string | — | df_<id> handle to describe a single dataframe. Omit to list all active dataframes. |
| Name | Type | Req | Description |
|---|---|---|---|
| active_names | array | yes | Every df_<id> handle staged for this tenant, regardless of the requested scope. On a miss these are the handles that are still usable. |
| dataframes | array | yes | Dataframes matching the requested scope, newest first. Empty when nothing is staged, or when a supplied name does not resolve — read found and active_names to tell those apart. |
| found | boolean | — | True when the requested name is staged, false when it is not. Absent when no name was supplied — an unscoped list has nothing to resolve. |
| requested_name | string | — | Echo of the name input. Absent when no name was supplied. |
No examples provided.
eia_dataframe_query Query EIA Dataframes ~346
Run a single-statement SELECT against canvas dataframes registered by eia_query_route. Standard DuckDB SQL — joins, aggregates, window functions, CTEs all supported. Reference dataframes by the df_<id> handles returned by eia_query_route or listed by eia_dataframe_describe. Read-only: writes, DDL, DROP, COPY, PRAGMA, ATTACH, and external-file table functions are rejected. System catalogs (information_schema, pg_catalog, sqlite_master, duckdb_*) are denied. EIA data values are VARCHAR — use CAST(col AS DOUBLE) for arithmetic and aggregation. Optional register_as chains results as a new dataframe with a fresh expiry. Every dataframe named in the statement has its expiry extended by the query.
| Name | Type | Req | Description |
|---|---|---|---|
| preview | integer | — | Rows to include in the immediate response. Defaults to row_limit. Set lower when chaining via register_as and only a sample is needed inline. |
| register_as | string | — | When set, persist the result as a new dataframe with a fresh expiry. Use to chain analyses without re-running upstream queries. The name must be unused — reusing a staged name is rejected, and the fi… |
| row_limit | integer | — | Hard cap on rows materialized in the response (default 1000, max 10000). |
| sql | string | yes | Single-statement SELECT against df_<id> tables. EIA data columns are VARCHAR — use CAST(col AS DOUBLE) for arithmetic. Example: SELECT period, CAST(value AS DOUBLE) AS val FROM df_XXXXX ORDER BY peri… |
| Name | Type | Req | Description |
|---|---|---|---|
| columns | array | yes | Column names in projection order. |
| executedSql | string | yes | Echo of the SQL statement that was executed — confirms the exact query that ran. |
| expires_at | string | — | ISO 8601 expiry for the newly registered dataframe, when applicable. Extended each time a later query references it. |
| notice | string | — | Guidance when results are capped — shows how many rows were omitted. |
| registered_as | string | — | Set when register_as was supplied and the new dataframe was materialized. |
| returnedRows | number | yes | Rows included in this response. |
| rows | array | yes | Materialized rows, bounded by preview / row_limit. |
| totalRows | number | yes | Total rows the query produced (may exceed rows.length when capped by row_limit). |
No examples provided.
eia_describe_route Describe EIA Route ~241
Returns 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 with value_count and values_truncated alongside; pass facet and values_offset to page through the rest of one facet. Facet values are fetched from separate EIA endpoints and merged — results are cached per-route for the process lifetime to minimize API calls.
| Name | Type | Req | Description |
|---|---|---|---|
| facet | string | — | Restrict the response to one facet by ID (e.g. "stateid"). Use with values_offset to page a facet whose values were truncated. Omit to get every facet. |
| route | string | yes | Leaf route path (e.g. "electricity/retail-sales", "steo"). Discoverable via eia_browse_routes or eia_search_routes. |
| values_offset | integer | — | Index of the first facet value to return, applied to every facet in the response. Use the value named in a truncation hint to continue past the cap. |
| Name | Type | Req | Description |
|---|---|---|---|
| data_columns | array | yes | Data columns available for this route. |
| date_range | object | yes | Available date range for this route. |
| default_date_format | string | yes | Period format for the default frequency (e.g. "YYYY-MM"). |
| default_frequency | string | yes | Default frequency ID used when none is specified. |
| description | string | yes | Human-readable description of the dataset. |
| facets | array | yes | Filterable dimensions. Each facet has an ID and a window of its valid values. Restricted to one entry when the facet input is set. |
| frequencies | array | yes | Valid frequency options for eia_query_route. |
| route | string | yes | The route path described. |
| values_offset | number | yes | Index of the first facet value returned, echoing the requested offset. |
No examples provided.
eia_query_route Query EIA Route Data ~454
Fetches 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.g. "9.13"); cast to DOUBLE in SQL when arithmetic is needed. Returns a preview inline; when canvas is enabled and more rows match than the preview holds, additional pages are fetched and the accumulated set is staged as a DataCanvas table — pass the returned dataset name to eia_dataframe_query for SQL. Every dataset a tenant stages lands in the same canvas, so tables from different routes cross-join by name with nothing to thread between calls.
| Name | Type | Req | Description |
|---|---|---|---|
| columns | array | — | Data column IDs to return (reduces payload). Defaults to all. IDs discoverable via eia_describe_route. |
| end | string | — | Period end (same format as start). |
| filters | object | — | Facet filters keyed by facet ID (e.g. { "stateid": "TX", "sectorid": ["RES", "COM"] }). Use the facets[].id values returned by eia_describe_route as keys here. |
| frequency | string | — | Aggregation frequency ID (e.g. "monthly", "annual"). Defaults to route default. Valid IDs from eia_describe_route. |
| length | integer | — | Rows in the inline preview (default 100, max 5000 per EIA limit). Canvas staging is not bounded by this — it pages past the preview on its own. |
| offset | integer | — | Row offset into the matching set (default 0). An offset at or beyond total returns zero rows. |
| route | string | yes | Leaf route path (e.g. "electricity/retail-sales", "steo"). Discoverable via eia_browse_routes or eia_search_routes. |
| sort | array | — | Result ordering. |
| start | string | — | Period start in the route date format (e.g. "2020-01" for monthly, "2020" for annual). Format from eia_describe_route. |
| Name | Type | Req | Description |
|---|---|---|---|
| appliedColumns | array | — | Echo of the column projection as applied, when columns were provided. |
| appliedEnd | string | — | Echo of the end period as applied, when an end was provided. |
| appliedFilters | object | — | Facet filters applied to the query, when provided. |
| appliedFrequency | string | — | Echo of the frequency as applied, when a frequency was provided. |
| appliedLength | number | yes | Preview row count requested for this call. |
| appliedOffset | number | yes | Row offset applied to the query — the cause when a page comes back empty. |
| appliedStart | string | — | Echo of the start period as applied, when a start was provided. |
| canvas_preview_note | string | — | Human-readable note when total exceeds the inline preview — names how many rows actually reached the canvas table and, when staging stopped short of total (the EIA_CANVAS_MAX_ROWS cap, or an upstream… |
| data | array | yes | Preview rows. All numeric values are strings per the EIA API (e.g. "9.13"). Cast to DOUBLE in SQL for arithmetic: CAST(value AS DOUBLE). Per-column units appear as {col}-units fields inline in each r… |
| dataset | string | — | df_<id> table handle for the registered dataset — pass directly to eia_dataframe_query SQL (SELECT ... FROM df_<id>). Every dataset a tenant stages shares one canvas, so handles from different routes… |
| date_format | string | yes | Period format for the returned data (e.g. "YYYY-MM"). |
| effectiveRoute | string | yes | The route path that was queried. |
| frequency | string | yes | Frequency of the returned data. |
| notice | string | — | Informational message when the response carries no rows — either zero rows matched the filters (broaden the query) or offset paged past the last row (reduce offset below total). |
| returnedCount | number | yes | Rows in this response. When returnedCount < totalCount, use offset or canvas for the rest. |
| returned_count | number | yes | Number of rows in this response. When returned_count < total, use offset pagination or DataCanvas for the rest. |
| route | string | yes | The route path queried. |
| total | number | yes | Total matching rows in the EIA dataset for this query (may exceed returned rows when pagination or spillover applies). |
| totalCount | number | yes | Total matching rows in the EIA dataset. |
| truncation_warning | string | — | Forwarded from EIA's warnings[] when the API warns of truncated results near the 5,000 per-page limit. |
No examples provided.
eia_search_routes Search EIA Routes ~295
Fuzzy text search across route names, descriptions, and category labels. Resolves natural-language queries like "electricity retail sales by state" or "natural gas imports" to matching route paths. Multi-term queries are also matched term by term, so combining a commodity, a metric, and a sector — "electricity price residential", "coal generation industrial sector" — reaches the route carrying that data even when no single entry reads like the whole phrase. STEO series names are indexed so queries like "ethanol net imports" or "crude oil production forecast" also resolve, and so are facet values, so a fuel type or sector term like "wind" or "anthracite coal" resolves to the route that exposes it, with filter_hint carrying the filter to pass on. Results include isLeaf so you know whether to browse further or query directly. Results with score > 0.72 are weak matches — try a more specific query or use eia_browse_routes to explore the taxonomy. The first call after server start waits 24-30s while the index warms, and at most 45s; every later call returns in milliseconds. Check indexComplete before reading anything into a short or empty result set.
| Name | Type | Req | Description |
|---|---|---|---|
| limit | integer | — | Maximum results to return (default 10, max 30). |
| query | string | yes | Free-text search terms to match against route names and descriptions. |
| Name | Type | Req | Description |
|---|---|---|---|
| cap | number | yes | The limit that was applied. |
| effectiveQuery | string | yes | Query as submitted to the Fuse.js index. |
| indexComplete | boolean | yes | True when this answer was ranked against the complete corpus. False means part of it is missing (see indexGaps) — results may be short, and a better match may exist that was never scored. |
| indexGaps | array | — | Present only when indexComplete is false: route paths whose metadata could not be fetched (call eia_browse_routes on one to re-fetch it) and index passes that did not land ("steo_series", "facet_valu… |
| notice | string | — | Recovery hint when no routes matched — suggests alternative queries or using eia_browse_routes. |
| results | array | yes | Ranked matches, best first. |
| shown | number | yes | Number of results returned. |
| totalIndexed | number | yes | Total entries in the search index (routes + STEO series names + facet values). |
| truncated | boolean | yes | True when matches were capped at limit; more may exist. |
No examples provided.