Skip to main content
Glama
lzinga

US Government Open Data MCP

eia_state_energy

Retrieve state-level energy data on production, consumption, expenditures, and prices by energy source for U.S. states from the State Energy Data System (SEDS).

Instructions

Get state-level energy data from the State Energy Data System (SEDS). Covers production, consumption, expenditures, and prices by energy source for all 50 states.

MSN codes (energy data codes):

  • TETCB: Total energy consumption (trillion BTU)

  • TETCD: Total energy consumption per capita

  • TEPRB: Total energy production (trillion BTU)

  • ESTCB: Electricity total consumption

  • CLTCB: Coal consumption

  • NNTCB: Natural gas consumption

  • PATCB: Petroleum consumption

  • RETCB: Renewable energy consumption

  • NUETB: Nuclear energy consumption

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
stateNoTwo-letter state code (e.g., 'CA'). Omit for all states.
msnNoMSN energy data code. 'TETCB' (total consumption, default), 'TETCD' (per capita), 'TEPRB' (production), 'RETCB' (renewables), 'PATCB' (petroleum)
startNoStart year (YYYY). Default: 5 years ago
endNoEnd year (YYYY). Default: latest available
lengthNoMax rows (API max: 5000). Omit to let date range control volume.
offsetNoRow offset for pagination
Install Server

Other Tools

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/lzinga/us-government-open-data-mcp'

If you have feedback or need assistance with the MCP directory API, please join our Discord server