neso_query_data
Pack: neso · Endpoint: https://gateway.pipeworx.io/neso/mcp
Query rows from a NESO GB energy dataset resource (CKAN DataStore) by resource_id — UK electricity demand, wind generation forecasts, carbon intensity, balancing data. Supports exact-match filters (field->value object), full-text query, limit, offset. Returns field names/types plus records. Example: neso_query_data({ resource_id: “aec5601a-7f3e-4c4c-bf56-d8e4184d3c5b”, limit: 20 })
Parameters
| Name | Type | Required | Description |
|---|---|---|---|
resource_id | string | yes | Resource id from neso_dataset_resources (must have datastore_active true). |
filters | object | no | Optional exact-match filters, e.g. { “DAYSAHEAD”: 1 }. |
query | string | no | Optional full-text search over the rows. |
limit | number | no | Max rows, 1-200 (default 20). |
offset | number | no | Pagination offset (default 0). |
sort | string | no | Optional sort, e.g. “TARGETDATE desc”. |
Example call
curl -X POST https://gateway.pipeworx.io/neso/mcp \
-H 'Content-Type: application/json' \
-d '{"jsonrpc":"2.0","id":1,"method":"tools/call","params":{"name":"neso_query_data","arguments":{}}}'
Connect
Add this to your MCP client config, or use one-click install buttons:
{
"mcpServers": {
"neso": {
"url": "https://gateway.pipeworx.io/neso/mcp"
}
}
}
See Getting Started for client-specific install steps.