rechtspraak-mcp
rechtspraak-mcp
A Model Context Protocol server for Dutch case law (jurisprudentie / uitspraken). It wraps the official Open Data van de Rechtspraak API and the LiDO citation graph, so any MCP-capable agent (Claude, Cursor, …) can search rulings, fetch full text by ECLI, and explore how decisions cite each other.
No API key required.
npx rechtspraak-mcpTools
Tool | What it does |
| Search case law (faceted by default; full-text behind a flag). Returns ECLIs + links. |
| Run 3–10 searches at once. |
| Fetch full text + metadata + relations of one decision by ECLI. |
| Fetch up to 10 decisions by ECLI in one call. |
| List value lists (instanties, rechtsgebieden, proceduresoorten, …) to build valid filters. |
| LiDO citation graph around an ECLI: what cites it, what it cites, statute references. |
Search
search_uitspraken is a faceted search over the official Open Data feed — filter by date, court (instantie), legal area (rechtsgebied) and document type. It does not do free-text keyword matching; pass an ECLI to query for a direct lookup, or use the facet filters. get_uitspraak fetches the full text and metadata from the documented Open Data content endpoint.
Install in an MCP client
Claude Code (or any client reading claude_desktop_config.json / .mcp.json):
{
"mcpServers": {
"rechtspraak": {
"command": "npx",
"args": ["-y", "rechtspraak-mcp"]
}
}
}claude mcp add rechtspraak -- npx -y rechtspraak-mcpCitations & source links
Every result carries links for its ECLI:
links.deeplink— the citation-stabledeeplink.rechtspraak.nlURL,links.rechtspraak— the human detail page,links.prudai— a PrudAI viewer for the ruling.
When an agent quotes a passage, the tools instruct it to render the citation as a Markdown source link anchored on the exact excerpt:
[Zie bron](https://prudai.com/uitspraak/ECLI:NL:HR:2023:1234?quote=%22<verbatim quote>%22)Configuration
Env var | Default | Description |
|
| Upstream request timeout. |
|
| Concurrency for bulk tools. |
|
| Base URL for the viewer deeplinks. |
|
| User-Agent sent upstream. |
| KOOP default | Override the LiDO service endpoint. |
|
|
|
Development
bun install
bun run typecheck
bun test
bun run build # → dist/ (Node-runnable, shebang bundle)
bun src/index.ts # run from sourceData sources & disclaimer
Case-law data is © Rechtspraak and published as Open Data via data.rechtspraak.nl; citation-graph data comes from KOOP's LiDO service (linkeddata.overheid.nl). This project is an independent open-source client and is not affiliated with or endorsed by de Rechtspraak or KOOP. Always verify against the authoritative source before relying on a result.
License
MIT © PrudAI. Maintained by PrudAI.
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/Prudai/rechtspraak-mcp'
If you have feedback or need assistance with the MCP directory API, please join our Discord server