← Index

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

io.github.cyanheads/eia-energy-mcp-server·v0.2.1·Other
Quality Score
80
/100

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

§00  Trust verdict · v1 advisory ·  method
UNVERIFIEDno verdict on file

Verdict not yet evaluated for this tool. The hybrid eval runs adversarial cases first; coverage rolls out as the corpus expands. Until a verdict is recorded, an agent should treat this tool as not-yet-cleared and fall back to its own checks. Method: hybrid eval, four-state verdict, honest limits.

§01  Install
Remote endpoint

Streamable HTTP / SSE endpoint. Add to any MCP client that supports remote servers.

https://eia-energy.caseyjhand.com/mcp
Claude Desktop (claude_desktop_config.json)
{
  "mcpServers": {
    "eia-energy-mcp-server": {
      "command": "npx",
      "args": [
        "-y",
        "@cyanheads/eia-energy-mcp-server"
      ],
      "env": {
        "EIA_API_KEY": "<eia_api_key>",
        "EIA_DATASET_TTL_SECONDS": "86400",
        "EIA_DATAFRAME_DROP_ENABLED": "false",
        "CANVAS_PROVIDER_TYPE": "<canvas_provider_type>",
        "MCP_LOG_LEVEL": "info",
        "MCP_HTTP_HOST": "127.0.0.1",
        "MCP_HTTP_PORT": "3010",
        "MCP_HTTP_ENDPOINT_PATH": "/mcp",
        "MCP_PUBLIC_URL": "<mcp_public_url>",
        "MCP_AUTH_MODE": "none"
      }
    }
  }
}
Cursor (.cursor/mcp.json)
{
  "mcpServers": {
    "eia-energy-mcp-server": {
      "command": "npx",
      "args": [
        "-y",
        "@cyanheads/eia-energy-mcp-server"
      ],
      "env": {
        "EIA_API_KEY": "<eia_api_key>",
        "EIA_DATASET_TTL_SECONDS": "86400",
        "EIA_DATAFRAME_DROP_ENABLED": "false",
        "CANVAS_PROVIDER_TYPE": "<canvas_provider_type>",
        "MCP_LOG_LEVEL": "info",
        "MCP_HTTP_HOST": "127.0.0.1",
        "MCP_HTTP_PORT": "3010",
        "MCP_HTTP_ENDPOINT_PATH": "/mcp",
        "MCP_PUBLIC_URL": "<mcp_public_url>",
        "MCP_AUTH_MODE": "none"
      }
    }
  }
}
Cline (cline_mcp_settings.json)
npx -y @cyanheads/eia-energy-mcp-server
§02  Environment variables
EIA_API_KEY
required

Free API key from api.eia.gov. Required — all requests use this as the api_key query parameter.

EIA_DATASET_TTL_SECONDS

Per-table TTL for DataCanvas dataframes in seconds.

EIA_DATAFRAME_DROP_ENABLED

Set to 'true' to expose eia_dataframe_drop for manual canvas cleanup.

CANVAS_PROVIDER_TYPE

Set to 'duckdb' to enable DataCanvas spillover for large query result sets (Node.js only).

MCP_LOG_LEVEL

Sets the minimum log level for output (e.g., 'debug', 'info', 'warn').

EIA_API_KEY
required

Free API key from api.eia.gov. Required — all requests use this as the api_key query parameter.

EIA_DATASET_TTL_SECONDS

Per-table TTL for DataCanvas dataframes in seconds.

EIA_DATAFRAME_DROP_ENABLED

Set to 'true' to expose eia_dataframe_drop for manual canvas cleanup.

CANVAS_PROVIDER_TYPE

Set to 'duckdb' to enable DataCanvas spillover for large query result sets (Node.js only).

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'.

MCP_LOG_LEVEL

Sets the minimum log level for output (e.g., 'debug', 'info', 'warn').

§03  MCP Quality Score  ·  methodology
freshness
25
completeness
10
installability
25
documentation
15
stability
5
§04  Alternatives in Other