gridstatus_query

Pack: gridstatus · Endpoint: https://gateway.pipeworx.io/gridstatus/mcp

Query a grid dataset’s time-series over a time window. Pass a dataset_id from gridstatus_datasets. Common ids: caiso_lmp_real_time_5_min, ercot_load, pjm_fuel_mix. Example: gridstatus_query({ dataset_id: “caiso_lmp_real_time_5_min”, start_time: “2026-07-01T00:00Z”, end_time: “2026-07-01T06:00Z”, limit: 100, _apiKey: “your-key” })

Parameters

NameTypeRequiredDescription
dataset_idstringyesDataset id to query, e.g. “caiso_lmp_real_time_5_min”, “ercot_load”, “pjm_fuel_mix”. Discover ids via gridstatus_datasets.
start_timestringnoOptional ISO start time (rows on/after this). E.g. “2026-07-01T00:00Z” or “2026-07-01T00:00-05:00”.
end_timestringnoOptional ISO end time (rows before this).
limitnumbernoMax rows to return (default 50, capped at 200).
resample_frequencystringnoOptional resampling bucket, e.g. “5 minutes”, “1 hour”, “1 day”. Reduces row volume for long windows.
_apiKeystringyesGridStatus API key

Example call

curl -X POST https://gateway.pipeworx.io/gridstatus/mcp \
  -H 'Content-Type: application/json' \
  -d '{"jsonrpc":"2.0","id":1,"method":"tools/call","params":{"name":"gridstatus_query","arguments":{}}}'

Connect

Add this to your MCP client config, or use one-click install buttons:

{
  "mcpServers": {
    "gridstatus": {
      "url": "https://gateway.pipeworx.io/gridstatus/mcp"
    }
  }
}

See Getting Started for client-specific install steps.

Regenerated from source · build July 8, 2026