Skip to main content
Glama
jalcodev

gridhub-mcp

by jalcodev

GridHub MCP Server

AIエージェント向けの、Model Context Protocol を介した電力市場のライブデータおよび履歴データ。

エンドポイント: https://api.grid-hub.app/mcp — ホスト型、Streamable HTTP、ステートレス。インストール不要。

25のグリッドゾーンをカバー — 米国ISO(CAISO、ERCOT、PJM、MISO、NYISO、ISO-NE、SPP)、欧州の12の入札ゾーン、英国、オーストラリアNEMの5地域 — を1つのJSONスキーマに正規化。EIA、ENTSO-E、NESO、Elexon、AEMOから取得。すべてのレスポンスにはライセンスと帰属情報が含まれます。

ツール

Tool

戻り値の内容

get_zone_brief

現在の価格/需要(GBでは炭素強度も)を、そのゾーン自身の過去30日間と比較したランキング(パーセンタイル、中央値比、最小/最大)、24時間トレンド、発電構成(GB、US-CAISO)、および1文の要約。 「今、Xの電気は安いかクリーンか?」に最適。

get_latest

あるゾーンが公開するすべてのメトリクスの最新値(単位とタイムスタンプ付き)

get_history

開始/終了ウィンドウ(1回の呼び出しで最大31日)における1つのメトリクスの時系列

get_map_snapshot

全25ゾーンの主要値を一度に取得 — ゾーンの比較やランキングに使用

list_zones

ゾーンID、名前、ソース、通貨、ライセンス(無料)

get_status

ソースおよびゾーンごとの取り込みの鮮度(無料)

Related MCP server: Energy Grid MCP Server

アクセス

開始にサインアップは不要、3つのレベル:

  1. サンプルモード — 認証情報なしで接続。ツールは実際の現在のデータを返しますが、切り詰められます(履歴は50行まで、briefは1つのコンテキストブロックを返します)。結果は明確にマークされます。

  2. 無料APIキー — 1日500リクエスト。 grid-hub.app/developers で即時メールサインアップ、または POST https://api.grid-hub.app/v1/keys/signup{"email": "..."} を送信。 Authorization: Bearer <ghk_key> として送信します。

  3. x402 従量課金 — Base上のUSDC、1コールあたり$0.001〜$0.02、X-PAYMENT ヘッダー経由。 x402フロー を参照。

セットアップ

Claude Code

claude mcp add --transport http gridhub https://api.grid-hub.app/mcp \
  --header "Authorization: Bearer YOUR_KEY"

Cursor / Windsurf / VS Code (mcp.json)

{
  "mcpServers": {
    "gridhub": {
      "url": "https://api.grid-hub.app/mcp",
      "headers": { "Authorization": "Bearer YOUR_KEY" }
    }
  }
}

Claude Desktop / claude.ai — カスタムコネクタとして https://api.grid-hub.app/mcp を追加します。これらのクライアントはカスタムヘッダーを送信しないため、オプションの api_key ツール引数としてキーを渡すか、サンプルモードを使用します。

ローカル stdio ブリッジ — ローカル(stdio)サーバーのみをサポートするクライアント向け。 mcp-remote を介してホスト型エンドポイントにプロキシします。ブリッジ以外はローカルで実行されません。

{
  "mcpServers": {
    "gridhub": {
      "command": "npx",
      "args": ["-y", "github:jalcodev/gridhub-mcp"],
      "env": { "GRIDHUB_API_KEY": "YOUR_KEY" }
    }
  }
}

またはDockerを使用: docker build -t gridhub-mcp . && docker run -i -e GRIDHUB_API_KEY=YOUR_KEY gridhub-mcp。サンプルモードではキーを省略します。

キーなしの任意のクライアント — ヘッダーを省略します。サンプルモードのデータとアップグレード方法のメモが返されます。

プロトコル

  • Streamable HTTP、ステートレス: 各POSTにつき1つのJSON-RPCメッセージ、JSONレスポンス。セッションなし、SSEなし。

  • MCP 2026-07-28(ヘッダーミラーリングリクエスト、ハンドシェイクなし)および 2025-03-26 から 2025-11-25initialize ハンドシェイク)に対応。

  • ツール結果にはテキストブロックとともに structuredContent が含まれます。

  • レート制限とクォータは基盤となる REST API のものに従います。MCPレイヤーは独自のものを追加しません。

関連

ライセンス

このリポジトリのコードはMITライセンスです。サービスが返すデータは各ソースのライセンスに従い、各レスポンス(license および attribution フィールド)に明記されています。

A
license - permissive license
Not graded
quality - not tested
B
maintenance

Maintenance

Maintainers
Response time
Release cycle
Releases (12mo)
Commit activity

Resources

Unclaimed servers have limited discoverability.

Looking for Admin?

If you are the server author, to access and configure the admin panel.

Related MCP Servers

  • F
    license
    Not graded
    quality
    D
    maintenance
    MCP server for real-time electricity prices, carbon intensity, and energy analytics across 41+ zones in Europe, Great Britain, the United States, and Australia. Query live prices, compare zones, check gas storage levels, get green scores, find optimal charging windows, and access advanced analytics. Free Basic tier requires no API key. Install via npx gridpulse-mcp or connect directly via Streamab
  • A
    license
    A
    quality
    D
    maintenance
    Provides real-time electricity grid data including CO2 intensity, power mix, and wholesale prices, plus optimal green time windows for energy-intensive AI tasks. Supports UK, Germany, and global regions with optional API keys.
    9
    MIT
  • A
    license
    B
    quality
    A
    maintenance
    Provides real-time European and GB electricity grid data via MCP, including generation, prices, carbon intensity, and grid infrastructure.
    44
    417
    5
    MIT
  • A
    license
    Not graded
    quality
    C
    maintenance
    Enables access to European electricity data including day-ahead prices, probabilistic forecasts, carbon intensity, and cheapest-window optimization for 43 bidding zones.
    MIT

View all related MCP servers

Related MCP Connectors

  • Real-time electricity prices for AI agents. 40+ countries, 100+ zones. No auth required.

  • European day-ahead electricity prices (43 zones), accuracy-published forecasts, carbon, optimize.

  • Paywalled SMARD day-ahead electricity prices (DE-LU, 15‑minute resolution) via x402 on Base mainnet.

View all MCP Connectors

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/jalcodev/gridhub-mcp'

If you have feedback or need assistance with the MCP directory API, please join our Discord server