# Eia MCP Gridsense

> Eia MCP Gridsense is an open-source MCP server. MCP server for US electricity grid data: fuel mix, demand, retail prices, CO2 emissions. It runs locally on your machine and is started by your AI client.

- **Kind:** MCP server
- **Pricing:** Open source
- **Repository:** https://github.com/pranavbhosale25/eia-mcp-gridsense
- **MCP Registry name:** io.github.pranavbhosale25/eia-mcp-gridsense
- **Listing updated:** 2026-11-13

## About

MCP server for US electricity grid data: fuel mix, demand, retail prices, CO2 emissions

## Install

### Claude Code (Terminal)

```sh
claude mcp add eia-mcp-gridsense --env EIA_API_KEY='<EIA_API_KEY>' -- uvx eia-mcp-gridsense
```

### Claude Desktop (claude_desktop_config.json)

```json
{
  "mcpServers": {
    "eia-mcp-gridsense": {
      "command": "uvx",
      "args": [
        "eia-mcp-gridsense"
      ],
      "env": {
        "EIA_API_KEY": "<EIA_API_KEY>"
      }
    }
  }
}
```

### Cursor (~/.cursor/mcp.json)

```json
{
  "mcpServers": {
    "eia-mcp-gridsense": {
      "command": "uvx",
      "args": [
        "eia-mcp-gridsense"
      ],
      "env": {
        "EIA_API_KEY": "<EIA_API_KEY>"
      }
    }
  }
}
```

### VS Code (.vscode/mcp.json)

```json
{
  "servers": {
    "eia-mcp-gridsense": {
      "type": "stdio",
      "command": "uvx",
      "args": [
        "eia-mcp-gridsense"
      ],
      "env": {
        "EIA_API_KEY": "<EIA_API_KEY>"
      }
    }
  }
}
```

### Windsurf (~/.codeium/windsurf/mcp_config.json)

```json
{
  "mcpServers": {
    "eia-mcp-gridsense": {
      "command": "uvx",
      "args": [
        "eia-mcp-gridsense"
      ],
      "env": {
        "EIA_API_KEY": "<EIA_API_KEY>"
      }
    }
  }
}
```

### Other clients (your client's MCP settings (most use this shape))

```json
{
  "mcpServers": {
    "eia-mcp-gridsense": {
      "command": "uvx",
      "args": [
        "eia-mcp-gridsense"
      ],
      "env": {
        "EIA_API_KEY": "<EIA_API_KEY>"
      }
    }
  }
}
```

## FAQ

### Is Eia MCP Gridsense free?

Yes. Eia MCP Gridsense is open source, so you can use and self-host it for free.

### How do I add Eia MCP Gridsense to Claude Code?

Run this command in your terminal: claude mcp add eia-mcp-gridsense --env EIA_API_KEY='<EIA_API_KEY>' -- uvx eia-mcp-gridsense

## Where this comes from

- Description: from the official MCP Registry entry.
- Install steps: from the official MCP Registry entry.

---
Source: https://ai-powered.com/mcp/eia-mcp-gridsense
