Click on "Install Server".
Wait a few minutes for the server to deploy. Once ready, it will show a "Started" state.
In the chat, type
@followed by the MCP server name and your instructions, e.g., "@EIA MCP ServerWhat is the current electricity demand in the ERCOT power grid?"
That's it! The server will respond to your query, and you can continue using it as needed.
Here is a step-by-step guide with screenshots.
EIA MCP Server
An MCP (Model Context Protocol) server for the U.S. Energy Information Administration (EIA) API, providing access to electricity and natural gas data.
Features
Electricity Data
Retail Sales - Sales to customers by state and sector, pricing, and customer counts
Operational Data - Monthly/annual generation, fuel consumption, and emissions
RTO Data - Hourly/daily operations by balancing authority (CISO, PJM, MISO, ERCOT, etc.)
State Profiles - State-level electricity profiles and infrastructure data
Generator Capacity - Inventory of operable generators in the U.S.
Facility Fuel - Individual power plant operational data
Natural Gas Data
Summary - Overview of natural gas survey data
Prices - Spot prices, futures, citygate, residential, commercial, industrial prices
Exploration & Reserves - Resource discovery and stockpile levels
Production - Output metrics and production volumes
Imports/Exports - Cross-border flows and pipeline movement data
Storage - Inventory levels, injections, and withdrawals
Consumption - End use data by sector
Installation
Configuration
Get an API key from EIA Open Data
Set the environment variable:
export EIA_API_KEY=your_api_key_here
Usage with Claude Desktop
Add to your Claude Desktop configuration (~/Library/Application Support/Claude/claude_desktop_config.json):
Or if installed as a package:
Available Tools
Tool | Description |
| Get electricity retail sales data by state and sector |
| Get power generation and fuel consumption data |
| Get real-time grid operations by balancing authority |
| Get state-level electricity profiles |
| Get generator inventory and capacity data |
| Get individual power plant data |
| Get natural gas summary data |
| Get natural gas price data |
| Get exploration and reserves data |
| Get production data |
| Get import/export and pipeline data |
| Get storage facility data |
| Get consumption data by sector |
| Explore available API routes and metadata |
Example Queries
Just ask Claude naturally:
"What were California's electricity retail sales in 2024?"
"Show me the current electricity generation in ERCOT"
"What are the natural gas storage levels this week?"
"How much electricity did Texas generate last month?"
"Compare natural gas prices across different regions"
"What's the electricity demand in PJM right now?"
"Show me natural gas import/export data for 2024"
API Reference
Base URL: https://api.eia.gov/v2/
For full API documentation, visit: https://www.eia.gov/opendata/documentation.php