german-law/german-law

MCP Server

German Law MCP Server - federal statutes live from gesetze-im-internet.de

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

ToolDescription
download_lawFetch a statute's XML by short name (e.g. bgb)
get_paragraphReturn a provision's verbatim text — takes law_name and paragraph with the § prefix (e.g. § 823)
list_contentsTable of contents for a downloaded statute

Configuration Example

toml
[[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.