{
  "markdown": "<p align=\"center\"><img src=\"./assets/logo.png\" alt=\"rechtspraak-mcp\" width=\"120\" height=\"120\"></p>\n\n# rechtspraak-mcp\n\n[![npm](https://img.shields.io/npm/v/rechtspraak-mcp.svg)](https://www.npmjs.com/package/rechtspraak-mcp)\n[![CI](https://github.com/Prudai/rechtspraak-mcp/actions/workflows/ci.yml/badge.svg)](https://github.com/Prudai/rechtspraak-mcp/actions/workflows/ci.yml)\n[![license](https://img.shields.io/npm/l/rechtspraak-mcp.svg)](./LICENSE)\n\nA [Model Context Protocol](https://modelcontextprotocol.io) server for **Dutch case law** (jurisprudentie / uitspraken). It wraps the official **[Open Data van de Rechtspraak](https://www.rechtspraak.nl/Uitspraken/Paginas/Open-Data.aspx)** API and the **[LiDO](https://linkeddata.overheid.nl/)** citation graph, so any MCP-capable agent (Claude, Cursor, …) can search rulings, fetch full text by ECLI, and explore how decisions cite each other.\n\nNo API key required.\n\n```bash\nnpx rechtspraak-mcp\n```\n\n## Tools\n\n| Tool | What it does |\n|------|--------------|\n| `search_uitspraken` | Search case law (faceted by default; full-text behind a flag). Returns ECLIs + links. |\n| `search_uitspraken_bulk` | Run 3–10 searches at once. |\n| `get_uitspraak` | Fetch full text + metadata + relations of one decision by ECLI. |\n| `get_uitspraken_bulk` | Fetch up to 10 decisions by ECLI in one call. |\n| `list_waardelijsten` | List value lists (instanties, rechtsgebieden, proceduresoorten, …) to build valid filters. |\n| `lido_related` | LiDO citation graph around an ECLI: what cites it, what it cites, statute references. |\n\n## Search\n\n`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.\n\n## Install in an MCP client\n\n**Claude Code** (or any client reading `claude_desktop_config.json` / `.mcp.json`):\n\n```json\n{\n  \"mcpServers\": {\n    \"rechtspraak\": {\n      \"command\": \"npx\",\n      \"args\": [\"-y\", \"rechtspraak-mcp\"]\n    }\n  }\n}\n```\n\n```bash\nclaude mcp add rechtspraak -- npx -y rechtspraak-mcp\n```\n\n## Citations & source links\n\nEvery result carries links for its ECLI:\n\n- `links.deeplink` — the citation-stable `deeplink.rechtspraak.nl` URL,\n- `links.rechtspraak` — the human detail page,\n- `links.prudai` — a [PrudAI](https://prudai.com) viewer for the ruling.\n\nWhen an agent quotes a passage, the tools instruct it to render the citation as a Markdown source link anchored on the exact excerpt:\n\n```\n[Zie bron](https://prudai.com/uitspraak/ECLI:NL:HR:2023:1234?quote=%22<verbatim quote>%22)\n```\n\n## Configuration\n\n| Env var | Default | Description |\n|---------|---------|-------------|\n| `RECHTSPRAAK_HTTP_TIMEOUT_MS` | `30000` | Upstream request timeout. |\n| `RECHTSPRAAK_BULK_CONCURRENCY` | `4` | Concurrency for bulk tools. |\n| `PRUDAI_BASE_URL` | `https://prudai.com` | Base URL for the viewer deeplinks. |\n| `RECHTSPRAAK_USER_AGENT` | `rechtspraak-mcp/…` | User-Agent sent upstream. |\n| `LIDO_REST_ENDPOINT` | KOOP default | Override the LiDO service endpoint. |\n| `RECHTSPRAAK_DEBUG` | `0` | `1` logs upstream requests to stderr. |\n\n## Development\n\n```bash\nbun install\nbun run typecheck\nbun test\nbun run build      # → dist/ (Node-runnable, shebang bundle)\nbun src/index.ts   # run from source\n```\n\n## Data sources & disclaimer\n\nCase-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.\n\n## License\n\nMIT © PrudAI. Maintained by [PrudAI](https://prudai.com).\n",
  "bytes": 3931,
  "sha": "5b1e6bbf9aa062e60114feac1deddc589d374b6038e70c0369d91eddaf5ba49a",
  "repo_slug": "prudai/rechtspraak-mcp",
  "fonte": "repo",
  "truncated": false,
  "api": "https://agentalog.com/api/listings/mcp_io_github_prudai_rechtspraak_mcp_2b674401/readme"
}