What is EIA?
U.S. Energy Information Administration (EIA) API integration provides access to official U.S. energy statistics, market analysis, and forecasting data. Query electricity retail sales, natural gas production and storage, coal consumption, petroleum imports/exports, Short-Term Energy Outlook (STEO), Annual Energy Outlook (AEO), International Energy Outlook (IEO), State Energy Data System (SEDS), CO2 emissions, nuclear outages, and total energy statistics. Access 200+ datasets with flexible filtering, date ranges, and pagination through both direct MCP tools and JavaScript/TypeScript code execution.
Available Tools
Requirements
- EIA API keyFree API key from EIA Open Data (register at https://www.eia.gov/opendata/)
- No subscription requiredEIA data is publicly available at no cost
- Compatible AI agentWorks with Claude, ChatGPT, and other MCP-compatible agents
Quick Setup Guide
Follow these steps to connect your AI agents to this connector
Sign up for PatchOps to access our MCP server management platform.
Register for a free API key at https://www.eia.gov/opendata/ - it only takes a minute and is completely free.
Navigate to the Dashboard and add your EIA API key to establish the connection.
Add the EIA MCP server URL to your AI agent's configuration file.
Begin asking your AI agent questions about U.S. energy statistics, market trends, and forecasts. Use direct MCP tools for standard queries or leverage code execution for complex data analysis and custom workflows.
Connect to Your AI Assistant
Choose your AI assistant below for specific setup instructions
Follow these steps to connect EIA to Claude:
Step 1: Open Claude Settings
Launch Claude → Click the profile button (bottom left) → Navigate to Settings
Step 2: Access Connectors
Scroll down to the Connectors tab → Navigate to the bottom → Click “Add Custom Connector”
Step 3: Name Your Connector
Enter any name you'd like for this connector
Step 4: Get the Connector URL
Log in to PatchOps → Navigate to the /mcp page → Copy the connector URL you want to use
Step 5: Add the Connector
Paste the URL in the “Remote MCP Server URL” text box → Click Add
Step 6: Start Using
Your connector is now ready to use in Claude
Follow these steps to connect EIA to ChatGPT:
Step 1: Enable Developer Mode
Go to Settings → Connectors → Advanced → Enable Developer mode
Step 2: Create New Connector
Go back to Connectors page → Click “Create” (top right)
Step 3: Name Your Connector
Enter any name you'd like for this connector (descriptions are optional)
Step 4: Get the Connector URL
Log in to PatchOps → Navigate to the /mcp page → Copy the connector URL you want to use
Step 5: Add the URL
Paste the URL in the “MCP Server URL” text box
Step 6: Set Authentication
Click the authentication dropdown → Select “No authentication” (PatchOps handles authentication internally)
Step 7: Create the Connector
Click “I understand and want to continue” checkbox → Press Create
Step 8: Using the Connector
Start a new chat → Click the + button (left of text box) → Open dropdown → Hover over three dots labeled “More” → Select your connector
Instructions for connecting EIA to GitHub Copilot:
Coming Soon
Detailed setup instructions for GitHub Copilot will be added here.
For other MCP-compatible platforms:
Step 1: Get the Connector URL
Log in to PatchOps → Navigate to the /mcp page → Copy the connector URL you want to use
Step 2: Add to Configuration
Add this configuration to your MCP settings file. Replace the URL with your specific connector URL from the /mcp page:
"EIA-MCP": {
"url": "https://...patchops.ai/mcp/...",
"type": "http"
}Example Configuration
Here’s an example using Cambria-MCP:
"Cambria-MCP": {
"url": "https://cambria.patchops.ai/mcp/...",
"type": "http"
}