german-law/german-law
MCP ServerGerman Law MCP Server - federal statutes live from gesetze-im-internet.de
check: npx https://www.npmjs.com/package/german-law-mcp
German federal law MCP server. Fetches statute XML live from gesetze-im-internet.de (Bundesministerium der Justiz), keyless.
MCP Server
- Package:
german-law-mcp(community) - Transport: stdio
- Command:
npx -y german-law-mcp
Authentication
None — the gesetze-im-internet.de portal is public.
Available Tools
| Tool | Description |
|---|---|
download_law | Fetch a statute's XML by short name (e.g. bgb) |
get_paragraph | Return a provision's verbatim text — takes law_name and paragraph with the § prefix (e.g. § 823) |
list_contents | Table of contents for a downloaded statute |
Configuration Example
[[mcp.servers]]
name = "german-law"
type = "stdio"
command = "npx"
args = ["-y", "[email protected]"]
timeout_seconds = 60
tools = []Notes: Replaces the deprecated @ansvar/german-law-mcp, which is broken in every published version and ships no data. This server fetches statutes on demand, so it needs network reach to gesetze-im-internet.de.