Eia Energy MCP Server

@cyanheads/eia-energy-mcp-server Browse and query the U.S. Energy Information Administration API v2 - electricity, petroleum, natural gas, coal, forecasts, and more via MCP. STDIO or Streamable HTTP. Its 7 documented tools cover eia, dataframe, routes, route.

People connecting API integration tools to Claude, Cursor, VS Code, or another MCP client. The project is written in TypeScript.

VERIFIED ACTIVE

LAST COMMIT 2026-08-06 · ★ 2 · #63 OF 250 MAINTAINED API INTEGRATION · VERIFIED 2026-08-25

NOASSERTION · TypeScript servers · how we verify → /methodology

01 · Install Eia Energy MCP Server

before you install - you'll need

Set MCP_TRANSPORT_TYPE, MCP_LOG_LEVEL, EIA_API_KEY before connecting.

Claude Code

claude mcp add cyanheads-eia-energy-mcp-server --transport http https://eia-energy.caseyjhand.com/mcp

Claude Desktop / Cursor / VS Code - add to config

{
  "mcpServers": {
    "cyanheads-eia-energy-mcp-server": {
      "url": "https://eia-energy.caseyjhand.com/mcp"
    }
  }
}

Same JSON for Cursor. For VS Code, rename the top-level key from `mcpServers` to `servers`.

Using another client? Same JSON, different key

Claude Desktop · mcpServers

Cursor · mcpServers

VS Code · servers

Windsurf · mcpServers

Zed · context_servers

Cline · mcpServers

Roo Code · mcpServers

Continue · mcpServers

LibreChat · mcpServers

Gemini CLI · mcpServers

Codex CLI · mcp_servers

Full setup guides: every client.

02 · Evidence

https://eia-energy.caseyjhand.com/mcp

transport: streamable-http

endpoint alive - responded to MCP initialize · probed 2026-08-25

Security posture

What to check before giving this server access to your agent - from the registry, GitHub, and our own probes. We don't score safety; we show what's verifiable.

runs as local process (stdio) - runs on your machine with your user's permissions · remote - your agent's requests go to eia-energy.caseyjhand.com

endpoint auth accepted our unauthenticated MCP initialize - no credentials needed to connect

license no standard license detected - usage rights unclear; check the repo before commercial use

npm package @cyanheads/eia-energy-mcp-server - published under the repo owner's npm scope (@cyanheads)

registry namespace io.github.cyanheads is GitHub-verified and matches the repo owner

03 · What Eia Energy MCP Server can do

Prose above is summarized from the project's README and registry record - no invented capabilities.

What you can build

With this server connected, an agent can fetch data from a leaf route with optional facet filters, date range, frequency, and column selection. Returns a preview, and run a read-only SQL SELECT across DataCanvas dataframes, referenced by their df_ table names. Only exposed when a canvas is configured.

The 7 tools it gives your agent

Extracted from the project's README - what eia-energy-mcp-server lets an agent do.

eia_browse_routes
- Lists child routes under a given path in the EIA dataset taxonomy. Start at root to see top-level categories, then drill into subcategories and leaf routes.
eia_describe_route
- Returns metadata for a leaf route: available facets with valid values, data column names, frequency options, units, and date range. Call before eia_query_route
eia_search_routes
- Fuzzy text search across route names, descriptions, category labels, STEO series names, and facet values. Resolves natural-language queries like "electricity re
eia_query_route
- Fetches data from a leaf route with optional facet filters, date range, frequency, and column selection. Returns a preview; pass stage: true to also page past i
eia_dataframe_describe
- Lists active DataCanvas dataframes created by prior eia_query_route calls that passed stage: true. Only exposed when a canvas is configured. Shows table name, c
eia_dataframe_query
- Runs a read-only SQL SELECT across DataCanvas dataframes, referenced by their df_ table names. Only exposed when a canvas is configured.
eia_dataframe_drop
- Drops a DataCanvas dataframe, freeing its memory. Only exposed when a canvas is configured and EIA_DATAFRAME_DROP_ENABLED=true.

Latest releases

v0.4.0 · 2026-08-06

opt-in canvas staging, tool gating, route normalization · eia_query_route stages a canvas table only when called with stage: true, not automatically whenever a canvas is configured (#50)…

v0.3.8 · 2026-08-06

eia_query_route fixes: per-column units, sort/date errors, canvas-off advisory · format() decides each {col}-units companion from the whole preview instead of row 0 - a unit constant across every row still folds into…

v0.3.7 · 2026-08-06

Facet null-handling and blank-identifier fixes · fetchFacet drops a facet value only on a null id; a null or absent name now falls back to alias, then id - un-hides electricity/state-electricity-profiles/meters's…

04 · Who maintains Eia Energy MCP Server

eia-energy-mcp-server is maintained by cyanheads. We track 125 MCP servers from cyanheads - 124 actively maintained, 1,730 combined GitHub stars, oldest repo from Dec 2024. Full record: all servers from cyanheads.

  1. mcp-ts-core Agent-native TypeScript framework for building MCP servers with declarative definitions. ★ 148
  2. obsidian-mcp-server Read, write, search, and surgically edit Obsidian notes, tags, and frontmatter via MCP. ★ 668
  3. git-mcp-server Comprehensive Git MCP server enabling native git tools including clone, commit, worktree, & more. ★ 235
  4. pubmed-mcp-server Search PubMed/Europe PMC, fetch articles and full text (PMC/EPMC/Unpaywall), citations, MeSH terms. ★ 137
  5. clinicaltrialsgov-mcp-server Search ClinicalTrials.gov - find studies, retrieve results, match patients to eligible trials. ★ 90
  6. mcp-ts-template TypeScript template for building MCP servers with declarative tooling, observability, and auth. ★ 148

05 · Facts

category
API integration - ranked #63 of 250 actively-maintained API integration servers as of 2026-08-25.
release cadence
10+ releases in the last 90 days (latest 2026-08-06)
registry
io.github.cyanheads/eia-energy-mcp-server (active, first published 2026-05-24 · 19 versions)
packages
npm:@cyanheads/eia-energy-mcp-server · npm:@cyanheads/eia-energy-mcp-server

06 · Eia Energy MCP Server FAQ

Is Eia Energy MCP Server still maintained?

Yes - as of 2026-08-25, its last commit was 2026-08-06 and it shipped 10+ releases in the last 90 days. We re-verify nightly.

What can Eia Energy MCP Server do?

With this server connected, an agent can fetch data from a leaf route with optional facet filters, date range, frequency, and column selection. Returns a preview, and run a read-only SQL SELECT across DataCanvas dataframes, referenced by their df_ table names. Only exposed when a canvas is configured.

How do I install Eia Energy MCP Server?

Run `npx -y @cyanheads/eia-energy-mcp-server`. The README documents 3 environment variables (MCP_TRANSPORT_TYPE, MCP_LOG_LEVEL, EIA_API_KEY) to set first. Set MCP_TRANSPORT_TYPE, MCP_LOG_LEVEL, EIA_API_KEY before connecting. You can also paste the ready-made client config above.

Does Eia Energy MCP Server require authentication?

No - the endpoint accepted our unauthenticated MCP initialize when probed on 2026-08-25; you can connect without credentials.

07 · Alternatives to Eia Energy MCP Server