GridStatus (Unofficial)

v0.2.2
io.github.pipeworx-io/gridstatus Checked 1 day ago Published 15 days ago

Unofficial GridStatus MCP — wraps the GridStatus.io REST API (api.gridstatus.io/v1)

These tools were reported by the server itself during our smoke test (tools/list), not copied from the README.

gridstatus_datasets

List/search US grid datasets (LMP prices, load, fuel mix across the 7 ISOs: CAISO, ERCOT, PJM, MISO, SPP, NYISO, ISONE). Use this to discover the exact dataset_id to pass to gridstatus_query. Example: gridstatus_datasets({ filter: "caiso lmp", _apiKey: "your-key" })

ParameterTypeDescription
_apiKey *stringGridStatus API key (free tier at gridstatus.io)
filterstringOptional keyword(s) to narrow the list, matched against dataset id/name/description/source (all words must match). E.g. "caiso lmp", "ercot load", "pjm fuel mix". Omit to list all.

gridstatus_query

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" })

ParameterTypeDescription
_apiKey *stringGridStatus API key
dataset_id *stringDataset id to query, e.g. "caiso_lmp_real_time_5_min", "ercot_load", "pjm_fuel_mix". Discover ids via gridstatus_datasets.
end_timestringOptional ISO end time (rows before this).
limitnumberMax rows to return (default 50, capped at 200).
resample_frequencystringOptional resampling bucket, e.g. "5 minutes", "1 hour", "1 day". Reduces row volume for long windows.
start_timestringOptional ISO start time (rows on/after this). E.g. "2026-07-01T00:00Z" or "2026-07-01T00:00-05:00".

gridstatus_latest

Latest values for a grid dataset — convenience that pulls the most recent rows from a recent window. Pass a dataset_id (e.g. "ercot_load", "caiso_fuel_mix"). Example: gridstatus_latest({ dataset_id: "ercot_load", _apiKey: "your-key" })

ParameterTypeDescription
_apiKey *stringGridStatus API key
dataset_id *stringDataset id, e.g. "ercot_load", "caiso_lmp_real_time_5_min", "pjm_fuel_mix". Discover ids via gridstatus_datasets.