dk_law_recent_changes
Pack: denmark-law · 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_law_recent_changes for the schema, then POST the same URL with its arguments for the data.
Danish legal documents changed recently, from the publisher’s change feed for downstream users (Retsinformation, Civilstyrelsen): one row per changed document with accession number, document id, type (act, consolidated act, executive order, …), the reason (new document, content changed, metadata changed, removed), the change date and the permanent address. days (1-4, default 1) counts back from today; date picks one day. THE FEED ONLY LOOKS BACK 10 DAYS, so every response states window_days and the earliest date it can see: it is not the history of Danish law. The publisher allows one call per 10 seconds and only 03:00-23:45 Danish time; calls are serialised here, so each extra day adds about 10 seconds, and outside opening hours the response says so instead of returning nothing. Pair a row with dk_law_lookup for the record.
Parameters
| Name | Type | Required | Description |
|---|---|---|---|
days | number | no | How many days back from today to read, 1-4 (default 1). Each day is one serialised publisher call. |
date | string | no | One day, YYYY-MM-DD, within the last 10 days. Overrides days. |
reason | string | no | Only rows with this reason. |
document_type | string | no | Only rows of this type short name, e.g. “BEK” (executive order), “LBK” (consolidated act), “LOV” (act); matches the start of the short name. |
limit | number | no | Max rows returned (default 100, max 500); counts cover every row. |
Example call
Arguments
{
"days": 2,
"limit": 5
}
curl
curl -X POST https://gateway.pipeworx.io/denmark-law/mcp \
-H 'Content-Type: application/json' \
-d '{"jsonrpc":"2.0","id":1,"method":"tools/call","params":{"name":"dk_law_recent_changes","arguments":{"days":2,"limit":5}}}'
TypeScript (@pipeworx/sdk)
import { Pipeworx } from '@pipeworx/sdk';
const pipeworx = new Pipeworx();
const result = await pipeworx.call('dk_law_recent_changes', {
"days": 2,
"limit": 5
});
More examples
{
"date": "2026-11-19",
"document_type": "BEK",
"limit": 3
}
Response shape
| Field | Type | Description |
|---|---|---|
found | boolean | |
publisher_window_days | number | |
earliest_date_visible | string | |
today | string | |
note | string | |
days_read | array | |
rows_per_day_as_published | object | |
total_changes | number | |
by_reason | object | |
by_type | object | |
returned | number | |
rows | array | |
empty_reason | string | |
source | string | |
data_as_of | string |
Full JSON Schema
{
"type": "object",
"properties": {
"found": {
"type": "boolean"
},
"publisher_window_days": {
"type": "number"
},
"earliest_date_visible": {
"type": "string"
},
"today": {
"type": "string"
},
"note": {
"type": "string"
},
"days_read": {
"type": "array",
"items": {
"type": "string"
}
},
"rows_per_day_as_published": {
"type": "object",
"additionalProperties": {
"type": "number"
}
},
"total_changes": {
"type": "number"
},
"by_reason": {
"type": "object",
"additionalProperties": {
"type": "number"
}
},
"by_type": {
"type": "object",
"additionalProperties": {
"type": "number"
}
},
"returned": {
"type": "number"
},
"rows": {
"type": "array",
"items": {
"type": "object",
"properties": {
"accession_number": {
"type": [
"string",
"null"
]
},
"document_id": {
"type": [
"string",
"null"
]
},
"type": {
"type": [
"string",
"null"
]
},
"reason": {
"type": "string"
},
"change_date": {
"type": [
"string",
"null"
]
},
"lookup_identifier": {
"type": [
"string",
"null"
]
},
"url": {
"type": [
"string",
"null"
]
}
},
"additionalProperties": true
}
},
"empty_reason": {
"type": "string"
},
"source": {
"type": "string"
},
"data_as_of": {
"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-law pack
{
"mcpServers": {
"denmark-law": {
"url": "https://gateway.pipeworx.io/denmark-law/mcp"
}
}
}
See Getting Started for client-specific install steps.