L'Agora
MCPResponds

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

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

No review yet · 0 questions Write a reviewAsk the authorFollow this entry

Is this your project? Claim this entry to answer questions, hear about reviews and appear as the author.

All projects by cyanheads

Repository
github.com/cyanheads/eia-energy-mcp-server
Server address
https://eia-energy.caseyjhand.com/mcp (streamable-http)
Version
0.6.0
Author
cyanheads (namespace verified by the registry)
Source
Official MCP registry (updated Nov 15, 2026)

Reviews

No review yet.

Sign in to leave a review. Your email is all you need.

Questions for the author

No question yet.

Sign in to ask the author a question. The author has not claimed this entry yet: they will only be told if they claim it. Other members can answer.

Continue with GoogleGet a link by email

How to install it

Variables to fill in: EIA_API_KEY, EIA_DATASET_TTL_SECONDS, EIA_DATAFRAME_DROP_ENABLED, EIA_CANVAS_MAX_ROWS, EIA_FACET_VALUE_CAP, EIA_CLAMP_LIMITS, CANVAS_PROVIDER_TYPE, MCP_LOG_LEVEL.

Remote server (nothing to install)

Claude Code

In a terminal:

claude mcp add --transport http eia-energy-mcp-server https://eia-energy.caseyjhand.com/mcp
Claude (app and claude.ai)

Open Settings, then Connectors, and add a custom connector with this address. If the server asks you to sign in, Claude will walk you through it.

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

In Settings, Apps & Connectors section, turn on developer mode, then create a connector with this address.

https://eia-energy.caseyjhand.com/mcp
Cursor ~/.cursor/mcp.json

Add this to ~/.cursor/mcp.json (or .cursor/mcp.json in the project):

{
  "mcpServers": {
    "eia-energy-mcp-server": {
      "url": "https://eia-energy.caseyjhand.com/mcp"
    }
  }
}
VS Code .vscode/mcp.json

Add this to your project’s .vscode/mcp.json:

{
  "servers": {
    "eia-energy-mcp-server": {
      "type": "http",
      "url": "https://eia-energy.caseyjhand.com/mcp"
    }
  }
}

On your machine

Claude Code

The server runs on your machine (npm package). In a terminal:

claude mcp add eia-energy-mcp-server -e EIA_API_KEY=YOUR_EIA_API_KEY -e EIA_DATASET_TTL_SECONDS=YOUR_EIA_DATASET_TTL_SECONDS -e EIA_DATAFRAME_DROP_ENABLED=YOUR_EIA_DATAFRAME_DROP_ENABLED -e EIA_CANVAS_MAX_ROWS=YOUR_EIA_CANVAS_MAX_ROWS -e EIA_FACET_VALUE_CAP=YOUR_EIA_FACET_VALUE_CAP -e EIA_CLAMP_LIMITS=YOUR_EIA_CLAMP_LIMITS -e CANVAS_PROVIDER_TYPE=YOUR_CANVAS_PROVIDER_TYPE -e MCP_LOG_LEVEL=YOUR_MCP_LOG_LEVEL -- npx -y @cyanheads/[email protected]
Claude Desktop claude_desktop_config.json

Settings, Developer, Edit config, then add:

{
  "mcpServers": {
    "eia-energy-mcp-server": {
      "command": "npx",
      "args": [
        "-y",
        "@cyanheads/[email protected]"
      ],
      "env": {
        "EIA_API_KEY": "YOUR_EIA_API_KEY",
        "EIA_DATASET_TTL_SECONDS": "YOUR_EIA_DATASET_TTL_SECONDS",
        "EIA_DATAFRAME_DROP_ENABLED": "YOUR_EIA_DATAFRAME_DROP_ENABLED",
        "EIA_CANVAS_MAX_ROWS": "YOUR_EIA_CANVAS_MAX_ROWS",
        "EIA_FACET_VALUE_CAP": "YOUR_EIA_FACET_VALUE_CAP",
        "EIA_CLAMP_LIMITS": "YOUR_EIA_CLAMP_LIMITS",
        "CANVAS_PROVIDER_TYPE": "YOUR_CANVAS_PROVIDER_TYPE",
        "MCP_LOG_LEVEL": "YOUR_MCP_LOG_LEVEL"
      }
    }
  }
}
Cursor ~/.cursor/mcp.json

In ~/.cursor/mcp.json:

{
  "mcpServers": {
    "eia-energy-mcp-server": {
      "command": "npx",
      "args": [
        "-y",
        "@cyanheads/[email protected]"
      ],
      "env": {
        "EIA_API_KEY": "YOUR_EIA_API_KEY",
        "EIA_DATASET_TTL_SECONDS": "YOUR_EIA_DATASET_TTL_SECONDS",
        "EIA_DATAFRAME_DROP_ENABLED": "YOUR_EIA_DATAFRAME_DROP_ENABLED",
        "EIA_CANVAS_MAX_ROWS": "YOUR_EIA_CANVAS_MAX_ROWS",
        "EIA_FACET_VALUE_CAP": "YOUR_EIA_FACET_VALUE_CAP",
        "EIA_CLAMP_LIMITS": "YOUR_EIA_CLAMP_LIMITS",
        "CANVAS_PROVIDER_TYPE": "YOUR_CANVAS_PROVIDER_TYPE",
        "MCP_LOG_LEVEL": "YOUR_MCP_LOG_LEVEL"
      }
    }
  }
}
VS Code .vscode/mcp.json

In .vscode/mcp.json:

{
  "servers": {
    "eia-energy-mcp-server": {
      "type": "stdio",
      "command": "npx",
      "args": [
        "-y",
        "@cyanheads/[email protected]"
      ],
      "env": {
        "EIA_API_KEY": "YOUR_EIA_API_KEY",
        "EIA_DATASET_TTL_SECONDS": "YOUR_EIA_DATASET_TTL_SECONDS",
        "EIA_DATAFRAME_DROP_ENABLED": "YOUR_EIA_DATAFRAME_DROP_ENABLED",
        "EIA_CANVAS_MAX_ROWS": "YOUR_EIA_CANVAS_MAX_ROWS",
        "EIA_FACET_VALUE_CAP": "YOUR_EIA_FACET_VALUE_CAP",
        "EIA_CLAMP_LIMITS": "YOUR_EIA_CLAMP_LIMITS",
        "CANVAS_PROVIDER_TYPE": "YOUR_CANVAS_PROVIDER_TYPE",
        "MCP_LOG_LEVEL": "YOUR_MCP_LOG_LEVEL"
      }
    }
  }
}
ChatGPT

ChatGPT only connects to remote servers (an https address). This package runs locally: use one of the apps above.

These configurations are built from the information published by the author. Check the repository before installing a local server.

Our test

Responds The server speaks MCP and lists its tools.

Date
Nov 28, 2026, 10:22 (test run by L’Atlas)
Response time
1,545 ms (whole test)
Tools found
6
Announced name
eia-energy-mcp-server 0.6.0
Protocol
MCP 2025-11-25
Next test
Dec 5, 2026
See the tools (6)
  • eia_browse_routes
    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
  • eia_describe_route
    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 frequen
  • eia_search_routes
    Fuzzy 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
  • eia_query_route
    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
  • eia_dataframe_describe
    List 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 qu
  • eia_dataframe_query
    Run 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, CTE

What the test does: it opens an MCP session (initialize) and asks for the tool list (tools/list), with no key or account. No tool is ever called. Learn more

Cite this entry

For an article or comparison, use this permanent link and include the test date. The description comes from its source; reviews belong to members. A successful test is not a security audit.

io.github.cyanheads/eia-energy-mcp-server · L’Agora · Tested on

[io.github.cyanheads/eia-energy-mcp-server — L’Agora](https://lagora.dev/en/entry/io.github.cyanheads/eia-energy-mcp-server)

Sources, methodology and limitations

Comments

No comment yet. A question, a tip? Start the discussion.

Sign in to comment.

Is this your project? Sign in to claim this entry.

Badge for your README

io.github.cyanheads/eia-energy-mcp-server on L’Agora

Show that your project is listed (and tested, if it responds): paste this code in your README. The badge follows the latest test and links back to this entry.

Markdown (GitHub)

[![io.github.cyanheads/eia-energy-mcp-server on L’Agora](https://lagora.dev/badge/io.github.cyanheads/eia-energy-mcp-server.svg?lang=en)](https://lagora.dev/en/entry/io.github.cyanheads/eia-energy-mcp-server)

HTML

<a href="https://lagora.dev/en/entry/io.github.cyanheads/eia-energy-mcp-server"><img src="https://lagora.dev/badge/io.github.cyanheads/eia-energy-mcp-server.svg?lang=en" alt="io.github.cyanheads/eia-energy-mcp-server on L’Agora" height="20"></a>

Promote

For the entry’s author only: sign in to continue.

By the same author

io.github.cyanheads/clinicaltrialsgov-mcp-server Responds

io.github.cyanheads/openlibrary-mcp-server Responds

io.github.cyanheads/arxiv-mcp-server Responds

io.github.cyanheads/nws-weather-mcp-server Responds

Report this entry