gridstatus_latest
Pack: gridstatus · Endpoint: https://gateway.pipeworx.io/gridstatus/mcp
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” })
Parameters
| Name | Type | Required | Description |
|---|---|---|---|
dataset_id | string | yes | Dataset id, e.g. “ercot_load”, “caiso_lmp_real_time_5_min”, “pjm_fuel_mix”. Discover ids via gridstatus_datasets. |
_apiKey | string | yes | GridStatus API key |
Example call
Arguments
{
"dataset_id": "ercot_load",
"_apiKey": "your-gridstatus-api-key"
}
curl
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_latest","arguments":{"dataset_id":"ercot_load","_apiKey":"your-gridstatus-api-key"}}}'
TypeScript (@pipeworx/sdk)
import { Pipeworx } from '@pipeworx/sdk';
const pipeworx = new Pipeworx();
const result = await pipeworx.call('gridstatus_latest', {
"dataset_id": "ercot_load",
"_apiKey": "your-gridstatus-api-key"
});
More examples
{
"dataset_id": "pjm_fuel_mix",
"_apiKey": "your-gridstatus-api-key"
}
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.