# GridHub Electricity Market Data MCP server

> Provides live and historical electricity prices, demand, and carbon intensity data across 25 global grid zones for AI agents.

- Repository: https://github.com/jalcodev/gridhub-mcp
- Page: https://hostedmcp.org/servers/jalcodev/gridhub-mcp
- Transport: remote
- Stars: 0
- License: MIT
- Latest version: 1.0.2

## Install

### Claude Code

```sh
claude mcp add --transport http gridhub-mcp https://api.grid-hub.app/mcp
```

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

```json
{
  "mcpServers": {
    "gridhub-mcp": {
      "url": "https://api.grid-hub.app/mcp"
    }
  }
}
```

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

```json
{
  "servers": {
    "gridhub-mcp": {
      "type": "http",
      "url": "https://api.grid-hub.app/mcp"
    }
  }
}
```

### VS Code CLI

```sh
code --add-mcp '{"name":"gridhub-mcp","type":"http","url":"https://api.grid-hub.app/mcp"}'
```

### Codex

```sh
codex mcp add gridhub-mcp --url https://api.grid-hub.app/mcp
```

### Codex config.toml (`~/.codex/config.toml`)

```toml
[mcp_servers.gridhub-mcp]
url = "https://api.grid-hub.app/mcp"
```

### Gemini CLI

```sh
gemini mcp add -s user --transport http gridhub-mcp https://api.grid-hub.app/mcp
```

### Gemini settings.json (`~/.gemini/settings.json`)

```json
{
  "mcpServers": {
    "gridhub-mcp": {
      "url": "https://api.grid-hub.app/mcp",
      "type": "http"
    }
  }
}
```

## Environment variables

| Name | Required | Secret | Description |
|---|---|---|---|
| `GRIDHUB_API_KEY` | no | no |  |

## Tools (6)

- `get_zone_brief`
- `get_latest`
- `get_history`
- `get_map_snapshot`
- `list_zones`
- `get_status`

## FAQ

### Do I need to sign up to use GridHub?

No, you can start immediately using sample mode with no credentials, which returns real but truncated data.

### What kind of electricity data is available?

The server provides live and historical electricity prices, demand, and carbon intensity for 25 grid zones including US ISOs, European bidding zones, Great Britain, and Australian NEM regions.
