query_dataset
Pack: elexon · Endpoint: https://gateway.pipeworx.io/elexon/mcp
Generic escape hatch for any Elexon BMRS Insights dataset (e.g. MID market index/day-ahead prices, DGWS actual wind/solar generation, FUELHH generation by fuel). Pass a dataset code and a datetime window; pick the date parameter style with date_param. Keyless. Returns the raw records.
Parameters
| Name | Type | Required | Description |
|---|---|---|---|
dataset | string | yes | Dataset code, e.g. “MID”, “DGWS”, “FUELHH”. |
from | string | yes | Window start, ISO datetime. |
to | string | yes | Window end, ISO datetime. |
date_param | string | no | Date parameter style: “publishDateTime” (default → publishDateTimeFrom/To), “settlement” (→ settlementDateFrom/To, use plain dates like “2024-06-01”), or “from” (→ from/to). |
Example call
curl -X POST https://gateway.pipeworx.io/elexon/mcp \
-H 'Content-Type: application/json' \
-d '{"jsonrpc":"2.0","id":1,"method":"tools/call","params":{"name":"query_dataset","arguments":{}}}'
Connect
Add this to your MCP client config, or use one-click install buttons:
{
"mcpServers": {
"elexon": {
"url": "https://gateway.pipeworx.io/elexon/mcp"
}
}
}
See Getting Started for client-specific install steps.