dk_consultations_recent

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/dk_consultations_recent 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

NameTypeRequiredDescription
daysnumbernoDays back from today, 1-90 (default 7)
kindstringnoopened (published in the window, default) or closed (deadline passed in the window)
limitnumbernoRows 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":"dk_consultations_recent","arguments":{"days":7,"kind":"opened","limit":10}}}'

TypeScript (@pipeworx/sdk)

import { Pipeworx } from '@pipeworx/sdk';
const pipeworx = new Pipeworx();

const result = await pipeworx.call('dk_consultations_recent', {
  "days": 7,
  "kind": "opened",
  "limit": 10
});

Response shape

FieldTypeDescription
foundboolean
kindstring
from_datestring
to_datestring
returnednumber
scanned_rowsnumber
consultationsarray
sourcestring
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.

Regenerated from source · build November 24, 2026