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

NameTypeRequiredDescription
identifierstringyesELI 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

FieldTypeDescription
foundboolean
idstring
citationstring | null
titlestring | null
popular_titlestring | null
typestring | null
ministrystring | null
published_instring | null
publishedstring | null
statusstring
valid_fromstring | null
historic_fromstring | null
eu_referencesstring | null
urlstring
notestring
section_countnumber | null
empty_reasonstring
sourcestring
data_as_ofstring
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.

Regenerated from source · build November 21, 2026