
Nl Eli Mcp
io.github.matematicsolutions由 GitHub 账号 matematicsolutions 发布v0.4.3更新于 Oct 24, 2026
MCP server for Dutch consolidated legislation (BWB via KOOP SRU) with verifiable citations.
概览
面向荷兰综合立法的 MCP 服务器,可按指定日期返回生效版本的法律条文与判例,并附可核验的引证。
- 可以做什么
- 按标题关键词检索荷兰法律,并定位指定日期生效的版本
- 按 BWB 标识获取单部法律的元数据或完整综合 XML 文本
- 按日期范围、法院或主题列出法院判决,并按 ECLI 获取判决全文
- 说明该连接器覆盖的范围、各来源的抓取时间以及明确未覆盖的部分
- 适用场景
- 适合需要回答荷兰法规或判例问题、且必须给出某一具体日期适用版本,并附带持久标识符、可读引证和官方来源链接的场景。
- 运行要求
- 以本地 Python 包运行(uvx nl-eli-mcp,或在启用 Smart App Control 的 Windows 上用 python -m nl_eli_mcp)。需要访问无需密钥的 KOOP SRU API、官方存储主机和 Rechtspraak Open Data。可选环境变量可设置基础地址、缓存目录和审计目录。
安装
在 SourceWeft 中
- 打开 控制台中的 Nl Eli Mcp,将其添加到工作区。
- 为需要使用其工具的对话启用该服务。
Desktop only,通过 STDIO。 STDIO 服务会启动本地进程,因此需要 SourceWeft 桌面宿主。
其他 MCP 客户端
参照 仓库 中的启动说明。
README
nl-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:
Published on PyPI + MCP Registry (io.github.matematicsolutions/nl-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 nl-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 nl_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 the Dutch consolidated legislation BWB (Basiswettenbestand), served by
KOOP over the official SRU API (zoekservice.overheid.nl, keyless). It gives an AI agent the
version of an act in force on a given date, with a verifiable citation: a persistent
identifier, a human-readable citation, and a link to the official source.
Part of the eu-legal-mcp line by MateMatic — one connector per EU member state, the same citation contract everywhere.
On ELI. The Netherlands does not publish native ELI (
/eli/) URIs on consolidated BWB. To keep the line's contract honest,eli_uricarries the official persistent identifier instead — thewetten.overheid.nl/idtoestand URI (e.g.http://wetten.overheid.nl/id/BWBR0005537/2026-06-04/0). The connector never fabricates an/eli/URI and says so in its tool instructions. SeeDISCOVERY.md.
Tools
Legislation comes from the BWB (KOOP SRU); case law comes from Rechtspraak Open Data
(data.rechtspraak.nl), keyed by native ECLI. Every response carries the citation contract:
eli_uri— the official persistent identifier (toestand URI; see the ELI note above).human_readable_citation— the official short title (citeertitel), e.g. Algemene wet bestuursrecht.source_url— the browsablewetten.overheid.nlpage for that version.
Versions and dates
Each act has many time-stamped versions. The tools default to the version in force today;
pass on_date (YYYY-MM-DD) to pin a historical or future version. An act with no version
valid on that date returns not_found — retry with another on_date.
Install
Register it with your MCP client (see .mcp.json.example):
Design
- Public data only. Read-only against the keyless KOOP SRU API, the official repository host and Rechtspraak Open Data; nothing is sent beyond the query / identifier and the date.
- Audit log. Every call appends one JSON line to
~/.matematic/audit/nl-eli-mcp.jsonl(record-keeping). - Network. Besides the sources above, once on first use the server fetches a small
configuration file (
nl-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.NL_ELI_RUNTIME_URL=""turns it off; the Claude plugin ships with it off. No LLM provider, no other telemetry; own backoff + on-disk cache. - No fabrication. Identifiers and titles are parsed from the source record. If KOOP's schema changes, the connector fails loudly rather than returning stale or invented data.
See CONSTITUTION.md (the 4 principles) and DISCOVERY.md (how the source was mapped).
Tests
Licence
Apache-2.0. The Dutch legislation served is official public data of the Kingdom of the Netherlands; this connector adds no rights over it.
来源:README.md,提交 09540dd
工具
0版本历史
1- v0.4.3最新Sep 16, 2026
评分
已满足适用检查项的 50%
该评分衡量此收录条目的完整程度,依据注册中心条目、端点与公开来源计算得出。它不是对服务器本身的评价,也不表示服务器安全或当前可用:可连通性是带日期的检查结果,评分也不包含安装量或用户评价。
- 近 30 天内可连通25 分
请保持端点能够响应 MCP 握手;SourceWeft 每 30 天探测一次。
- 已声明认证方式10 分
请在注册中心条目中声明凭据请求头,或保持端点能够响应探测,以便判定其认证方式。
- 已列出工具15 分
请让服务器在无凭据时响应 tools/list,或发布可在沙箱中无凭据启动的软件包。
- 描述必需15 分
- 图标10 分
- 文档15 分
- 许可证10 分