nl-eli-mcp
This server provides access to Dutch consolidated legislation (BWB) and court decisions (Rechtspraak Open Data), enabling research and citation of official Dutch legal sources via public, keyless APIs.
Available tools:
nl_search(query, on_date): Search for consolidated acts by keywords in their title, in force on a given date (defaults to today). Returns metadata with persistent identifiers, citations, and source URLs.nl_get_act(bwb_id, on_date): Retrieve detailed metadata for a specific act by its BWB identifier (e.g.BWBR0005537) — including title, authority, version date, and legal areas.nl_get_text(bwb_id, on_date): Fetch the full consolidated XML of a Dutch act in force on a given date, including byte size and version info.nl_case_search(date_from, date_to, creator, subject): List court decisions filtered by date range, court, or legal area. No free-text search — metadata filters only.nl_get_decision(ecli): Retrieve a specific court decision by its ECLI identifier (e.g.ECLI:NL:HR:2020:1), including court, dates, case number, subject, and full text.
Key notes:
All tools are read-only.
Every response includes a citation contract: a persistent identifier (
eli_uri), human-readable citation, and official source URL.Historical versions are accessible by passing an
on_date(YYYY-MM-DD) parameter.The
eli_uricarries the officialwetten.overheid.nl/idtoestand URI, as the Netherlands does not publish native ELI URIs.
Click on "Install Server".
Wait a few minutes for the server to deploy. Once ready, it will show a "Started" state.
In the chat, type
@followed by the MCP server name and your instructions, e.g., "@nl-eli-mcpget the full text of act BWBR0005537"
That's it! The server will respond to your query, and you can continue using it as needed.
Here is a step-by-step guide with screenshots.
nl-eli-mcp
Install (one command)
Published on PyPI + MCP Registry (io.github.matematicsolutions/nl-eli-mcp). Run without cloning:
uvx nl-eli-mcpConfigure your MCP client (stdio):
{ "mcpServers": { "nl-eli-mcp": { "command": "uvx", "args": ["nl-eli-mcp"] } } }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:
python -m pip install nl-eli-mcp
python -m nl_eli_mcppip.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.
{ "mcpServers": { "nl-eli-mcp": { "command": "python", "args": ["-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.
Related MCP server: lawyer-mcp
Tools
Tool | What it does |
| Find acts by words in the title that are in force on a date. Returns distinct acts, each with the citation contract. |
| Metadata for one act (e.g. |
| The full consolidated XML (BWB toestand) of one act. |
| List court decisions (Rechtspraak Open Data) by date range / court / subject. No free-text; each hit carries a native |
| A court decision by its ECLI (e.g. |
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
pip install -e ".[dev]"Register it with your MCP client (see .mcp.json.example):
{
"mcpServers": {
"nl-eli-mcp": {
"command": "nl-eli-mcp",
"env": {
"NL_ELI_BASE_URL": "https://zoekservice.overheid.nl/sru/Search",
"NL_ELI_CACHE_DIR": "~/.matematic/cache/nl-eli",
"NL_ELI_AUDIT_DIR": "~/.matematic/audit"
}
}
}
}Design
Public data only. Read-only against the keyless KOOP SRU API and the official repository host; 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(AI Act art. 12 record-keeping).Vendor-neutral. No LLM provider, no 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
pytest tests/test_instructions_drift.py tests/test_parse.py # offline
pytest tests/test_smoke.py # live KOOP APILicence
Apache-2.0. The Dutch legislation served is official public data of the Kingdom of the Netherlands; this connector adds no rights over it.
Maintenance
Resources
Unclaimed servers have limited discoverability.
Looking for Admin?
If you are the server author, to access and configure the admin panel.
Related MCP Servers
- AlicenseBqualityDmaintenanceAn unofficial MCP server providing access to Dutch government open data from data.overheid.nl, CBS statistics, and KVK business registry. Enables natural language queries for discovering datasets, inspecting metadata, and querying data without API keys or authentication.Last updated14MIT
- Flicense-qualityDmaintenanceMCP server for Legalize.dev, enabling AI to query and understand legal frameworks across countries via a structured legislation API.Last updated1
- AlicenseAqualityAmaintenanceMCP server for Australia's Federal Register of Legislation. Enables searching and fetching Commonwealth Acts with verifiable citations.Last updated2Apache 2.0
- AlicenseAqualityBmaintenanceAn MCP server that gives AI agents cited, review-gated grounding in EU regulation.Last updated5MIT
Related MCP Connectors
An MCP server that gives your AI access to the source code and docs of all public github repos
Hosted MCP server connecting claude.ai, ChatGPT and other AI apps to your own computer
Driflyte MCP server which lets AI assistants query topic-specific knowledge from web and GitHub.
Latest Blog Posts
- Who's Calling? MCP Hosts Are an Identity Blind Spot (And the Spec Knows It)By Om-Shree-0709 on .mcpAgent IdentityOAuth 2.1
- Your AI Chatbot Just Exposed Your CEO's Salary to an InternBy Om-Shree-0709 on .Agent IdentityMCP SecurityOAuth Delegation
- Why MCP Servers Need Execution Sandboxing (And Why Your Current Stack Isn't Enough)By Om-Shree-0709 on .Agentic AiPrompt InjectionWebAssembly
MCP directory API
We provide all the information about MCP servers via our MCP API.
curl -X GET 'https://glama.ai/api/mcp/v1/servers/matematicsolutions/nl-eli-mcp'
If you have feedback or need assistance with the MCP directory API, please join our Discord server