dk_law_lookup
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_lookup for the schema, then POST the same URL with its arguments for the data.
Look up one Danish legal document by a stable identifier and return its record (title, popular name, type, citation, ministry, publication, status, validity dates, European-regulation references, permanent address) without the text. Accepts an ELI path or address (“lta/2024/289”, “https://www.retsinformation.dk/eli/lta/2024/289”), or an accession number as listed by dk_law_recent_changes (“A20240028929”). Unknown identifiers return found false. Use dk_law_get for the text.
Parameters
| Name | Type | Required | Description |
|---|---|---|---|
identifier | string | yes | ELI path or address, or accession number such as “A20240028929”. |
Example call
Arguments
{
"identifier": "B20060138405"
}
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_lookup","arguments":{"identifier":"B20060138405"}}}'
TypeScript (@pipeworx/sdk)
import { Pipeworx } from '@pipeworx/sdk';
const pipeworx = new Pipeworx();
const result = await pipeworx.call('dk_law_lookup', {
"identifier": "B20060138405"
});
More examples
{
"identifier": "https://www.retsinformation.dk/eli/lta/2024/289"
}
Response shape
| Field | Type | Description |
|---|---|---|
found | boolean | |
id | string | |
citation | string | null | |
title | string | null | |
popular_title | string | null | |
type | string | null | |
ministry | string | null | |
published_in | string | null | |
published | string | null | |
status | string | |
valid_from | string | null | |
historic_from | string | null | |
eu_references | string | null | |
url | string | |
note | string | |
section_count | number | null | |
empty_reason | string | |
source | string | |
data_as_of | string |
Full JSON Schema
{
"type": "object",
"properties": {
"found": {
"type": "boolean"
},
"id": {
"type": "string"
},
"citation": {
"type": [
"string",
"null"
]
},
"title": {
"type": [
"string",
"null"
]
},
"popular_title": {
"type": [
"string",
"null"
]
},
"type": {
"type": [
"string",
"null"
]
},
"ministry": {
"type": [
"string",
"null"
]
},
"published_in": {
"type": [
"string",
"null"
]
},
"published": {
"type": [
"string",
"null"
]
},
"status": {
"type": "string"
},
"valid_from": {
"type": [
"string",
"null"
]
},
"historic_from": {
"type": [
"string",
"null"
]
},
"eu_references": {
"type": [
"string",
"null"
]
},
"url": {
"type": "string"
},
"note": {
"type": "string"
},
"section_count": {
"type": [
"number",
"null"
]
},
"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.