Skip to content
mcp/skillhub

Eia Energy MCP Server

by cyanheadsio.github.cyanheads/eia-energy-mcp-serverv0.4.3

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

2Node.jsstdioremoteofficial registry

context tax

queued

security

queued

cold start

queued

freshness

Active6d ago

Install Eia Energy MCP server

Install in Claude Code

claude mcp add eia-energy -e EIA_API_KEY='<eia-api-key>' -- npx -y @cyanheads/eia-energy-mcp-server

Configuration

VariableRequiredSecretDescription
EIA_API_KEYyes—Free API key from api.eia.gov. Required — all requests use this as the api_key query parameter.
EIA_DATASET_TTL_SECONDS——Sliding per-dataframe TTL in seconds, extended by every query that references the dataframe.
EIA_DATAFRAME_DROP_ENABLED——Set to 'true' to expose eia_dataframe_drop for manual canvas cleanup. Also requires CANVAS_PROVIDER_TYPE=duckdb.
EIA_CANVAS_MAX_ROWS——Cumulative row ceiling for eia_query_route DataCanvas staging on a stage: true call. Five requests at EIA's 5000-row-per-request ceiling.
EIA_FACET_VALUE_CAP——Facet values eia_describe_route returns per facet before truncating. Page past it with the tool's facet and values_offset inputs.
CANVAS_PROVIDER_TYPE——Set to 'duckdb' to enable DataCanvas (Node.js only). Registers the three eia_dataframe_* tools and lets eia_query_route stage rows when called with stage: true.
MCP_LOG_LEVEL——Sets the minimum log level for output (e.g., 'debug', 'info', 'warn').
MCP_TRANSPORT_TYPE——Selects the HTTP transport.
MCP_HTTP_HOST——The hostname for the HTTP server.
MCP_HTTP_PORT——The port to run the HTTP server on.
MCP_HTTP_ENDPOINT_PATH——The endpoint path for the MCP server.
MCP_PUBLIC_URL——Public origin override for deployments behind a TLS-terminating reverse proxy (e.g. https://mcp.example.com).
MCP_AUTH_MODE——Authentication mode to use: 'none', 'jwt', or 'oauth'.

Remote endpoints

  • streamable-httphttps://eia-energy.caseyjhand.com/mcp

Freshness

Active — last maintenance signal 6d ago. The newest of the signals below sets the band.

  1. Last commit (default branch)

    2026-10-04 · 6d ago · GitHub

  2. Latest release

    2026-10-04 · 6d ago · GitHub · v0.4.3

  3. Package published

    no data · npm/PyPI

  4. Registry entry updated

    2026-10-04 · 6d ago · official registry · v0.4.3

FAQ

›How do I install the Eia Energy MCP server in Claude Code?

Run: claude mcp add eia-energy -e EIA_API_KEY='<eia-api-key>' -- npx -y @cyanheads/eia-energy-mcp-server. For Cursor, VS Code, Claude Desktop and Windsurf, use the install tabs above.

›Does Eia Energy require an API key?

Yes. It expects EIA_API_KEY.

›Can I use Eia Energy as a remote (hosted) MCP server?

Yes — it offers both a hosted endpoint and a local stdio package.

›Is Eia Energy in the official MCP registry?

Yes, as io.github.cyanheads/eia-energy-mcp-server.