mcpField
R
Rechtspraak (Dutch Case Law)

Rechtspraak (Dutch Case Law)

Local
github.com/PrudaiLegal & Government1Updated 20w ago

About Rechtspraak (Dutch Case Law)

Rechtspraak is an MCP server for searching Dutch case law, retrieving rulings by ECLI, and exploring citation links. It uses the official Rechtspraak Open Data API and LiDO, with no API key required.

Key features

  1. 01Faceted case-law search
  2. 02Search multiple queries at once
  3. 03Fetch rulings by ECLI
  4. 04Bulk retrieval of rulings
  5. 05Explore LiDO citation links
  6. 06List filter value sets

Use cases

  1. 01Find decisions by court, date, or legal area
  2. 02Retrieve a ruling's full text and metadata
  3. 03Trace citations and statute references

MCP support

Exposes search, retrieval, filter-listing, and LiDO citation-graph tools to MCP clients.

Configuration

Local server config is the same for every client. Copy it into your client’s MCP config file.

mcp.json · Universal config
{
"mcpServers": {
"prudai-rechtspraak": {
"command": "npx",
"args": [
"-y",
"rechtspraak-mcp"
]
}
}
}
Run commandnpx -y rechtspraak-mcp

Local servers need a runtime on your machine (e.g. Node.js 18+). Config file locations differ by client; see your client’s docs.

Packages
npmrechtspraak-mcp0.1.1

Tools

6

Saved tool list · updated 2w ago

ParameterTypeRequiredDescription
maxintegerNoMax results to return (default 25).
fromintegerNoZero-based pagination offset (default 0).
sortenumNo'date' for newest-first; otherwise the API's default order.relevance | date
typeenumNoRestrict to rulings or AG conclusies.Uitspraak | Conclusie
querystringNoA single ECLI to look up directly. (Open Data has no free-text search; non-ECLI keywords are ignored — use the facet filters instead.)
dateTostringNoUitspraakdatum to, YYYY-MM-DD.
dateFromstringNoUitspraakdatum from, YYYY-MM-DD.
instantiesarrayNoCourt filter: a single OWMS creator URI (find it via list_waardelijsten).
rechtsgebiedstringNoRechtsgebied slug (e.g. 'civielrecht', 'strafrecht', 'bestuursrecht', 'internationaalpubliekrecht') or full PSI URI.

Details

From the project README

rechtspraak-mcp

rechtspraak-mcp

npm CI license

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-mcp

Tools

ToolWhat it does
search_uitsprakenSearch case law (faceted by default; full-text behind a flag). Returns ECLIs + links.
search_uitspraken_bulkRun 3–10 searches at once.
get_uitspraakFetch full text + metadata + relations of one decision by ECLI.
get_uitspraken_bulkFetch up to 10 decisions by ECLI in one call.
list_waardelijstenList value lists (instanties, rechtsgebieden, proceduresoorten, …) to build valid filters.
lido_relatedLiDO 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-mcp

Citations & source links

Every result carries links for its ECLI:

  • links.deeplink — the citation-stable deeplink.rechtspraak.nl URL,
  • 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 varDefaultDescription
RECHTSPRAAK_HTTP_TIMEOUT_MS30000Upstream request timeout.
RECHTSPRAAK_BULK_CONCURRENCY4Concurrency for bulk tools.
PRUDAI_BASE_URLhttps://prudai.comBase URL for the viewer deeplinks.
RECHTSPRAAK_USER_AGENTrechtspraak-mcp/…User-Agent sent upstream.
LIDO_REST_ENDPOINTKOOP defaultOverride the LiDO service endpoint.
RECHTSPRAAK_DEBUG01 logs upstream requests to stderr.

Development

bun install
bun run typecheck
bun test
bun run build      # → dist/ (Node-runnable, shebang bundle)
bun src/index.ts   # run from source

Data 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.

Comments

Markdown supported

New to MCP?

From what the protocol is to installing your first server, these answers cover most first questions.

An open protocol that defines how AI applications connect to external tools and data in a uniform way. Clients talk to the model; MCP servers provide tools, resources and prompt templates. They exchange standard messages, so one server can be reused by many clients.