io.github.pranavbhosale25/eia-mcp-gridsense
MCP server for US electricity grid data: fuel mix, demand, retail prices, CO2 emissions
Install
Add this to your client's MCP configuration (Claude Desktop: claude_desktop_config.json; Cursor: .cursor/mcp.json; VS Code and others use the same "mcpServers" shape).
eia-mcp-gridsenseclaude mcp add eia-mcp-gridsense -e 'EIA_API_KEY=<your eia_api_key>' -- uvx eia-mcp-gridsense==0.1.0
{
"mcpServers": {
"eia-mcp-gridsense": {
"command": "uvx",
"args": [
"eia-mcp-gridsense==0.1.0"
],
"env": {
"EIA_API_KEY": "<your eia_api_key>"
}
}
}
}
Environment variables
EIA_API_KEYrequired secret Your EIA API key (register at https://www.eia.gov/opendata/register.php)
Documentation
From the project's README on GitHub, refreshed weekly. Links open on GitHub.
eia-mcp-gridsense
An MCP server exposing US electricity grid data from the EIA API:
get_fuel_mix— hourly generation by fuel source for a grid regionget_electricity_demand— hourly demand for a grid regionget_wholesale_prices— monthly retail price proxy for a stateget_co2_emissions— annual CO2 emissions by state, electric power sector
Setup
Requires an EIA API key: https://www.eia.gov/opendata/register.php
Set it as an environment variable (or in a local .env file, never committed):
EIA_API_KEY=your-key-here
Usage with Claude Desktop
{
"mcpServers": {
"eia-mcp-gridsense": {
"command": "uvx",
"args": ["eia-mcp-gridsense"],
"env": {
"EIA_API_KEY": "your-key-here"
}
}
}
}
Frequently asked questions
What is io.github.pranavbhosale25/eia-mcp-gridsense?
MCP server for US electricity grid data: fuel mix, demand, retail prices, CO2 emissions
How do I install io.github.pranavbhosale25/eia-mcp-gridsense?
It runs on your machine. In Claude Code: claude mcp add eia-mcp-gridsense -e 'EIA_API_KEY=<your eia_api_key>' -- uvx eia-mcp-gridsense==0.1.0. For other clients, paste the JSON configuration from this page into their MCP settings.
Does io.github.pranavbhosale25/eia-mcp-gridsense need an API key?
Yes. It expects EIA_API_KEY, which you set in its configuration.
Is io.github.pranavbhosale25/eia-mcp-gridsense open source?
Its code is public on GitHub, but the repository does not declare a standard license.
Who maintains io.github.pranavbhosale25/eia-mcp-gridsense?
It is published by pranavbhosale25. AI.tn lists it but does not maintain or endorse it.
From the official MCP Registry. Listing is not an endorsement: review a server's code and permissions before giving it access to your data.