Lu Eli Mcp

io.github.matematicsolutionsPublished by GitHub account matematicsolutionsv0.3.3Updated Oct 24, 2026

MCP server for Luxembourg Legilux: ELI-native legislation and Akoma Ntoso with citations.

Overview

AI-generated overview

Read-only MCP server that lets an assistant fetch Luxembourg legislation from Legilux by ELI, with metadata, Akoma Ntoso text and verifiable citations.

What you can do
  • Look up an act's metadata by ELI: title, dates, in-force status, languages and cites/modifies/repeals links
  • Retrieve verbatim act text in a chosen language and file format (Akoma Ntoso XML by default)
  • Report connector coverage, capture dates and explicit gaps with fallbacks
  • Return a native ELI URI, human-readable citation and resolvable source URL with each response
When to use it
Useful when an assistant needs to answer questions about Luxembourg law and cite official Legilux sources, or to follow amendment and repeal chains between acts. Not suited to free-text search, since Legilux offers no search endpoint and acts must be addressed by ELI.
Requirements
Runs locally over stdio, typically via uvx from the PyPI package lu-eli-mcp (Python). No API key or account: Legilux is keyless. Optional environment variables set the data host, cache directory and audit log directory. Network access to the Legilux data host is required. On Windows 11 with Smart App Control, unsigned launchers are blocked, so the module must be run through the signed Python interpreter.
Before you install
Read-only: it only queries Legilux and writes a local audit log, and never modifies official text. It writes a disk cache and audit log under the user's home directory by default. The optional base URL variable can redirect requests to a different host. Text may be in French or German depending on the act.

Installation

In SourceWeft

  1. Open Lu Eli Mcp in the dashboard and add it to a workspace.
  2. Enable the server for the chats that should use its tools.

Desktop only via STDIO. STDIO servers start a local process, so they need the SourceWeft desktop host.

Other MCP clients

Follow the launch instructions in the repository.

README

lu-eli-mcp

Install (one command)

Published on PyPI + MCP Registry (io.github.matematicsolutions/lu-eli-mcp). Run without cloning:

bash
uvx lu-eli-mcp

Configure your MCP client (stdio):

json
{ "mcpServers": { "lu-eli-mcp": { "command": "uvx", "args": ["lu-eli-mcp"] } } }

Windows 11 with Smart App Control

Smart App Control blocks unsigned executables, which covers uvx.exe, pip.exe and the lu-eli-mcp.exe launcher that pip writes at install time. The python.exe and py.exe from the python.org installer are signed by the Python Software Foundation, so running the module through the interpreter works:

bash
python -m pip install lu-eli-mcppython -m lu_eli_mcp

pip.exe is blocked for the same reason, so install with python -m pip, not pip install. If python is not on PATH, use the Windows launcher: py -3 -m lu_eli_mcp.

json
{ "mcpServers": { "lu-eli-mcp": { "command": "python", "args": ["-m", "lu_eli_mcp"] } } }

Do not turn Smart App Control off to work around this - it cannot be re-enabled without reinstalling Windows.

Building from source: see Install.

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

ToolWhat 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).
lu_coverage()Declare what this connector covers, when each family was captured, and - explicitly - what it does NOT cover. Every gap carries a fallback.

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:

VariableMeaning
LU_ELI_BASE_URLLegilux data host (default https://data.legilux.public.lu).
LU_ELI_CACHE_DIRDisk cache dir (default ~/.matematic/cache/lu-eli).
LU_ELI_AUDIT_DIRAudit log dir (default ~/.matematic/audit).

Copy .mcp.json.example to your MCP client config.

Install

bash
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

bash
pytest tests/test_instructions_drift.py tests/test_parse.py   # offlinepytest 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.

Source: README.md at commit 14a9017

Tools

0
SourceWeft has not started this package in its sandbox yet, so its tools are not known.

Version history

1
  1. v0.3.3LatestSep 16, 2026

Score

50% of the applicable checks met

How complete this listing is, computed from the registry entry, the endpoint and public sources. Not a rating of the server and not a statement that it is safe or working today: reachability is a dated check, and no installs or reviews go into the score.

  • Reached in the last 30 days25 pts

    Keep the endpoint answering the MCP handshake; SourceWeft probes it every 30 days.

  • Auth declared10 pts

    Declare the credential headers in the registry entry, or keep the endpoint answering the probe so its auth can be classified.

  • Tools listed15 pts

    Answer tools/list without a credential, or ship a package that starts in a sandbox without one.

  • DescriptionRequired15 pts
  • Logo10 pts
  • Documentation15 pts
  • License10 pts