query_dataset
Pack: energi-data-dk · 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/query_dataset for the schema, then POST the same URL with its arguments for the data.
Generic escape hatch for any of the ~100 Energi Data Service (Energinet, Denmark) datasets.
Parameters
| Name | Type | Required | Description |
|---|---|---|---|
dataset | string | yes | Dataset name, e.g. “ProductionConsumptionSettlement”. |
limit | number | no | Max records (default 20). |
sort | string | no | Sort expression, e.g. “HourUTC DESC”. |
start | string | no | ISO date/time lower bound. |
end | string | no | ISO date/time upper bound. |
filter | object | no | Column→value[] filter, e.g. {“PriceArea”:[“DK1”]}. Values are arrays. |
Example call
Arguments
{
"dataset": "ProductionConsumptionSettlement",
"limit": 20
}
curl
curl -X POST https://gateway.pipeworx.io/energi-data-dk/mcp \
-H 'Content-Type: application/json' \
-d '{"jsonrpc":"2.0","id":1,"method":"tools/call","params":{"name":"query_dataset","arguments":{"dataset":"ProductionConsumptionSettlement","limit":20}}}'
TypeScript (@pipeworx/sdk)
import { Pipeworx } from '@pipeworx/sdk';
const pipeworx = new Pipeworx();
const result = await pipeworx.call('query_dataset', {
"dataset": "ProductionConsumptionSettlement",
"limit": 20
});
More examples
{
"dataset": "Elspotprices",
"start": "2026-06-01",
"end": "2026-06-02",
"filter": {
"PriceArea": [
"DK1",
"DK2"
]
}
}
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 energi-data-dk pack
{
"mcpServers": {
"energi-data-dk": {
"url": "https://gateway.pipeworx.io/energi-data-dk/mcp"
}
}
}
See Getting Started for client-specific install steps.