MCP server for Luxembourg legislation via Legilux (data.legilux.public.lu) — ELI-native jolux RDF metadata and Akoma Ntoso full text with verifiable citations.
Project description
lu-eli-mcp
An MCP server for Luxembourg legislation via Legilux open data
(data.legilux.public.lu). It fetches act metadata and full Akoma Ntoso text with verifiable
citations. Part of the eu-legal-mcp line of national legal connectors by
MateMatic.
Legilux is genuinely ELI-native: every act is addressed by its ELI and described as jolux RDF
over a FRBR model (Work / Expression / Manifestation), with full text as Akoma Ntoso XML. Every
response carries a native eli_uri, a human_readable_citation and a resolvable source_url.
Read-only. The server only queries Legilux and writes a local audit log. It never modifies official text.
Tools
| Tool | What it does |
|---|---|
lu_get_act(eli) |
Metadata for an act by its ELI (full URI or bare eli/... path). Returns the native eli_uri, title, dates, in-force status, available languages / manifestations, and the act's cites / modifies / repeals links. |
lu_get_text(eli, language, file_format) |
Verbatim text in one language (default fr) and file_format (default xml, Akoma Ntoso). |
There is no free-text search: Legilux exposes no HTTP search endpoint. Discover acts by ELI
coordinates (from legilux.public.lu) or by following the cites / modifies / repeals ELIs that
lu_get_act returns. Luxembourg is multilingual, so titles and text may be French or German; the
languages field shows what exists for a given act.
Configuration
Legilux is keyless. Configuration is optional:
| Variable | Meaning |
|---|---|
LU_ELI_BASE_URL |
Legilux data host (default https://data.legilux.public.lu). |
LU_ELI_CACHE_DIR |
Disk cache dir (default ~/.matematic/cache/lu-eli). |
LU_ELI_AUDIT_DIR |
Audit log dir (default ~/.matematic/audit). |
Copy .mcp.json.example to your MCP client config.
Install
py -3.13 -m venv .venv
.\.venv\Scripts\python.exe -m pip install -e ".[dev]" # Windows
# or: python -m pip install -e ".[dev]" # POSIX
Tests
pytest tests/test_instructions_drift.py tests/test_parse.py # offline
pytest tests/test_smoke.py -v # live, hits Legilux
Licence
Apache-2.0. Legilux content is © the Grand Duchy of Luxembourg; this software only retrieves and cites it.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file lu_eli_mcp-0.1.0.tar.gz.
File metadata
- Download URL: lu_eli_mcp-0.1.0.tar.gz
- Upload date:
- Size: 21.9 kB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.12
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
0d374ae027b0cabbbcf02d60f4bb02b57a09e8b6d2f573b9400877da151aacf2
|
|
| MD5 |
77c0548ef3fa8334ab8921e4618c1224
|
|
| BLAKE2b-256 |
6ae45b68292678788855d29bbbdc10f940921451b1bcd980abd4db92d6ba23ce
|
Provenance
The following attestation bundles were made for lu_eli_mcp-0.1.0.tar.gz:
Publisher:
release.yml on matematicsolutions/lu-eli-mcp
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
lu_eli_mcp-0.1.0.tar.gz -
Subject digest:
0d374ae027b0cabbbcf02d60f4bb02b57a09e8b6d2f573b9400877da151aacf2 - Sigstore transparency entry: 1950226464
- Sigstore integration time:
-
Permalink:
matematicsolutions/lu-eli-mcp@00dd47199ee428c240a510fd96daaff3eea57986 -
Branch / Tag:
refs/tags/v0.1.0 - Owner: https://github.com/matematicsolutions
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
release.yml@00dd47199ee428c240a510fd96daaff3eea57986 -
Trigger Event:
push
-
Statement type:
File details
Details for the file lu_eli_mcp-0.1.0-py3-none-any.whl.
File metadata
- Download URL: lu_eli_mcp-0.1.0-py3-none-any.whl
- Upload date:
- Size: 17.3 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.12
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
0d18c3e04a91d3006ed54fd5039131bcd522f39f010704d2e8287cff8f38f71e
|
|
| MD5 |
d00cb598f2839e062d6d0b91a95056a2
|
|
| BLAKE2b-256 |
9d19dc62e923afc012b09094961b80daeb06c3127a621ec8d059a365396272dc
|
Provenance
The following attestation bundles were made for lu_eli_mcp-0.1.0-py3-none-any.whl:
Publisher:
release.yml on matematicsolutions/lu-eli-mcp
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
lu_eli_mcp-0.1.0-py3-none-any.whl -
Subject digest:
0d18c3e04a91d3006ed54fd5039131bcd522f39f010704d2e8287cff8f38f71e - Sigstore transparency entry: 1950226653
- Sigstore integration time:
-
Permalink:
matematicsolutions/lu-eli-mcp@00dd47199ee428c240a510fd96daaff3eea57986 -
Branch / Tag:
refs/tags/v0.1.0 - Owner: https://github.com/matematicsolutions
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
release.yml@00dd47199ee428c240a510fd96daaff3eea57986 -
Trigger Event:
push
-
Statement type: