dk_law_get

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_get for the schema, then POST the same URL with its arguments for the data.

Fetch one Danish legal document by id from dk_law_search (an ELI path such as “lta/2024/289” for the current Data Protection Act consolidated act). Returns title, popular name, type, citation, ministry, publication, status (valid or historic), validity date and the text. Pass section (e.g. “6” or “10 a” for § 10 a) for one section only; without it the text is capped at max_chars with a contents list. Text is in Danish exactly as Retsinformation publishes it.

Parameters

NameTypeRequiredDescription
idstringyesELI path from dk_law_search, e.g. “lta/2024/289”
sectionstringnoSection (paragraf) number, e.g. “6” or “10 a”
max_charsnumbernoCap on returned text when no section is given (default 20000, max 100000)

Example call

Arguments

{
  "id": "lta/2024/289",
  "section": "6"
}

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_get","arguments":{"id":"lta/2024/289","section":"6"}}}'

TypeScript (@pipeworx/sdk)

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

const result = await pipeworx.call('dk_law_get', {
  "id": "lta/2024/289",
  "section": "6"
});

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
sectionstring
section_titlestring | null
section_countnumber
contentsarray
textstring | null
truncatedboolean
total_charsnumber
hintstring
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": {
      "type": "string"
    },
    "section_title": {
      "type": [
        "string",
        "null"
      ]
    },
    "section_count": {
      "type": "number"
    },
    "contents": {
      "type": "array",
      "items": {
        "type": "string"
      }
    },
    "text": {
      "type": [
        "string",
        "null"
      ]
    },
    "truncated": {
      "type": "boolean"
    },
    "total_chars": {
      "type": "number"
    },
    "hint": {
      "type": "string"
    },
    "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 15, 2026