German Law MCP
Provides LLM-friendly access to German federal legislation via the NeuRIS API, enabling tool-based retrieval of laws, norms, and statutory text.
README
German Law MCP
A thin, LLM-friendly remote MCP server for German federal legislation. It uses the public NeuRIS preview API as the legal source of truth, removes implementation identifiers from tool inputs, and returns compact source-linked results.
Live endpoints after deployment:
/mcpRemote MCP over Streamable HTTP/docsRuntime-generated tool documentation/openapi.jsonRuntime API specification for the website API/healthDeployment health and NeuRIS status/Marketing site/loginAccount area
MCP tools
find_laws: Find a law from its title, short title, or abbreviation.get_law: Get compact official law metadata and current validity.search_legislation_text: Search statutory text by keyword, optionally within one law.list_norms: List directly addressable norms in a law.list_law_structure: Return the hierarchy of parts, sections and norms.get_norm: Retrieve an official norm by human reference such aslaw=FinVermV,norm=17.get_law_versions: List available versions of a law.
Source of truth and correctness
NeuRIS remains the source of truth. The Worker stores no legal corpus. It resolves human law references at request time, uses the requested as_of date for version choice, and preserves legal-force, validity, official title, publication and source URL metadata.
If one date resolves to more than one applicable expression, the response preserves all matching version candidates rather than presenting a silent arbitrary choice. Technical eId values are resolver internals and are never MCP inputs.
Documentation
src/tools/catalog.ts is the single tool-contract source. MCP registrations, the public /docs page and /api/spec all use the same catalog. The test suite fails if the MCP server's list of tools differs from this catalog.
Development
npm install
npm run check
npm test
npm run build
The public MCP deliberately has no database dependency. The optional account area uses Supabase Auth; it is enabled only when the Worker is configured with SUPABASE_URL and SUPABASE_ANON_KEY. These values are public client configuration, not service-role credentials.
Deploy
npm run deploy bundles the Worker and uploads it directly through the Cloudflare Workers REST API. It never uses Wrangler. It requires CLOUDFLARE_API_TOKEN with Developer Platform → Workers Scripts → Edit and CLOUDFLARE_ACCOUNT_ID.
To activate account login, create or select a dedicated Supabase project, configure its Auth providers and redirect URL, and set SUPABASE_URL plus SUPABASE_ANON_KEY as Worker bindings. Do not add a Supabase service-role key to the Worker or browser.
Scope
This product provides official-source retrieval, not legal advice. NeuRIS is a preview service; the contract tests are intentionally small and the upstream adapter is isolated in src/neuris/.
License: MIT
Recommended Servers
playwright-mcp
A Model Context Protocol server that enables LLMs to interact with web pages through structured accessibility snapshots without requiring vision models or screenshots.
Magic Component Platform (MCP)
An AI-powered tool that generates modern UI components from natural language descriptions, integrating with popular IDEs to streamline UI development workflow.
Audiense Insights MCP Server
Enables interaction with Audiense Insights accounts via the Model Context Protocol, facilitating the extraction and analysis of marketing insights and audience data including demographics, behavior, and influencer engagement.
VeyraX MCP
Single MCP tool to connect all your favorite tools: Gmail, Calendar and 40 more.
graphlit-mcp-server
The Model Context Protocol (MCP) Server enables integration between MCP clients and the Graphlit service. Ingest anything from Slack to Gmail to podcast feeds, in addition to web crawling, into a Graphlit project - and then retrieve relevant contents from the MCP client.
Kagi MCP Server
An MCP server that integrates Kagi search capabilities with Claude AI, enabling Claude to perform real-time web searches when answering questions that require up-to-date information.
E2B
Using MCP to run code via e2b.
Neon Database
MCP server for interacting with Neon Management API and databases
Exa Search
A Model Context Protocol (MCP) server lets AI assistants like Claude use the Exa AI Search API for web searches. This setup allows AI models to get real-time web information in a safe and controlled way.
Qdrant Server
This repository is an example of how to create a MCP server for Qdrant, a vector search engine.