
De Eli Mcp
io.github.matematicsolutions由 GitHub 账号 matematicsolutions 发布v0.5.4更新于 Oct 24, 2026
German law MCP: legislation (NeuRIS), case law (RII, Open Legal Data), Bundestag DIP documents.
概览
德国法律 MCP 服务器,让助手检索联邦法规、法院判决与联邦议院文件,并附引用与来源链接。
- 可以做什么
- 检索与读取联邦法规:按关键词、ELI 和日期搜索,获取法案元数据、全文(HTML 或 LegalDocML.de XML)、发布机构及近期变更
- 检索与读取判例:NeuRIS 测试版判例、RII 门户的 BVerfG、BGH、BAG、BFH、BVerwG、BSG 与 BPatG 判决,以及覆盖州法院并支持全文检索的 Open Legal Data
- 检索与读取联邦议院 DIP 资料:Drucksachen、全体会议记录与立法程序,并可取全文
- 查询覆盖范围:说明已覆盖哪些来源、采集时间,以及明确未覆盖的内容及替代方案
- 每次响应附带引用信息:ELI 或 ECLI、可读引用格式与来源链接
- 适用场景
- 适合助手需要回答德国法律条文、联邦或州法院判决、法案立法沿革等问题,且答案应附可核验引用的场景。面向法律检索与起草工作,而非一般网页查询。
- 运行要求
- 以本地 Python 包运行(uvx de-eli-mcp 或 python -m de_eli_mcp),需 Python 及 uv 或 pip。需能访问四个公开数据源。NeuRIS、RII 与 Open Legal Data 无需密钥;DIP 使用内置公开密钥,可用 DE_DIP_API_KEY 覆盖。可选变量可设置基础地址、缓存与审计目录。
安装
在 SourceWeft 中
- 打开 控制台中的 De Eli Mcp,将其添加到工作区。
- 为需要使用其工具的对话启用该服务。
Desktop only,通过 STDIO。 STDIO 服务会启动本地进程,因此需要 SourceWeft 桌面宿主。
其他 MCP 客户端
参照 仓库 中的启动说明。
README
de-eli-mcp
Install (one command)
As a Claude plugin (Claude Code or the desktop app, needs uv); see plugin/README.md for what it sends and stores:
As a standalone server:
Published on PyPI + MCP Registry (io.github.matematicsolutions/de-eli-mcp). Run without cloning:
Configure your MCP client (stdio):
Windows 11 with Smart App Control
Smart App Control blocks unsigned executables, which covers uvx.exe, pip.exe
and the de-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:
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 de_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 German law: NeuRIS (rechtsinformationen.bund.de) for federal
legislation, three case-law sources - NeuRIS's beta case-law slice, the complete
federal-courts aggregator rechtsprechung-im-internet.de (RII, official BMJ/juris
portal) for BVerfG, BGH, BAG, BFH, BVerwG, BSG (+ BPatG), and Open Legal Data
(de.openlegaldata.io, ~424k decisions from ~1 100 courts of ALL levels, including
the state courts of all 16 Laender, with full-text search) - plus the Bundestag's
DIP (dip.bundestag.de) for parliamentary documents and legislative history
(~287k Drucksachen with full text, plenary transcripts, ~335k legislative procedures,
Bundestag AND Bundesrat).
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 (legislation +
de_case_search). NeuRIS is an official but beta service; its dataset is not yet complete. Every response carries adataset_notesaying so.Complete source (case law).
de_rii_case_search/de_rii_get_case_textquery rechtsprechung-im-internet.de directly. Per an independent audit (Legal Data Hunter,worldwidelaw/legal-sources), RII's coverage of BVerfG, BGH, BAG, BFH, BVerwG and BSG is markedstatus: complete- unlike NeuRIS's/v1/rechtsprechung, which only carries a small beta slice (and can drop fields such aseclifor the very same decision RII serves with a full ECLI - see BAG decisionKARE600069049/ECLI:DE:BAG:2024:...as a live example). Prefer the RII tools for these six courts.State courts + full-text search (Open Legal Data).
de_oldp_case_search/de_oldp_get_casequery de.openlegaldata.io - a community open-data aggregator (Open Knowledge Foundation ecosystem, BMBF Prototypefund) of ~424k decisions from ~1 100 German courts at every level, including the state courts of all 16 Laender. It is NOT an official government service and does not claim completeness - for the six federal supreme courts prefer the RII tools; use OLDP for state case law and for full-text hunting (no other source here searches decision content).Legislative history (Bundestag DIP).
de_dip_search/de_dip_get_documentquery the parliament's official DIP API - Drucksachen (bills, motions, committee reports, government answers - the home of Gesetzesbegruendungen), plenary transcripts and legislative procedures, for Bundestag and Bundesrat. The Bundestag publishes a public API key on its help page (the current one is valid until end of May 2027 and ships as the default); setDE_DIP_API_KEYwhen it rotates or to use your own key.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; RII is operated by the BMJ (juris GmbH). Neither publishes a separate API terms or key requirement. Open Legal Data's database is under ODbL v1.0 (the decisions themselves are gemeinfrei); DIP data is under Data licence Germany - attribution - 2.0 (dl-de/by-2-0). This connector only relays that public 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 tools
Every response carries the contract: eli_uri (ELI e.g. eli/bund/bgbl-1/2017/s2097/2025-01-01/1/deu,
or ECLI for RII case law e.g. ECLI:DE:BVerfG:2024:rk20241120.1bvr226823),
human_readable_citation (e.g. BDSG (BGBl I, 2017 2097) or
BVerfG, Kammerbeschluss vom 20.11.2024 - 1 BvR 2268/23), and source_url.
Install
Configure (Claude Code / any MCP client)
Copy .mcp.json.example and adjust if needed:
Environment:
DE_ELI_BASE_URL- defaulthttps://testphase.rechtsinformationen.bund.deDE_RII_BASE_URL- defaulthttps://www.rechtsprechung-im-internet.deDE_OLDP_BASE_URL- defaulthttps://de.openlegaldata.ioDE_DIP_BASE_URL- defaulthttps://search.dip.bundestag.deDE_DIP_API_KEY- default: the public key the Bundestag documents ondip.bundestag.de/über-dip/hilfe/api(valid until end of May 2027; rotates ~yearly)DE_ELI_CACHE_DIR- default~/.matematic/cache/de-eliDE_ELI_AUDIT_DIR- default~/.matematic/audit
NeuRIS, RII and Open Legal Data are keyless. DIP needs an API key, but the Bundestag publishes a public one (shipped as the default) - zero setup either way.
Governance
- Public data only - read-only against public sources; 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. - Network - the server talks to the four public sources above (NeuRIS, RII, Open Legal Data, DIP) and
the local filesystem. Once, on first use, it also fetches a small configuration file
(
de-runtime.json.gz, updated source addresses) from this repository's GitHub Releases. That request carries no query content; GitHub's download counter for the file is the only usage signal we see.DE_ELI_RUNTIME_URL=""turns it off; the Claude plugin ships with it off. No LLM provider, no other 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
Licence
Apache-2.0. © Matematic Solutions / Wieslaw Mazur.
来源:README.md,提交 c32f46e
工具
0版本历史
2- v0.5.4最新Oct 8, 2026
- v0.5.3Sep 16, 2026
评分
已满足适用检查项的 50%
该评分衡量此收录条目的完整程度,依据注册中心条目、端点与公开来源计算得出。它不是对服务器本身的评价,也不表示服务器安全或当前可用:可连通性是带日期的检查结果,评分也不包含安装量或用户评价。
- 近 30 天内可连通25 分
请保持端点能够响应 MCP 握手;SourceWeft 每 30 天探测一次。
- 已声明认证方式10 分
请在注册中心条目中声明凭据请求头,或保持端点能够响应探测,以便判定其认证方式。
- 已列出工具15 分
请让服务器在无凭据时响应 tools/list,或发布可在沙箱中无凭据启动的软件包。
- 描述必需15 分
- 图标10 分
- 文档15 分
- 许可证10 分