The full upstream README, mirrored here for reference. Install config, tool schemas, adoption signals, and an original overview live on the GridHub Electricity Market Data listing page.
Live and historical electricity market data for AI agents, over the Model Context Protocol.
Endpoint: https://api.grid-hub.app/mcp — hosted, Streamable HTTP, stateless. Nothing to install.
Covers 25 grid zones — US ISOs (CAISO, ERCOT, PJM, MISO, NYISO, ISO-NE, SPP), 12 European bidding zones, Great Britain, and the five Australian NEM regions — normalised into one JSON schema. Sourced from EIA, ENTSO-E, NESO, Elexon and AEMO; every response carries its licence and attribution.
| Tool | What it returns |
|---|---|
get_zone_brief | Current price / demand (and carbon intensity for GB) ranked against the zone's own last 30 days (percentile, vs-median, min/max), 24h trend, generation mix (GB, US-CAISO), and a one-sentence summary. Best for "is electricity cheap or clean in X right now?" |
get_latest | Most recent value of every metric one zone publishes, with unit and timestamp |
get_history | Time series for one metric over a start/end window (up to 31 days per call) |
get_map_snapshot | Headline values for all 25 zones at once — compare or rank zones |
list_zones | Zone ids, names, sources, currencies, licences (free) |
get_status | Ingestion freshness per source and zone (free) |
Three levels, no signup needed to start:
POST https://api.grid-hub.app/v1/keys/signup with {"email": "..."}. Send as Authorization: Bearer <ghk_key>.X-PAYMENT header. See the x402 flow.Claude Code
Cursor / Windsurf / VS Code (mcp.json)
Claude Desktop / claude.ai — add https://api.grid-hub.app/mcp as a custom connector. These clients don't send custom headers; pass the key as the optional api_key tool argument, or use sample mode.
Local stdio bridge — for clients that only support local (stdio) servers. It proxies to the hosted endpoint via mcp-remote; nothing runs locally except the bridge.
Or with Docker: docker build -t gridhub-mcp . && docker run -i -e GRIDHUB_API_KEY=YOUR_KEY gridhub-mcp. Omit the key for sample mode.
Any client, no key — omit the header. You'll get sample-mode data and a note on how to upgrade.
2026-07-28 (header-mirrored requests, no handshake) and 2025-03-26 through 2025-11-25 (initialize handshake).structuredContent alongside the text block.llms.txt: https://api.grid-hub.app/llms.txtio.github.jalcodev/gridhubThe code in this repository is MIT licensed. Data returned by the service is subject to each source's licence, stated in every response (license and attribution fields).