Skip to main content
Glama
lzinga

US Government Open Data MCP

eia_electricity

Retrieve U.S. electricity data including retail prices, generation, and consumption by state and sector to analyze energy trends and inform decisions.

Instructions

Get electricity retail prices, generation, or consumption by state and sector.

Sectors: residential (RES), commercial (COM), industrial (IND), transportation (TRA), all (ALL). Data types: 'price' (cents/kWh), 'revenue' (M$), 'sales' (MWh), 'customers'

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
stateNoTwo-letter state code (e.g., 'CA', 'TX'). Omit for national.
sectorNoSector: RES=residential, COM=commercial, IND=industrial, ALL=default
data_typeNoData type (default: price in cents/kWh)
frequencyNoFrequency (default: monthly)
startNoStart date (YYYY-MM or YYYY). Default: 2 years ago
endNoEnd date (YYYY-MM or 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