list_consultations
Pack: denmark-consultations · 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/list_consultations for the schema, then POST the same URL with its arguments for the data.
List Danish public consultations (hoeringer) on Høringsportalen, where every ministry and agency publishes draft bills and executive orders for comment. Defaults to consultations that are open now, soonest deadline first. Filter by title text (Danish, 3+ letters), authority (a ministry or agency name, e.g. “Klima-, Energi- og Forsyningsministeriet”), area, type (e.g. “Lovforslag”, “Bekendtgørelser”), year (e.g. “2025/2026”), status (open, expired, archived, any) and a deadline window (deadline_from / deadline_to, YYYY-MM-DD). Returns id, title, authority, type, area, status, deadline, publication date and link, with the total matching count. A name that matches no authority returns an error naming the nearest ones. Pair with get_consultation and list_responses.
Parameters
| Name | Type | Required | Description |
|---|---|---|---|
text | string | no | Word(s) in the title or text, Danish, at least 3 letters |
authority | string | no | Ministry or agency name (Danish), e.g. “Skatteministeriet” or part of one |
area | string | no | Subject area, e.g. “Natur og klima”, “Sundhed” |
type | string | no | Consultation type, e.g. “Lovforslag”, “Bekendtgørelser”, “Vejledning” |
year | string | no | Consultation year as the portal writes it, e.g. “2025/2026” |
status | string | no | open (default), expired (deadline passed), archived, or any |
deadline_from | string | no | Earliest deadline, YYYY-MM-DD |
deadline_to | string | no | Latest deadline, YYYY-MM-DD |
limit | number | no | Rows to return, 1-100 (default 20) |
skip | number | no | Rows to skip (not with a deadline window) |
Example call
Arguments
{
"status": "open",
"limit": 5
}
curl
curl -X POST https://gateway.pipeworx.io/denmark-consultations/mcp \
-H 'Content-Type: application/json' \
-d '{"jsonrpc":"2.0","id":1,"method":"tools/call","params":{"name":"list_consultations","arguments":{"status":"open","limit":5}}}'
TypeScript (@pipeworx/sdk)
import { Pipeworx } from '@pipeworx/sdk';
const pipeworx = new Pipeworx();
const result = await pipeworx.call('list_consultations', {
"status": "open",
"limit": 5
});
Response shape
| Field | Type | Description |
|---|---|---|
found | boolean | |
total_matching | number | |
returned | number | |
skip | number | |
sorted_by | string | |
filters | object | |
consultations | array | |
source | string |
Full JSON Schema
{
"type": "object",
"properties": {
"found": {
"type": "boolean"
},
"total_matching": {
"type": "number"
},
"returned": {
"type": "number"
},
"skip": {
"type": "number"
},
"sorted_by": {
"type": "string"
},
"filters": {
"type": "object",
"properties": {
"status": {
"type": "string"
}
},
"additionalProperties": true
},
"consultations": {
"type": "array",
"items": {
"type": "object",
"properties": {
"id": {
"type": "number"
},
"title": {
"type": "string"
},
"authority": {
"type": "string"
},
"type": {
"type": "string"
},
"area": {
"type": "string"
},
"status": {
"type": "string"
},
"deadline": {
"type": "string"
},
"published": {
"type": "string"
},
"url": {
"type": "string"
}
},
"additionalProperties": true
}
},
"source": {
"type": "string"
}
},
"additionalProperties": true
}
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 denmark-consultations pack
{
"mcpServers": {
"denmark-consultations": {
"url": "https://gateway.pipeworx.io/denmark-consultations/mcp"
}
}
}
See Getting Started for client-specific install steps.