Back to connectors
EIA logo

EIA

Live

U.S. Energy Information Administration API integration for electricity, natural gas, coal, petroleum, energy outlooks, plus plant-level generator capacity, monthly generation, retirement schedules, and fuel mix.

Available tools

23 tools
ToolDescription
getRoutesGet available routes for a dataset or list all top-level routes. Discover available datasets and their structure. Call with no arguments to see all top-level categories (electricity, natural-gas, petroleum, coal, etc.).
getDataGet data from any dataset route with filtering and pagination. Supports date ranges (start/end), facets for filtering, frequency (annual/monthly/quarterly/daily), sorting, and pagination (length/offset). This is the universal data retrieval function.
getFacetsGet available filter options (facets) for a dataset. Discover what filters are available for a specific dataset before querying. Returns facet names and their descriptions.
getFacetDetailsGet available values for a specific facet. See all possible filter values for a particular facet (e.g., state IDs, sector codes, fuel types). Essential for building accurate filtered queries.
getElectricityDataConvenience function for electricity datasets including retail-sales, facility-fuel, operating-generator-capacity, state-electricity-profiles, and electric-power-operational-data. Simplifies electricity data queries.
getNaturalGasDataConvenience function for natural gas datasets including summary, storage (underground/LNG), production, consumption, imports/exports, and price data. Supports nested routes for detailed categories.
getCoalDataConvenience function for coal datasets including aggregate-production, consumption-and-quality, exports, imports, mine-production, price, shipments, and stocks data.
getPetroleumDataConvenience function for petroleum datasets including crude-oil-imports, crude-oil-production, exports, imports, prices, product-supplied, refinery-operations, reserves, and weekly stocks data.
getSTEODataGet Short-Term Energy Outlook (STEO) data for near-term energy market forecasts and projections. Covers prices, supply, demand, and consumption projections for all major energy sources.
getAEODataGet Annual Energy Outlook (AEO) data for long-term energy projections (25+ years). Includes reference cases and alternative scenarios for comprehensive energy planning.
getIEODataGet International Energy Outlook (IEO) data for global energy projections. Covers international energy consumption, production, and trade by region and fuel type.
getSEDSDataGet State Energy Data System (SEDS) data for state-level energy statistics. Comprehensive state-by-state energy production, consumption, prices, and expenditures.
getTotalEnergyDataGet Total Energy data for overall U.S. energy statistics. Monthly and annual energy production, consumption, imports, exports, and stocks across all energy sources.
getCO2EmissionsDataGet CO2 Emissions data including aggregates by sector and fuel type, carbon coefficients, and emissions intensities. Essential for carbon footprint and sustainability analysis.
getInternationalDataGet International energy data covering global energy statistics by country and region. Production, consumption, reserves, and trade data for major energy sources worldwide.
getNuclearOutagesDataGet Nuclear Outages data including facility-level outages, generator capacity factors, and U.S. nuclear aggregates. Track nuclear plant availability and maintenance schedules.
searchGeneratorsSearch the U.S. generator inventory by state, fuel type, prime mover, balancing authority, operating status, and minimum nameplate capacity. Returns one row per generator with summer, winter, and nameplate MW, plus operating year and any planned retirement date.
getPlantGenerationPull monthly net generation in MWh and fuel consumption (physical units and BTU) for a single plant, broken out by fuel type and prime mover. Supports monthly, quarterly, and annual frequencies.
searchPlantsGet a plant-level view aggregated from generator-level data: total nameplate and net summer capacity, generator count, fuel and prime-mover mix, and balancing authority. Filter by state, fuel, BA, status, sector. Sorted by total MW descending.
getRetirementScheduleList generators with a planned retirement date set, sorted by earliest retirement first. Filter by state, fuel type, and target retirement year, useful for capacity replacement planning.
getFuelMixGet generation by fuel type for a state or national aggregate at a given month, quarter, or year. Routes to plant-level facility-fuel data when state is set, or to operational aggregates otherwise.
getServiceInfoReference metadata for the plant-level methods: supported routes, facet names, distinct enum values for status / sector / energy source / prime mover / balancing authority, date format, and pagination caps. Cached for 24 hours.
Code ExecutionExecute custom JavaScript/TypeScript code with full EIA connector access. Build complex queries, aggregate data across multiple datasets, perform calculations, create visualizations, and build custom workflows using all available EIA API methods.

Setup

A few steps to connect your AI agents to EIA.

Get started
  1. 1

    Create Your Account

    Sign up for PatchOps to access our MCP server management platform.

  2. 2

    Get EIA Access Key

    Register for a free access key at https://www.eia.gov/opendata/ - it only takes a minute and is completely free.

  3. 3

    Add EIA Credentials

    Navigate to the Dashboard and add your EIA access key to establish the connection.

  4. 4

    Configure Your AI Agent

    Add the EIA MCP server URL to your AI agent's configuration file.

  5. 5

    Start Querying

    Begin asking your AI agent questions about U.S. energy statistics, market trends, and forecasts. Use the EIA MCP connector's structured methods for both standard queries and more advanced workflows.

Connect to your AI assistant

Pick the tool your team uses for the exact setup steps.

  1. 1

    Open Claude settings

    Launch Claude, click the profile button (bottom left), and go to Settings.

  2. 2

    Access connectors

    Open the Connectors tab, scroll to the bottom, and click “Add custom connector”.

  3. 3

    Name your connector

    Enter any name you’d like for this connector.

  4. 4

    Get the connector URL

    Log in to PatchOps, open the /mcp page, and copy the connector URL you want to use.

  5. 5

    Add the connector

    Paste the URL into the “Remote MCP server URL” box and click Add.

  6. 6

    Start using

    Your EIA connector is ready to use in Claude.