
German Law Mcp
eu.ansvar由 ansvar.eu 发布v0.4.0更新于 Oct 25, 2026
Query German statutes, case law, and preparatory works from gesetze-im-internet.de
发布方自己的服务:Ansvar: Dutch Law
概览
一个本地 MCP 服务器,让助手检索德国联邦法律条文、判例和立法准备文件,并给出逐字引用。
- 可以做什么
- 按引注或自然语言检索德国联邦法律及具体条文,返回带排序的全文结果和交叉引用。按法院和日期筛选检索联邦法院判决。查询某部法律的立法准备文件,如 Drucksachen 和 Plenarprotokolle。解析、格式化并校验法律引注,检查某部法律在语料库中是否仍然有效。追溯德国法律背后的欧盟指令与条例,并查找实施某欧盟法案的德国法律。列出数据来源和服务器元数据。
- 适用场景
- 适合德国法律研究、核查法规是否仍然有效、合同或诉讼文书中的引注校验,以及需要带来源出处的法条文本的法律科技工作。适合希望直接拿到准确条文而非浏览网页的用户。
- 运行要求
- 以 npm 包形式通过 stdio 在本地运行,需要 Node.js 并从仓库构建。预构建数据库不在仓库中,会在运行时下载(约 300 MB),也可用摄取脚本自行构建,脚本会从德国官方来源抓取数据,因此需要网络访问。未声明任何 API 密钥或环境变量。
安装
在 SourceWeft 中
- 打开 控制台中的 German Law Mcp,将其添加到工作区。
- 为需要使用其工具的对话启用该服务。
Desktop only,通过 STDIO。 STDIO 服务会启动本地进程,因此需要 SourceWeft 桌面宿主。
其他 MCP 客户端
参照 仓库 中的启动说明。
README
German Law MCP Server
The German law corpus is now served through the Ansvar Gateway. Connect your AI assistant (Claude, Copilot, Cursor, custom MCP client) to
https://gateway.ansvar.eu/mcp— one OAuth connection, free tier available, covering this corpus plus EU regulations, national law across 28 audited jurisdictions, and CVE/security intelligence, every result with a verbatim source citation. Start at https://ansvar.eu/docs/quickstart
Connect
Claude Code (one line):
Claude Desktop / Cursor — add to claude_desktop_config.json (or mcp.json):
Claude.ai — Settings → Connectors → Add custom connector → paste https://gateway.ansvar.eu/mcp
First request opens an OAuth signup flow (setup details: ansvar.eu/docs/quickstart). After signup, your client is bound to your account; tier (free / premium / team / company) determines fan-out, quota, and which downstream MCPs are reachable.
Self-host this MCP
You can also clone this repo and build the corpus yourself. The schema, fetcher, and tool implementations all live here. What is not in the repo is the pre-built database — TDM and standards-licensing constraints on the upstream sources mean we host the corpus on Ansvar infrastructure rather than redistribute it as a public artifact.
Build your own: run this repo's ingestion script (entry-point varies per
repo — typically scripts/ingest.sh, npm run ingest, or make ingest;
check the repo root).
The gesetze-im-internet.de alternative for the AI age.
[MCP Registry] [License] [GitHub stars] [CI] [Daily Data Check]
Query 6,870 German federal statutes -- from the BGB and StGB to the GG, BDSG, and more -- directly from Claude, Cursor, or any MCP-compatible client.
If you're building legal tech, compliance tools, or doing German legal research, this is your verified reference database.
Built by Ansvar Systems -- Stockholm, Sweden
Why This Exists
German legal research is scattered across gesetze-im-internet.de, dejure.org, rechtsprechung-im-internet.de, and DIP Bundestag. Whether you're:
- A Rechtsanwalt validating citations in a Schriftsatz or contract
- A compliance officer checking if a statute is still in force
- A legal tech developer building tools on German law
- A researcher tracing legislative history from Drucksache to statute
...you shouldn't need 47 browser tabs and manual PDF cross-referencing. Ask Claude. Get the exact provision. With context.
This MCP server makes German law searchable, cross-referenceable, and AI-readable.
Example Queries
Once connected, just ask naturally:
- "Was sagt § 823 Abs. 1 BGB über Schadensersatz?"
- "Ist das BDSG 2018 noch in Kraft?"
- "Find provisions about Datenschutz in German law"
- "What EU directives does the BDSG implement?"
- "Which German laws implement the GDPR?"
- "Get the preparatory works for the IT-Sicherheitsgesetz"
- "Validate the citation § 433 BGB"
- "Search for Kündigungsschutz in case law"
- "Compare DSGVO implementation across German statutes"
What's Included
Verified data only -- every provision is ingested from official government sources. Zero LLM-generated content.
See It In Action
Why This Works
Verbatim Source Text (No LLM Processing):
- All statute text is ingested from gesetze-im-internet.de official XML exports
- 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)
- Three-tier search strategy: exact citation match → FTS5 full-text → LIKE fallback
- Cross-references help navigate without loading everything at once
Technical Architecture:
Traditional Research vs. This MCP
Traditional: Search gesetze-im-internet.de → Download XML → Ctrl+F → Cross-reference with Drucksache → Check EUR-Lex for EU basis → Repeat
This MCP: "What EU law is the basis for § 1 BDSG?" → Done.
Available Tools (19)
Core Legal Research Tools (8)
Citation Tools (2)
EU Law Integration Tools (5)
Discovery & Metadata Tools (2)
Data Sources & Freshness
All content is sourced from authoritative German legal databases:
- gesetze-im-internet.de -- Federal Ministry of Justice, all consolidated federal statutes
- rechtsprechung-im-internet.de -- Federal court decisions (BVerfG, BGH, BVerwG, BAG, BSG, BFH, BPatG)
- DIP Bundestag -- Legislative preparatory works (Drucksachen, Plenarprotokolle)
- EUR-Lex -- EU cross-reference metadata
Automated Freshness Checks (Daily)
A daily GitHub Actions workflow monitors all data sources:
Security
This project uses multiple layers of automated security scanning:
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 gesetze-im-internet.de publications. However:
- This is a research tool, not a substitute for professional legal counsel
- Court case coverage is limited (5,000 decisions) -- 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 German statute text, not EUR-Lex full text
Before using professionally, read: DISCLAIMER.md | PRIVACY.md
Client Confidentiality
Queries go through the Claude API. For privileged or confidential matters, use on-premise deployment. Lawyers should consider Bundesrechtsanwaltskammer (BRAK) confidentiality obligations when using cloud-based AI tools. See PRIVACY.md for compliance guidance.
Documentation
- Architecture -- Multi-country adapter architecture
- Accuracy Plan -- Roadmap to production accuracy
- Auto Update -- Automated data freshness system
- Security Policy -- Vulnerability reporting and scanning details
- Disclaimer -- Legal disclaimers and professional use notices
- Privacy -- Client confidentiality and data handling
Development
Branching Strategy
This repository uses a dev integration branch. Do not push directly to main.
mainis production-ready. Only receives merges fromdevvia PR.devis the integration branch. All changes land here first.- Feature branches are created from
dev.
Setup
Running Locally
Data Management
Performance
- Search Speed: <100ms for most FTS5 queries
- Database Size: ~300 MB (runtime download, Strategy B)
- Ingestion Coverage: 6,870/6,870 statutes (100% TOC coverage)
More Ansvar MCPs
Full fleet coverage at ansvar.eu/coverage.
Contributing
Contributions welcome! See CONTRIBUTING.md for guidelines.
Priority areas:
- Lower court decisions (Landesgerichte, Oberlandesgerichte)
- Historical statute versions and amendment tracking (Fassungsvergleich)
- Expanded case law coverage (currently 5,000 of ~50,000+ published decisions)
- State law (Landesrecht) for major Bundesländer
Roadmap
- Full statute coverage -- 6,870 federal statutes, 91,843 provisions
- Case law -- 5,000 federal court decisions
- Preparatory works -- 89,423 DIP records (WP 19 + 20)
- EU cross-references -- Extracted from statute text
- Citation parsing --
§ 823 Abs. 1 BGBandArt. 1 Abs. 1 GGformats - Free/Professional tier gating -- Honest messaging for tier limitations
- Expanded case law (full archive, ~50,000+ decisions)
- Lower court coverage (Landesgerichte)
- Historical statute versions (Fassungsvergleich)
- State law (Landesrecht)
- English translations for key statutes
Citation
If you use this MCP server in academic research:
License
Apache License 2.0. See LICENSE for details.
Data Licenses
- Statutes & Regulations:
German-UrhG-Section-5-- German statutory public domain. UrhG §5(1) "Amtliche Werke" excludes statutes, ordinances, official decrees and notices, decisions and officially drafted headnotes from copyright protection; §5(2) extends to other official works published in the official interest. Verified verbatim 2026-05-17 -- seedocs/audits/2026-05-17-eu-copyright-statutory-works-batch-1b-DE-IE-IT-NL-ES.md. Catalog entry:German-UrhG-Section-5ininfrastructure/attribution-licenses.json. - Case Law: rechtsprechung-im-internet.de -- same statutory basis (UrhG §5(1) decisions clause)
- Preparatory Works: DIP Bundestag -- UrhG §5(2) official-interest publications
- EU Metadata: EUR-Lex (EU public domain, Decision 2011/833/EU)
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 German law -- turns out everyone building for the DACH market has the same research frustrations.
So we're open-sourcing it. Navigating 6,870 statutes shouldn't require a law degree.
ansvar.eu -- Stockholm, Sweden
Built with care in Stockholm, Sweden
来源:README.md,提交 b614f14
工具
0版本历史
1- v0.4.0最新Sep 16, 2026
评分
已满足适用检查项的 50%
该评分衡量此收录条目的完整程度,依据注册中心条目、端点与公开来源计算得出。它不是对服务器本身的评价,也不表示服务器安全或当前可用:可连通性是带日期的检查结果,评分也不包含安装量或用户评价。
- 近 30 天内可连通25 分
请保持端点能够响应 MCP 握手;SourceWeft 每 30 天探测一次。
- 已声明认证方式10 分
请在注册中心条目中声明凭据请求头,或保持端点能够响应探测,以便判定其认证方式。
- 已列出工具15 分
请让服务器在无凭据时响应 tools/list,或发布可在沙箱中无凭据启动的软件包。
- 描述必需15 分
- 图标10 分
- 文档15 分
- 许可证10 分
其他 Ansvar 集成

Ansvar: Dutch Law
eu.ansvar官方发布者
一个远程 MCP 服务器,让助手检索带引用的欧盟及全球法律、法规、安全框架与威胁情报,无来源时明确拒绝作答。

Ansvar: US Law
eu.ansvar官方发布者
远程 MCP 服务器,让助手以带引用的方式检索欧盟及全球法律、法规、安全框架与威胁情报。

Ansvar: Threat Intelligence
eu.ansvar官方发布者
远程 MCP 服务器,让助手在欧盟及全球法律、法规、安全框架和 CVE 威胁情报中做带引用的检索与条文查询。

Ansvar: Swedish Law
eu.ansvar官方发布者
远程 MCP 服务器,让助手以可引用来源的方式检索欧盟及全球法律、法规、安全框架与威胁情报。

Ansvar: Spanish Law
eu.ansvar官方发布者
远程 MCP 服务器,让助手检索并获取带引用的欧盟及全球法律、法规、安全框架与威胁情报。