MCP server for the German NeuRIS API (rechtsinformationen.bund.de) — search and fetch federal legislation with ELI identifiers and verifiable citations.
Project description
de-eli-mcp
An MCP server for NeuRIS (rechtsinformationen.bund.de), Germany's official
federal legal information portal. It searches and retrieves legislation
(Gesetze, Verordnungen) with verifiable ELI identifiers and German citations.
Part of the MateMatic eu-legal-mcp production line: the German counterpart of the
Polish sejm-eli-mcp, built on the same architecture and citation contract against the
German source.
Beta source. NeuRIS is an official but beta service; its dataset is not yet complete. Every response carries a
dataset_notesaying so. For exhaustive research, cross-check gesetze-im-internet.de / rechtsprechung-im-internet.de.Licence. German official works - statutes, ordinances, court decisions and official headnotes - are outside copyright under § 5 UrhG (gemeinfrei), which is the standard basis for reusing German legal data. NeuRIS is operated by the BMJV / DigitalService GmbH and publishes no separate API terms or key requirement. This connector only relays that public-domain content, with attribution and a
source_url. Caveat: NeuRIS is in test phase; re-check the terms at general availability. (This is a practitioner's read, not formal legal advice.)
The five tools
| Tool | What it does |
|---|---|
de_search |
Search legislation by term, ELI and date (GET /v1/legislation). |
de_get_act |
Fetch act metadata by ELI. |
de_get_text |
Fetch the full text (html or xml / LegalDocML.de). |
de_list_publishers |
List the publication organs (BGBl I/II, Bundesanzeiger). |
de_recent_changes |
Acts published since a date, newest-first. |
Every response carries the contract: eli_uri (e.g. eli/bund/bgbl-1/2017/s2097/2025-01-01/1/deu),
human_readable_citation (e.g. BDSG (BGBl I, 2017 2097)), and source_url.
Install
cd de-eli-mcp
pip install -e .
Configure (Claude Code / any MCP client)
Copy .mcp.json.example and adjust if needed:
{
"mcpServers": {
"de-eli-mcp": { "command": "de-eli-mcp" }
}
}
Environment:
DE_ELI_BASE_URL- defaulthttps://testphase.rechtsinformationen.bund.deDE_ELI_CACHE_DIR- default~/.matematic/cache/de-eliDE_ELI_AUDIT_DIR- default~/.matematic/audit
No API key. NeuRIS is keyless.
Governance
- Public data only - read-only against NeuRIS; no client data leaves the machine beyond search parameters.
- Audit log - every tool call appends one JSON line to
~/.matematic/audit/de-eli-mcp.jsonl. - Vendor-neutral - the server talks only to NeuRIS and the local filesystem; no LLM provider, no telemetry.
- Verifiable citations - every response is independently checkable via
source_url.
See CONSTITUTION.md (the binding rules) and DISCOVERY.md (the NeuRIS API map).
Tests
pip install -e ".[dev]"
pytest tests/test_instructions_drift.py -v # offline
pytest tests/test_smoke.py -v # hits live NeuRIS
Licence
Apache-2.0. © Matematic Solutions / Wieslaw Mazur.
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 de_eli_mcp-0.1.0.tar.gz.
File metadata
- Download URL: de_eli_mcp-0.1.0.tar.gz
- Upload date:
- Size: 31.0 kB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.12
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
0c31c84a04c12e32fa70eb9925222518152bb4d7befa26251448ddeff03e9843
|
|
| MD5 |
cf86b0a40894d32197ba03f004ae4572
|
|
| BLAKE2b-256 |
e906f7ed08285566ed11aa4e9fc77a6005bd194260a53892e3fb94f8bb3478aa
|
Provenance
The following attestation bundles were made for de_eli_mcp-0.1.0.tar.gz:
Publisher:
release.yml on matematicsolutions/de-eli-mcp
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
de_eli_mcp-0.1.0.tar.gz -
Subject digest:
0c31c84a04c12e32fa70eb9925222518152bb4d7befa26251448ddeff03e9843 - Sigstore transparency entry: 1941749823
- Sigstore integration time:
-
Permalink:
matematicsolutions/de-eli-mcp@42b6309749a84755f5eb0d2cb52d094b12249db4 -
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@42b6309749a84755f5eb0d2cb52d094b12249db4 -
Trigger Event:
push
-
Statement type:
File details
Details for the file de_eli_mcp-0.1.0-py3-none-any.whl.
File metadata
- Download URL: de_eli_mcp-0.1.0-py3-none-any.whl
- Upload date:
- Size: 22.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 |
43efb7a227ffc304a4406afacccf691537d5cac447bbcf5fd74a893685e7fbc0
|
|
| MD5 |
5b50f7cc90218926deaa87f9bd097149
|
|
| BLAKE2b-256 |
13c5b63875da702bece69352e7a45beeddb28625b69b54f0a9e574f04b2fb664
|
Provenance
The following attestation bundles were made for de_eli_mcp-0.1.0-py3-none-any.whl:
Publisher:
release.yml on matematicsolutions/de-eli-mcp
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
de_eli_mcp-0.1.0-py3-none-any.whl -
Subject digest:
43efb7a227ffc304a4406afacccf691537d5cac447bbcf5fd74a893685e7fbc0 - Sigstore transparency entry: 1941749929
- Sigstore integration time:
-
Permalink:
matematicsolutions/de-eli-mcp@42b6309749a84755f5eb0d2cb52d094b12249db4 -
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@42b6309749a84755f5eb0d2cb52d094b12249db4 -
Trigger Event:
push
-
Statement type: