eia-energy-mcp-server
Browse and query the EIA API v2 — electricity, petroleum, natural gas, coal, forecasts via MCP.
What this server provides
Browse and query the EIA API v2 — electricity, petroleum, natural gas, coal, forecasts via MCP.
Remote endpoints
https://eia-energy.caseyjhand.com/mcpPackages
npxTransport stdio- EIA_API_KEYRequired
Free API key from api.eia.gov. Required — all requests use this as the api_key query parameter.
Format: string - EIA_DATASET_TTL_SECONDSOptional
Sliding per-dataframe TTL in seconds, extended by every query that references the dataframe. At most 31536000 (365 days).
Format: string · Default: 86400 - EIA_DATAFRAME_DROP_ENABLEDOptional
Set to 'true' to expose eia_dataframe_drop for manual canvas cleanup. Has no effect with CANVAS_PROVIDER_TYPE=none.
Format: string · Default: false - EIA_CANVAS_MAX_ROWSOptional
Cumulative row ceiling for eia_query_route DataCanvas staging on a stage: true call. Five requests at EIA's 5000-row-per-request ceiling. At most 250000.
Format: string · Default: 25000 - EIA_FACET_VALUE_CAPOptional
Facet values eia_describe_route returns per facet before truncating. Page past it with the tool's facet and values_offset inputs, or narrow a facet with values_query. At most 1000.
Format: string · Default: 50 - EIA_CLAMP_LIMITSOptional
Lower an over-cap eia_query_route length, eia_dataframe_query row_limit or preview, or eia_search_routes limit to its cap with a notice. 'false' advertises and enforces each cap as a schema maximum instead.
Format: string · Default: true - CANVAS_PROVIDER_TYPEOptional
DataCanvas provider. 'duckdb', the default, registers eia_dataframe_describe and eia_dataframe_query and lets eia_query_route stage rows when called with stage: true; eia_dataframe_drop also requires EIA_DATAFRAME_DROP_ENABLED=true. 'none' disables DataCanvas.
Format: string · Default: duckdb - MCP_LOG_LEVELOptional
Sets the minimum log level for output (e.g., 'debug', 'info', 'warn').
Format: string · Default: info
npxTransport streamable-httphttp://localhost:3010/mcp- EIA_API_KEYRequired
Free API key from api.eia.gov. Required — all requests use this as the api_key query parameter.
Format: string - EIA_DATASET_TTL_SECONDSOptional
Sliding per-dataframe TTL in seconds, extended by every query that references the dataframe. At most 31536000 (365 days).
Format: string · Default: 86400 - EIA_DATAFRAME_DROP_ENABLEDOptional
Set to 'true' to expose eia_dataframe_drop for manual canvas cleanup. Has no effect with CANVAS_PROVIDER_TYPE=none.
Format: string · Default: false - EIA_CANVAS_MAX_ROWSOptional
Cumulative row ceiling for eia_query_route DataCanvas staging on a stage: true call. Five requests at EIA's 5000-row-per-request ceiling. At most 250000.
Format: string · Default: 25000 - EIA_FACET_VALUE_CAPOptional
Facet values eia_describe_route returns per facet before truncating. Page past it with the tool's facet and values_offset inputs, or narrow a facet with values_query. At most 1000.
Format: string · Default: 50 - EIA_CLAMP_LIMITSOptional
Lower an over-cap eia_query_route length, eia_dataframe_query row_limit or preview, or eia_search_routes limit to its cap with a notice. 'false' advertises and enforces each cap as a schema maximum instead.
Format: string · Default: true - CANVAS_PROVIDER_TYPEOptional
DataCanvas provider. 'duckdb', the default, registers eia_dataframe_describe and eia_dataframe_query and lets eia_query_route stage rows when called with stage: true; eia_dataframe_drop also requires EIA_DATAFRAME_DROP_ENABLED=true. 'none' disables DataCanvas.
Format: string · Default: duckdb - MCP_HTTP_HOSTOptional
The hostname for the HTTP server.
Format: string · Default: 127.0.0.1 - MCP_HTTP_PORTOptional
The port to run the HTTP server on.
Format: string · Default: 3010 - MCP_HTTP_ENDPOINT_PATHOptional
The endpoint path for the MCP server.
Format: string · Default: /mcp - MCP_PUBLIC_URLOptional
Public origin override for deployments behind a TLS-terminating reverse proxy (e.g. https://mcp.example.com).
Format: string - MCP_AUTH_MODEOptional
Authentication mode to use: 'none', 'jwt', or 'oauth'.
Format: string · Default: none - MCP_LOG_LEVELOptional
Sets the minimum log level for output (e.g., 'debug', 'info', 'warn').
Format: string · Default: info