
Eia Energy Mcp Server
Let your agent browse and query U.S. Energy Information Administration API v2 tables for electricity, fuels, and forecasts while you build energy or climate analytics features.
Overview
EIA Energy MCP is a Build-phase MCP server that browses and queries the EIA API v2 for U.S. energy statistics and forecasts through agent tools.
What is this MCP server?
- Full EIA API v2 coverage: electricity, petroleum, natural gas, coal, and forecasts
- Requires free EIA_API_KEY from api.eia.gov on every request
- DataCanvas dataframe TTL via EIA_DATASET_TTL_SECONDS (default 86400 seconds)
- Hosted streamable-http remote at eia-energy.caseyjhand.com plus Bun stdio package
- Optional dataframe drop tooling via EIA_DATAFRAME_DROP_ENABLED for canvas cleanup
- Version 0.2.5
- npm @cyanheads/eia-energy-mcp-server
- Remote https://eia-energy.caseyjhand.com/mcp
Community signal: 1 GitHub stars.
What problem does it solve?
EIA’s large API v2 surface is tedious to navigate from chat when you only need a few series for a feature or memo.
Who is it for?
Builders creating energy, climate, or macro data features who already have or can register a free EIA API key.
Skip if: Users who need real-time market ticks, non-U.S. primary sources only, or turnkey BI without handling API keys and quotas.
What do I get? / Deliverables
Your agent can list datasets, run v2 queries, and hold results in canvas TTL windows while you implement charts or APIs.
- Agent-executable EIA v2 browse and query results across fuel and power categories
- stdio or remote MCP connection with keyed access to api.eia.gov
Recommended MCP Servers
Journey fit
EIA access is wired during Build when you integrate government energy statistics into apps, reports, or agent workflows. Integrations captures the MCP wrapper around EIA API v2, including dataset discovery and parameterized queries rather than one-off spreadsheets.
How it compares
Government energy statistics MCP adapter, not a commercial oil-and-gas terminal or Excel-only dataset shop.
Common Questions / FAQ
Who is EIA Energy MCP for?
Indie developers and analysts building U.S. energy or emissions-related products who want EIA v2 queries inside Claude Code, Cursor, or Codex.
When should I use EIA Energy MCP?
During Build when you integrate official electricity, petroleum, gas, coal, or forecast series into prototypes, agents, or reporting pipelines.
How do I add EIA Energy MCP to my agent?
Register at api.eia.gov, set EIA_API_KEY in the MCP server env, install @cyanheads/eia-energy-mcp-server with Bun stdio or use the eia-energy.caseyjhand.com streamable-http remote.