Home / Market / eia-energy-mcp-server

eia-energy-mcp-server

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

mcp★ 0211 dlmcp-registryMIT configuration; upstream service license appliesInstall in CosmosUpstream Source

Documentation & Preview

{ "mcpServers": { "mcp-eia-energy-mcp-server-45caee7f40e3e1ec1447": { "command": "npx", "args": [ "-y", "--package", "@cyanheads/eia-energy-mcp-server@0.6.0", "eia-energy-mcp-server" ], "env": { "EIA_API_KEY": "${ENV_EIA_API_KEY}", "EIA_DATASET_TTL_SECONDS": "${ENV_EIA_DATASET_TTL_SECONDS}", "EIA_DATAFRAME_DROP_ENABLED": "${ENV_EIA_DATAFRAME_DROP_ENABLED}", "EIA_CANVAS_MAX_ROWS": "${ENV_EIA_CANVAS_MAX_ROWS}", "EIA_FACET_VALUE_CAP": "${ENV_EIA_FACET_VALUE_CAP}", "EIA_CLAMP_LIMITS": "${ENV_EIA_CLAMP_LIMITS}", "CANVAS_PROVIDER_TYPE": "${ENV_CANVAS_PROVIDER_TYPE}", "MCP_LOG_LEVEL": "${ENV_MCP_LOG_LEVEL}" } } }, "setup": { "fields": [ { "id": "ENV_EIA_API_KEY", "label": "EIA_API_KEY", "description": "Free API key from api.eia.gov. Required — all requests use this as the api_key query parameter.", "required": true, "secret": false, "default": "" }, { "id": "ENV_EIA_DATASET_TTL_SECONDS", "label": "EIA_DATASET_TTL_SECONDS", "description": "Sliding per-dataframe TTL in seconds, extended by every query that references the dataframe. At most 31536000 (365 days).", "required": false, "secret": false, "default": "86400" }, { "id": "ENV_EIA_DATAFRAME_DROP_ENABLED", "label": "EIA_DATAFRAME_DROP_ENABLED", "description": "Set to 'true' to expose eia_dataframe_drop for manual canvas cleanup. Has no effect with CANVAS_PROVIDER_TYPE=none.", "required": false, "secret": false, "default": "false" }, { "id": "ENV_EIA_CANVAS_MAX_ROWS", "label": "EIA_CANVAS_MAX_ROWS", "description": "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.", "required": false, "secret": false, "default": "25000" }, { "id": "ENV_EIA_FACET_VALUE_CAP", "label": "EIA_FACET_VALUE_CAP", "description": "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.", "required": false, "secret": false, "default": "50" }, { "id": "ENV_EIA_CLAMP_LIMITS", "label": "EIA_CLAMP_LIMITS", "description": "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.", "required": false, "secret": false, "default": "true" }, { "id": "ENV_CANVAS_PROVIDER_TYPE", "label": "CANVAS_PROVIDER_TYPE", "description": "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.", "required": false, "secret": false, "default": "duckdb" }, { "id": "ENV_MCP_LOG_LEVEL", "label": "MCP_LOG_LEVEL", "description": "Sets the minimum log level for output (e.g., 'debug', 'info', 'warn').", "required": false, "secret": false, "default": "info" } ], "requirements": [ "安装 Node.js / npm" ] }, "provenance": { "registryServer": "io.github.cyanheads/eia-energy-mcp-server", "registryVersion": "0.6.0", "registryUrl": "https://registry.modelcontextprotocol.io/v0.1/servers/io.github.cyanheads%2Feia-energy-mcp-server/versions/0.6.0", "repository": null, "sourceCommit": null, "namespaceRepositoryOwnerMatched": false, "officialRegistryNamespaceVerified": true, "package": { "registry": "npm", "identifier": "@cyanheads/eia-energy-mcp-server", "version": "0.6.0", "integrity": "sha512-a8fxfdfQ6OaZ4v/szIraHiGtXblKWs/jcsJ/twgu3cUlrG71NmOyyiDzoDH6ABTaBvLRB0tGTSPFqAbDAWO5Tw==", "registryNameMatched": "io.github.cyanheads/eia-energy-mcp-server", "checkedAt": "2026-11-15T04:19:22.319Z" }, "scope": "Install configuration verified; dependency implementation and remote behavior have not been audited" } }