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
| Name | Type | Required | Description |
|---|---|---|---|
id | string | yes | Act id from lu_law_search, e.g. “loi/2018/08/01/a686” |
article | string | no | Article number, e.g. “5”, “1er”, “2bis” |
max_chars | number | no | Cap 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
| Field | Type | Description |
|---|---|---|
found | boolean | |
id | string | null | |
source | string | null | |
data_as_of | string | null | |
title | string | null | |
type | string | null | |
date | string | null | |
in_force_from | string | null | |
status | string | null | |
gazette_citation | string | null | |
url | string | null | |
text_version | string | null | |
version_applicable_from | string | null | |
article | string | null | |
article_heading | string | null | |
text | string | null | |
empty_reason | string | null | |
hint | string | null | |
contents | array | null | |
article_count | number | null | |
total_chars | number | null | |
truncated | boolean | 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.