lu_law_get

Pack: luxembourg-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/lu_law_get for the schema, then POST the same URL with its arguments for the data.

Fetch one Luxembourg act: its record and text. id is the id from lu_law_search, e.g. “loi/2018/08/01/a686” (the Law of 1 August 2018 organising the National Commission for Data Protection). Returns title, type, date, entry-into-force date, in-force status, Memorial A citation, the version of the text (consolidated version applicable on a date, or the text as originally published) and the text. Pass article (e.g. “5”, “1er”, “2bis”) for one article only; without it the text is capped at max_chars with a list of headings. Text is in French, CC BY 4.0, from the Service central de legislation; the Memorial A publication is the authentic text.

Parameters

NameTypeRequiredDescription
idstringyesAct id from lu_law_search, e.g. “loi/2018/08/01/a686”
articlestringnoArticle number, e.g. “5”, “1er”, “2bis”
max_charsnumbernoCap on returned text when no article is given (default 20000, max 100000)

Example call

Arguments

{
  "id": "loi/2018/08/01/a686",
  "article": "1er"
}

curl

curl -X POST https://gateway.pipeworx.io/luxembourg-law/mcp \
  -H 'Content-Type: application/json' \
  -d '{"jsonrpc":"2.0","id":1,"method":"tools/call","params":{"name":"lu_law_get","arguments":{"id":"loi/2018/08/01/a686","article":"1er"}}}'

TypeScript (@pipeworx/sdk)

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

const result = await pipeworx.call('lu_law_get', {
  "id": "loi/2018/08/01/a686",
  "article": "1er"
});

Response shape

FieldTypeDescription
foundboolean
idstring | null
sourcestring | null
data_as_ofstring | null
titlestring | null
typestring | null
datestring | null
in_force_fromstring | null
statusstring | null
gazette_citationstring | null
urlstring | null
text_versionstring | null
version_applicable_fromstring | null
articlestring | null
article_headingstring | null
textstring | null
empty_reasonstring | null
hintstring | null
contentsarray | null
article_countnumber | null
total_charsnumber | null
truncatedboolean | null
Full JSON Schema
{
  "type": "object",
  "properties": {
    "found": {
      "type": "boolean"
    },
    "id": {
      "type": [
        "string",
        "null"
      ]
    },
    "source": {
      "type": [
        "string",
        "null"
      ]
    },
    "data_as_of": {
      "type": [
        "string",
        "null"
      ]
    },
    "title": {
      "type": [
        "string",
        "null"
      ]
    },
    "type": {
      "type": [
        "string",
        "null"
      ]
    },
    "date": {
      "type": [
        "string",
        "null"
      ]
    },
    "in_force_from": {
      "type": [
        "string",
        "null"
      ]
    },
    "status": {
      "type": [
        "string",
        "null"
      ]
    },
    "gazette_citation": {
      "type": [
        "string",
        "null"
      ]
    },
    "url": {
      "type": [
        "string",
        "null"
      ]
    },
    "text_version": {
      "type": [
        "string",
        "null"
      ]
    },
    "version_applicable_from": {
      "type": [
        "string",
        "null"
      ]
    },
    "article": {
      "type": [
        "string",
        "null"
      ]
    },
    "article_heading": {
      "type": [
        "string",
        "null"
      ]
    },
    "text": {
      "type": [
        "string",
        "null"
      ]
    },
    "empty_reason": {
      "type": [
        "string",
        "null"
      ]
    },
    "hint": {
      "type": [
        "string",
        "null"
      ]
    },
    "contents": {
      "type": [
        "array",
        "null"
      ],
      "items": {
        "type": "string"
      }
    },
    "article_count": {
      "type": [
        "number",
        "null"
      ]
    },
    "total_chars": {
      "type": [
        "number",
        "null"
      ]
    },
    "truncated": {
      "type": [
        "boolean",
        "null"
      ]
    }
  },
  "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 luxembourg-law pack
{
  "mcpServers": {
    "luxembourg-law": {
      "url": "https://gateway.pipeworx.io/luxembourg-law/mcp"
    }
  }
}

See Getting Started for client-specific install steps.

Regenerated from source · build November 15, 2026