gridstatus_latest
Pack: gridstatus · Connect: https://pipeworx.io/mcp (see Connect below for a single-pack URL)
No MCP client? Call it directly: GET https://gateway.pipeworx.io/v1/tools/gridstatus_latest for the schema, then POST the same URL with its arguments for the data.
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 — every tool in the catalog, including this one — or use one-click install buttons:
{
"mcpServers": {
"pipeworx": {
"url": "https://pipeworx.io/mcp"
}
}
}
Connect to just the gridstatus pack
{
"mcpServers": {
"gridstatus": {
"url": "https://gateway.pipeworx.io/gridstatus/mcp"
}
}
}
See Getting Started for client-specific install steps.