eu.ansvar/dutch-law-mcp

平台与服务

by ansvar-systems

法律检索 MCP,可查询荷兰法条、202K+ 法院判决、EU 交叉引用及 kamerstukken 议会文件。

什么是 eu.ansvar/dutch-law-mcp

法律检索 MCP,可查询荷兰法条、202K+ 法院判决、EU 交叉引用及 kamerstukken 议会文件。

README

Dutch Law MCP Server

The Wetten.overheid.nl alternative for the AI age.

npm version MCP Registry License GitHub stars CI Daily Data Check Database Provisions

Query 3,251 Dutch statutes -- from the AVG and Wetboek van Strafrecht to the Burgerlijk Wetboek, Mededingingswet, and the full BWB corpus -- directly from Claude, Cursor, or any MCP-compatible client.

If you're building legal tech, compliance tools, or doing Dutch legal research, this is your verified reference database.

Built by Ansvar Systems -- Stockholm, Sweden


Why This Exists

Dutch legal research is scattered across Wetten.overheid.nl, Rechtspraak.nl, Kamerstukken, and EUR-Lex. Whether you're:

  • A lawyer validating citations in a brief or contract
  • A compliance officer checking AVG obligations or Mededingingswet requirements
  • A legal tech developer building tools on Dutch law
  • A researcher tracing legislative history from Kamerstukken to wet

...you shouldn't need dozens of browser tabs and manual PDF cross-referencing. Ask Claude. Get the exact provision. With context.

This MCP server makes Dutch law searchable, cross-referenceable, and AI-readable.


Quick Start

Use Remotely (No Install Needed)

Connect directly to the hosted version -- zero dependencies, nothing to install.

Endpoint: https://mcp.ansvar.eu/law-nl/mcp

ClientHow to Connect
Claude.aiSettings > Connectors > Add Integration > paste URL
Claude Codeclaude mcp add dutch-law --transport http https://mcp.ansvar.eu/law-nl/mcp
Claude DesktopAdd to config (see below)
GitHub CopilotAdd to VS Code settings (see below)

Claude Desktop -- add to claude_desktop_config.json:

json
{
  "mcpServers": {
    "dutch-law": {
      "type": "url",
      "url": "https://mcp.ansvar.eu/law-nl/mcp"
    }
  }
}

GitHub Copilot -- add to VS Code settings.json:

json
{
  "github.copilot.chat.mcp.servers": {
    "dutch-law": {
      "type": "http",
      "url": "https://mcp.ansvar.eu/law-nl/mcp"
    }
  }
}

Use Locally (npm)

bash
npx @ansvar/dutch-law-mcp

Claude Desktop -- add to claude_desktop_config.json:

macOS: ~/Library/Application Support/Claude/claude_desktop_config.json Windows: %APPDATA%\Claude\claude_desktop_config.json

json
{
  "mcpServers": {
    "dutch-law": {
      "command": "npx",
      "args": ["-y", "@ansvar/dutch-law-mcp"]
    }
  }
}

Cursor / VS Code:

json
{
  "mcp.servers": {
    "dutch-law": {
      "command": "npx",
      "args": ["-y", "@ansvar/dutch-law-mcp"]
    }
  }
}

Example Queries

Once connected, just ask naturally in Dutch or English:

  • "Wat zegt de AVG artikel 5 over de beginselen voor de verwerking van persoonsgegevens?"
  • "Is de Mededingingswet artikel 24 over misbruik van machtspositie nog van kracht?"
  • "Zoek bepalingen over gegevensbescherming in de Nederlandse wet"
  • "Welke EU-richtlijnen implementeert de AVG?"
  • "Valideer de citatie 'Wetboek van Strafrecht artikel 138b'"
  • "Bouw een juridisch standpunt op over privacyrecht in Nederland"
  • "What does Burgerlijk Wetboek Boek 6 say about contractual liability?"
  • "Find provisions about trade secrets in Dutch law"

What's Included

CategoryCountDetails
Statutes3,251 lawsFull BWB corpus from Wetten.overheid.nl (100% coverage)
Provisions77,531 sectionsFull-text searchable with FTS5
Premium: Case Law59,261 rulingsHoge Raad, Gerechtshoven, Rechtbanken decisions
Premium: Preparatory Works2,994 documentsKamerstukken, memorie van toelichting
Database Size126 MBOptimized SQLite, portable
Daily UpdatesAutomatedFreshness checks against Wetten.overheid.nl

Key Statutes Covered

StatuteSubject
Burgerlijk Wetboek (Boek 1–10)Civil Code -- persons, property, contracts, tort
Wetboek van StrafrechtCriminal Code
Algemene wet bestuursrechtGeneral Administrative Law Act
Uitvoeringswet Algemene verordening gegevensbescherming (AVG)GDPR implementation
MededingingswetCompetition Act
AuteurswetCopyright Act
ArbeidsomstandighedenwetWorking Conditions Act
Wet bescherming bedrijfsgeheimenTrade Secrets Act
TelecommunicatiewetTelecommunications Act (ePrivacy)
Wet op het financieel toezicht (Wft)Financial Supervision Act

Verified data only -- every citation is validated against official sources (Wetten.overheid.nl, Overheid.nl). Zero LLM-generated content.


See It In Action

Why This Works

Verbatim Source Text (No LLM Processing):

  • All statute text is ingested from Wetten.overheid.nl official sources via the BWB API
  • Provisions are returned unchanged from SQLite FTS5 database rows
  • Zero LLM summarization or paraphrasing -- the database contains regulation text, not AI interpretations

Smart Context Management:

  • Search returns ranked provisions with BM25 scoring (safe for context)
  • Provision retrieval gives exact text by BWB identifier + chapter/article
  • Cross-references help navigate without loading everything at once

Technical Architecture:

code
Wetten.overheid.nl BWB API → Parse → SQLite → FTS5 snippet() → MCP response
                                ↑                      ↑
                       Provision parser         Verbatim database query

Traditional Research vs. This MCP

Traditional ApproachThis MCP Server
Search Wetten.overheid.nl by wet nameSearch by plain Dutch: "persoonsgegevens verwerking"
Navigate multi-boek statutes manuallyGet the exact provision with context
Manual cross-referencing between wettenbuild_legal_stance aggregates across sources
"Is this statute still in force?" → check manuallycheck_currency tool → answer in seconds
Find EU basis → dig through EUR-Lexget_eu_basis → linked EU directives instantly
Check Kamerstukken.nl separatelyPremium get_preparatory_works → linked documents
No API, no integrationMCP protocol → AI-native

Traditional: Search Wetten.overheid.nl → Open BWB page → Navigate articles → Check Kamerstukken → EUR-Lex for EU basis → Repeat

This MCP: "What EU law is the basis for AVG artikel 5 about data processing principles?" → Done.


Available Tools (15)

Core Legal Research Tools (8)

ToolDescription
search_legislationFTS5 search on 77,531 provisions with BM25 ranking
get_provisionRetrieve specific provision by wet identifier + article number
search_case_lawFTS5 search on case law with court/date filters
get_preparatory_worksGet linked Kamerstukken and memorie van toelichting for a statute
validate_citationValidate citation against database (zero-hallucination check)
build_legal_stanceAggregate citations from statutes, case law, prep works
format_citationFormat citations per Dutch conventions (full/short/pinpoint)
check_currencyCheck if statute is in force, amended, or repealed

EU Law Integration Tools (5)

ToolDescription
get_eu_basisGet EU directives/regulations that a Dutch statute implements
get_dutch_implementationsFind Dutch laws implementing a specific EU act
search_eu_implementationsSearch EU documents with Dutch implementation counts
get_provision_eu_basisGet EU law references for a specific provision
validate_eu_complianceCheck implementation status (requires EU MCP)

History & Metadata Tools (2)

ToolDescription
get_provision_at_dateRetrieve a provision as it was at a specific historical date
list_sourcesList data sources with provenance, coverage, and freshness info

EU Law Integration

Netherlands is a founding EU member state. Dutch law directly transposes EU directives across the full acquis communautaire.

MetricValue
EU Member StateYes (founding member, since 1958)
GDPR StatusDirectly applicable; implemented by Uitvoeringswet AVG
Key ImplementationAVG → Uitvoeringswet Algemene verordening gegevensbescherming
Competition LawMededingingswet implements EU Treaty Articles 101-102
ePrivacyTelecommunicatiewet transposes ePrivacy Directive

Dutch Law and EU Directives

  • AVG (GDPR) -- GDPR is directly applicable in the Netherlands. The Uitvoeringswet AVG implements the member-state derogations and supplements. The get_eu_basis tool links AVG provisions to the underlying GDPR articles.
  • ePrivacy Directive -- transposed via the Telecommunicatiewet, governing electronic communications and cookie consent.
  • Competition law -- Mededingingswet aligns with EU Treaty Articles 101 (cartels) and 102 (abuse of dominance) and Commission enforcement practice.
  • Trade Secrets Directive -- implemented by Wet bescherming bedrijfsgeheimen (2018).
  • Financial regulation -- Wet op het financieel toezicht (Wft) transposes MiFID II, the Capital Requirements Directive, and related EU financial services directives.

The EU bridge tools provide bi-directional lookup: start from a Dutch provision to find its EU basis, or start from an EU directive to find its Dutch implementation.

See EU_INTEGRATION_GUIDE.md for detailed documentation.


Premium Tier

The free tier includes all 77,531 provisions with full-text search and EU cross-references. The premium tier adds case law, preparatory works, and version history.

FeatureFreePremium
Statute search (77,531 provisions)YesYes
EU cross-referencesYesYes
Citation validationYesYes
Case law (59,261 rulings)--Yes
Preparatory works (2,994 documents)--Yes
Provision version history--Yes
Amendment diffs--Yes

Premium case law covers decisions from the Hoge Raad (Supreme Court), Gerechtshoven (Courts of Appeal), and Rechtbanken (District Courts) sourced from Rechtspraak.nl.

Premium preparatory works covers Kamerstukken (parliamentary documents), memorie van toelichting (explanatory memoranda), and other preparatory materials from Overheid.nl.

Premium is enabled via PREMIUM_ENABLED=true environment variable. Contact hello@ansvar.ai for access.


Data Sources & Freshness

All content is sourced from authoritative Dutch legal databases:

Data Provenance

FieldValue
AuthorityMinisterie van Justitie en Veiligheid / Overheid.nl
Retrieval methodBulk download from Wetten.overheid.nl BWB API
LanguageDutch (primary)
LicenseOpen Government License -- Netherlands
Coverage3,251 Dutch federal laws (100% BWB corpus)
Last ingested2026-02-22

Automated Freshness Checks (Daily)

A daily GitHub Actions workflow monitors all data sources:

SourceCheckMethod
Statute amendmentsWetten.overheid.nl date comparisonAll 3,251 statutes checked
New statutesBWB API publications (90-day window)Diffed against database
Case lawRechtspraak.nl feed entry countCompared to database
Preparatory worksOverheid.nl Kamerstukken feed (30-day window)New docs detected
EU reference stalenessGit commit timestampsFlagged if >90 days old

Security

This project uses multiple layers of automated security scanning:

ScannerWhat It DoesSchedule
CodeQLStatic analysis for security vulnerabilitiesWeekly + PRs
SemgrepSAST scanning (OWASP top 10, secrets, TypeScript)Every push
GitleaksSecret detection across git historyEvery push
TrivyCVE scanning on filesystem and npm dependenciesDaily
Docker SecurityContainer image scanning + SBOM generationDaily
Socket.devSupply chain attack detectionPRs
OSSF ScorecardOpenSSF best practices scoringWeekly
DependabotAutomated dependency updatesWeekly

See SECURITY.md for the full policy and vulnerability reporting.


Important Disclaimers

Legal Advice

THIS TOOL IS NOT LEGAL ADVICE

Statute text is sourced from official Wetten.overheid.nl publications. However:

  • This is a research tool, not a substitute for professional legal counsel
  • Court case coverage is limited -- do not rely solely on this for case law research
  • Verify critical citations against primary sources for court filings
  • EU cross-references are extracted from Dutch statute text and EUR-Lex metadata, not full EU law text
  • Municipal and provincial legislation is not included -- this covers national (rijks) legislation only

Before using professionally, read: DISCLAIMER.md | PRIVACY.md

Client Confidentiality

Queries go through the Claude API. For privileged or confidential matters (including attorney-client privilege under the Wet op de rechtsbijstand), use on-premise deployment. See PRIVACY.md for guidance on use in Dutch legal practice.


Documentation


Development

Setup

bash
git clone https://github.com/Ansvar-Systems/Dutch-law-mcp
cd Dutch-law-mcp
npm install
npm run build
npm test

Running Locally

bash
npm run dev                                       # Start MCP server (stdio)
npm run dev:http                                  # Start HTTP server
npx @anthropic/mcp-inspector node dist/index.js   # Test with MCP Inspector

Data Management

bash
npm run ingest                   # Ingest statutes from Wetten.overheid.nl BWB API
npm run ingest:all               # Full corpus ingest
npm run ingest:cases             # Ingest case law from Rechtspraak.nl
npm run ingest:prep-works        # Ingest Kamerstukken and preparatory works
npm run build:db                 # Rebuild free-tier SQLite database
npm run build:db:paid            # Rebuild premium SQLite database
npm run drift:detect             # Run drift detection against BWB anchors
npm run check-updates            # Check for statute amendments
npm run extract:definitions      # Extract legal definitions
npm run populate:xrefs           # Populate EU cross-references

Performance

  • Search Speed: <100ms for most FTS5 queries
  • Database Size: 126 MB (efficient, portable)
  • Reliability: 100% ingestion success rate

Related Projects: Complete Compliance Suite

This server is part of Ansvar's Compliance Suite -- MCP servers that work together for end-to-end compliance coverage:

@ansvar/eu-regulations-mcp

Query 49 EU regulations directly from Claude -- GDPR, AI Act, DORA, NIS2, MiFID II, eIDAS, and more. Full regulatory text with article-level search. npx @ansvar/eu-regulations-mcp

@ansvar/dutch-law-mcp (This Project)

Query 3,251 Dutch statutes directly from Claude -- AVG, BW, WvSr, Mededingingswet, Wft, and the full BWB corpus. Full provision text with EU cross-references. npx @ansvar/dutch-law-mcp

@ansvar/us-regulations-mcp

Query US federal and state compliance laws -- HIPAA, CCPA, SOX, GLBA, FERPA, and more. npm install @ansvar/us-regulations-mcp

@ansvar/ot-security-mcp

Query IEC 62443, NIST 800-82/53, and MITRE ATT&CK for ICS -- Specialized for OT/ICS environments. npx @ansvar/ot-security-mcp

@ansvar/automotive-cybersecurity-mcp

Query UNECE R155/R156 and ISO 21434 -- Automotive cybersecurity compliance. npx @ansvar/automotive-cybersecurity-mcp

@ansvar/sanctions-mcp

Offline-capable sanctions screening -- OFAC, EU, UN sanctions lists. pip install ansvar-sanctions-mcp

70+ national law MCPs covering Australia, Belgium, Brazil, Canada, Denmark, Finland, France, Germany, Ireland, Italy, Japan, Norway, Poland, Singapore, South Korea, Sweden, Switzerland, UK, and more.


Contributing

Contributions welcome! See CONTRIBUTING.md for guidelines.

Priority areas:

  • Court case law expansion (Hoge Raad, Gerechtshoven archive)
  • EU Regulations MCP integration (full EU law text, CJEU case law)
  • Historical statute versions and amendment tracking
  • Lower court decisions (Rechtbanken archives)
  • English translations for key statutes

Roadmap

  • Core statute database -- 3,251 Dutch statutes with FTS5 search (100% BWB coverage)
  • EU law integration -- cross-references to EU directives and regulations
  • Premium case law -- 59,261 Hoge Raad, Gerechtshoven, and Rechtbanken rulings
  • Premium preparatory works -- 2,994 Kamerstukken documents
  • Hetzner GHCR deployment -- Docker-based production hosting
  • npm package publication
  • Full Wetten.overheid.nl coverage -- 3,251 statutes, 77,531 provisions
  • Historical statute versions (amendment tracking)
  • Lower court coverage (Rechtbanken archives)
  • Full EU text integration (via @ansvar/eu-regulations-mcp)
  • English translations for key statutes
  • Web API for programmatic access

Citation

If you use this MCP server in academic research:

bibtex
@software{dutch_law_mcp_2026,
  author = {Ansvar Systems AB},
  title = {Dutch Law MCP Server: Production-Grade Legal Research Tool},
  year = {2026},
  url = {https://github.com/Ansvar-Systems/Dutch-law-mcp},
  note = {3,251 Dutch statutes with 77,531 provisions and EU law cross-references}
}

License

Apache License 2.0. See LICENSE for details.

Data Licenses


About Ansvar Systems

We build AI-accelerated compliance and legal research tools for the European market. This MCP server started as our internal reference tool for Dutch law -- turns out everyone building for the Dutch and EU market has the same research frustrations.

So we're open-sourcing it. Navigating 3,251 statutes and 77,531 provisions shouldn't require a law degree.

ansvar.eu -- Stockholm, Sweden


<p align="center"> <sub>Built with care in Stockholm, Sweden</sub> </p>

常见问题

eu.ansvar/dutch-law-mcp 是什么?

法律检索 MCP,可查询荷兰法条、202K+ 法院判决、EU 交叉引用及 kamerstukken 议会文件。

相关 Skills

MCP构建

by anthropics

Universal
热门

聚焦高质量 MCP Server 开发,覆盖协议研究、工具设计、错误处理与传输选型,适合用 FastMCP 或 MCP SDK 对接外部 API、封装服务能力。

想让 LLM 稳定调用外部 API,就用 MCP构建:从 Python 到 Node 都有成熟指引,帮你更快做出高质量 MCP 服务器。

平台与服务
未扫描114.1k

Slack动图

by anthropics

Universal
热门

面向Slack的动图制作Skill,内置emoji/消息GIF的尺寸、帧率和色彩约束、校验与优化流程,适合把创意或上传图片快速做成可直接发送的Slack动画。

帮你快速做出适配 Slack 的动图,内置约束规则和校验工具,少踩上传与播放坑,做表情包和演示都更省心。

平台与服务
未扫描114.1k

MCP服务构建器

by alirezarezvani

Universal
热门

从 OpenAPI 一键生成 Python/TypeScript MCP server 脚手架,并校验 tool schema、命名规范与版本兼容性,适合把现有 REST API 快速发布成可生产演进的 MCP 服务。

帮你快速搭建 MCP 服务与后端 API,脚手架完善、扩展顺手,尤其适合想高效验证服务能力的开发者。

平台与服务
未扫描10.2k

相关 MCP Server

Slack 消息

编辑精选

by Anthropic

热门

Slack 是让 AI 助手直接读写你的 Slack 频道和消息的 MCP 服务器。

这个服务器解决了团队协作中需要 AI 实时获取 Slack 信息的痛点,特别适合开发团队让 Claude 帮忙汇总频道讨论或发送通知。不过,它目前只是参考实现,文档有限,不建议在生产环境直接使用——更适合开发者学习 MCP 如何集成第三方服务。

平台与服务
83.4k

by netdata

热门

io.github.netdata/mcp-server 是让 AI 助手实时监控服务器指标和日志的 MCP 服务器。

这个工具解决了运维人员需要手动检查系统状态的痛点,最适合 DevOps 团队让 Claude 自动分析性能数据。不过,它依赖 NetData 的现有部署,如果你没用过这个监控平台,得先花时间配置。

平台与服务
78.4k

by d4vinci

热门

Scrapling MCP Server 是专为现代网页设计的智能爬虫工具,支持绕过 Cloudflare 等反爬机制。

这个工具解决了爬取动态网页和反爬网站时的头疼问题,特别适合需要批量采集电商价格或新闻数据的开发者。不过,它依赖外部浏览器引擎,资源消耗较大,不适合轻量级任务。

平台与服务
35.4k

评论