recent_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/recent_consultations for the schema, then POST the same URL with its arguments for the data.
Danish public consultations opened or closed in the last N days. kind “opened” (default) lists those published in the window, newest first; kind “closed” lists those whose deadline passed in the window. days 1-90 (default 7), limit 1-100 (default 30). Each row has id, title, authority, type, area, status, deadline, publication date and link. The earliest signal of upcoming legislation.
Parameters
| Name | Type | Required | Description |
|---|---|---|---|
days | number | no | Days back from today, 1-90 (default 7) |
kind | string | no | opened (published in the window, default) or closed (deadline passed in the window) |
limit | number | no | Rows to return, 1-100 (default 30) |
Example call
Arguments
{
"days": 7,
"kind": "opened",
"limit": 10
}
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":"recent_consultations","arguments":{"days":7,"kind":"opened","limit":10}}}'
TypeScript (@pipeworx/sdk)
import { Pipeworx } from '@pipeworx/sdk';
const pipeworx = new Pipeworx();
const result = await pipeworx.call('recent_consultations', {
"days": 7,
"kind": "opened",
"limit": 10
});
Response shape
| Field | Type | Description |
|---|---|---|
found | boolean | |
kind | string | |
from_date | string | |
to_date | string | |
returned | number | |
scanned_rows | number | |
consultations | array | |
source | string |
Full JSON Schema
{
"type": "object",
"properties": {
"found": {
"type": "boolean"
},
"kind": {
"type": "string"
},
"from_date": {
"type": "string"
},
"to_date": {
"type": "string"
},
"returned": {
"type": "number"
},
"scanned_rows": {
"type": "number"
},
"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.