io.github.cyanheads/eia-mcp-server

io.github.cyanheads/eia-mcp-server

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

Connect this server

Add this to your MCP client config — claude_desktop_config.json (Claude Desktop) or .cursor/mcp.json (Cursor).Suits: Claude Desktop · Cursor.

{
  "mcpServers": {
    "eia-mcp-server": {
      "command": "npx",
      "args": [
        "-y",
        "@cyanheads/eia-mcp-server@0.1.7"
      ],
      "env": {
        "EIA_API_KEY": "<your EIA_API_KEY>",
        "EIA_DATASET_TTL_SECONDS": "86400",
        "EIA_DATAFRAME_DROP_ENABLED": "false",
        "MCP_LOG_LEVEL": "info"
      }
    }
  }
}
Environment variables
  • EIA_API_KEYrequiredFree API key from api.eia.gov. Required — all requests use this as the api_key query parameter.
  • EIA_DATASET_TTL_SECONDSPer-table TTL for DataCanvas dataframes in seconds.
  • EIA_DATAFRAME_DROP_ENABLEDSet to 'true' to expose eia_dataframe_drop for manual canvas cleanup.
  • MCP_LOG_LEVELSets the minimum log level for output (e.g., 'debug', 'info', 'warn').

A starting point — check the repository for exact arguments and setup. Restart your client after editing the config.

Category
Developer Tools
Version
0.1.7
Registry
deprecated
Published
5/23/2026
Browse all Developer Tools →

Add the badge to your site

Show visitors that io.github.cyanheads/eia-mcp-server is listed here — it’s also the link we check for a free listing.

io.github.cyanheads/eia-mcp-server — listed on Serverdex

HTML — for your website

<a href="https://serverdex.io/server/io-github-cyanheads-eia-mcp-server?utm_source=badge"><img src="https://serverdex.io/brand/badge.svg" alt="io.github.cyanheads/eia-mcp-server — listed on Serverdex" width="123" height="40" loading="lazy"></a>

Recommended. A dofollow link from your own domain is the one that counts for search engines, and it's the link we check for a free listing.

Markdown — for your README

[![io.github.cyanheads/eia-mcp-server — listed on Serverdex](https://serverdex.io/brand/badge.svg)](https://serverdex.io/server/io-github-cyanheads-eia-mcp-server?utm_source=badge)

Nice for visibility, but GitHub marks README links nofollow, so it doesn't pass authority. Use the HTML badge on your site as well.