German federal & state legal texts (BGB, DSGVO, …) with canonical IDs and cite-grade provenance.
Connect Runs on your machine
claude mcp add legal-text-mcp-de -e DATASET_PATH=<DATASET_PATH> -e STRICT_DATASET=<STRICT_DATASET> -e ANTHROPIC_API_KEY=<ANTHROPIC_API_KEY> -- uvx legal-text-mcp-de==2.1.3
{
"mcpServers": {
"legal-text-mcp-de": {
"command": "uvx",
"args": [
"legal-text-mcp-de==2.1.3"
],
"env": {
"DATASET_PATH": "<DATASET_PATH>",
"STRICT_DATASET": "<STRICT_DATASET>",
"ANTHROPIC_API_KEY": "<ANTHROPIC_API_KEY>"
}
}
}
}
{
"mcpServers": {
"legal-text-mcp-de": {
"command": "uvx",
"args": [
"legal-text-mcp-de==2.1.3"
],
"env": {
"DATASET_PATH": "<DATASET_PATH>",
"STRICT_DATASET": "<STRICT_DATASET>",
"ANTHROPIC_API_KEY": "<ANTHROPIC_API_KEY>"
}
}
}
}
{
"servers": {
"legal-text-mcp-de": {
"type": "stdio",
"command": "uvx",
"args": [
"legal-text-mcp-de==2.1.3"
],
"env": {
"DATASET_PATH": "<DATASET_PATH>",
"STRICT_DATASET": "<STRICT_DATASET>",
"ANTHROPIC_API_KEY": "<ANTHROPIC_API_KEY>"
}
}
}
}
Replace the values in angle brackets with your own. Keys stay on your machine; we never see them.
Tools
This server runs locally, so its tools are listed by your MCP client once it starts.
Environment variables
| Name | Description |
|---|---|
DATASET_PATHOptional | Path to a normalised corpus directory or a corpus archive (legal-texts-de-*.tar.zst). Defaults to the bundled fixture; production deployments should mount /data/corpus/latest.tar.zst. |
STRICT_DATASETOptional | Set to 'true' to refuse to start if the dataset cannot be loaded (recommended for hosted deployments). |
ANTHROPIC_API_KEYOptional, secret | Optional. Required only for the smart `research_topic` tool which uses LLM-assisted synthesis. Without it, the tool degrades gracefully to a ranked-search fallback. |
Details
| Package | [email protected] (PYPI, stdio) |
| Package | ghcr.io/klein-business/legal-text-mcp-de:2.1.3 (OCI, stdio) |
| First published | 18 May 2026 |
| Last updated | 18 May 2026 |
| Registry name | io.github.klein-business/legal-text-mcp-de |
More other servers See all
Listing data from the official MCP registry. Status and tools from NestDaddy's daily check. Browse all MCP servers.
