
Open Legal Data MCP server
Searches German court decisions and laws, queryable through a REST API and an MCP server for AI assistants.
read 2026-12-01
How to connect
Add the server to your MCP client config. Claude Desktop, Cursor and most other clients read this shape:
{
"mcpServers": {
"de": {
"type": "http",
"url": "https://de.openlegaldata.io/mcp"
}
}
}Add it
Claude Code, in a terminal
claude mcp add --transport http openlegaldata https://de.openlegaldata.io/mcpclaude.ai, ChatGPT and other clients: add https://de.openlegaldata.io/mcp as a custom connector in the settings.
get_server_instructionsdescribed by the serverReturn MCP server instructions (if any). Always call first.
get_courtdescribed by the serverGet detailed information about a specific court. Look up a court by ID, slug, or code. Returns full details including address, contact information, and case count. Args: court_id: Court database ID. slug: Court slug (e.g…
list_courtsverified Nov 20, 2026Browse and filter German courts. Returns a list of courts matching the given filters. Use this to discover which courts are available before searching for cases. Args: court_type: Filter by court type code (e.g. "AG", "LG", "OLG", "BGH"…
filter_casesdescribed by the serverStructured filtering of court cases using the database. Unlike search_cases (which uses full-text search), this tool filters cases using exact database fields. Returns case metadata without full content, newest first, with ``total`` and…
get_casedescribed by the serverRetrieve a court case by ID or slug. By default returns the case metadata and the complete, untruncated ``content`` as plain text (HTML tags removed, entities decoded, whitespace normalized; one line per paragraph, Randnummern as line…
get_case_statisticsdescribed by the serverGet aggregated case statistics. Returns case counts grouped by time period, optionally filtered by court, state, or jurisdiction. Without ``date_after`` only the **last 12 months** are counted. For counts over a longer period ("per year…
get_similar_casesdescribed by the serverFind court cases textually similar to a given case. Seeds an Elasticsearch "more like this" query with the full text of the given case and returns the most similar OTHER cases, ranked by similarity. Useful for comparative research: once…
search_casesverified Nov 27, 2026Full-text search for German court cases via Elasticsearch. Returns matching cases (with ``file_number``) and highlighted snippets. Does NOT return full case text - use get_case to retrieve complete content. The citation filters compose…
get_law_sectiondescribed by the serverGet the full text of a specific law section. Retrieve law text by book code and section number, or by law ID. For example, get_law_section(book_code="BGB", section="823") returns the text of section 823 of the German Civil Code. By…
list_law_booksseen, not called yetList available German law books (e.g. BGB, StGB, GG). Returns law books with their codes, titles, and section counts. Use this to discover what legislation is available before searching for specific law sections. Args: latest_only: Only…
search_lawsseen, not called yetFull-text search across law sections via Elasticsearch. Returns matching law sections with highlighted snippets. Does NOT return full text - use get_law_section to retrieve the complete content of a specific section. Args: query: Search…
get_case_referencesdescribed by the serverGet forward references FROM a case (what this case cites). Returns all laws and cases that the given case references in its text. Useful for understanding the legal basis of a decision. Args: case_id: The database ID of the case.
get_cases_for_lawdescribed by the serverFind all cases that cite a specific law section. Returns cases that reference the given statute section in their text. Useful for understanding how courts interpret a specific provision. To narrow the citing set by keyword, court, or…
get_citing_casesdescribed by the serverGet reverse references TO a case (cases that cite this case). Find all cases that reference the given case in their text. Useful for understanding the impact and precedent value of a decision. To narrow the citing set by keyword, court…
validate_citationdescribed by the serverCheck if a legal citation exists in the OLDP database. Validates Aktenzeichen (file numbers), ECLI identifiers, or paragraph references (e.g. "§ 823 BGB"). Use this to verify citations before presenting them to users. Args: citation: The…
submit_feedbackchanges datadescribed by the serverSend feedback about OLDP or this MCP server to the OLDP team. Use this to report bugs (wrong results, errors, broken tools), problems with the legal data (missing or wrong decisions, laws or references), or to request features. Only…
get_platform_infodescribed by the serverGet OLDP platform coverage summary. Returns an overview of the data available on the Open Legal Data Platform, including counts of cases, laws, courts, and references. Call this first to understand what data you can search and retrieve.
search_legalseen, not called yetSearch BOTH legislation and court cases in one call. Returns the most relevant law sections AND court decisions for the query, **grouped by type**. Use this when a legal question may be answered by statute or by case law and you don't yet…
whoamidescribed by the serverShow who you are connected as and your remaining request budget. Call this before a long task to check how many requests are left, or to learn how to get a larger budget. Every HTTP request to the MCP server counts against the budget…
How we checked it
Should an agent connect it
- Its tools do search German court decisions and laws on the platform, but not build apps and scripts on the REST API.
- On Nov 27, 2026 we called its read-only tools following a fixed scenario, and 2 of 2 steps returned what the check expects.
Once connected
- Parameters are untyped or undescribed in 16 of 19 tools: check arguments before calling.
Said by rules from the measurements above. The likely first call is a model's pick from the tool list; read its description before relying on it.
Measured daily
- INITE MCP score78 of 100answers 100 · does the job 50 · definitions 86 · context 79 · use 55 · connects 100
- Checked by calling it2 of 2 steps passedlatest run Nov 27, 2026, read-only calls only
- What an agent can do with it1 of 2 use cases
- Use164 GitHub stars
- Answered100% of days21 of 21 daily checks
- Median first answer262 msslowest in twenty: 771 ms
- Space in an agent's context≈ 6,601 tokensthe definitions of all its tools (19), which an agent carries on every turn
- Tool definitionsB · 86 of 100
- Typed results0 of 19 toolsdeclared outputSchema: results come typed, read once
- keyword-search, version 1, Nov 27, 2026: 1 of 1 steps passed. See the evidence
- list-catalogue, version 1, Nov 20, 2026: 1 of 1 steps passed. See the evidence
- Parameters without a description: in 16 of 19
What an agent can do with it
- can do · search German court decisions and laws on the platform
- not sure · connect AI assistants to German case law via MCP
- cannot · build apps and scripts on the REST API
Each of the product's use cases, put to Jev against this server's tool list: can an agent do it with these tools?
Worth a look
None of the five warning signs in these definitions.
A program checks the server once a day: initialize and tools/list, no model. Tokens are the definitions' length at about four characters a token. The grade averages six checks of every tool's name, description, schema and annotations; it says how well the tools are described, not whether they work. The score weighs what was measured and nothing else: answering (25%), doing the product's job (25%), definitions (20%), context (10%), use (10%) and how readily a client connects (10%). A part that was not measured is left out, and a hidden instruction caps the score at 40. The state of vendors' MCP servers: method and numbers →
Grade A, 98 of 100, checked 2026-11-30 · 19 of 19 checks judged · 1 failed
- Stateanswerschecked 2026-12-01
- Tools19
- Server calls itselfoldp
- Server version1.27.2
- Protocol version2025-06-18
On 2026-12-01 the server answered initialize and tools/list without a sign-in. First answer in 204 ms.
- Registry nameio.openlegaldata/deverified in the MCP registry
The registry name sits under openlegaldata.io. The registry only lets a publisher use that namespace after proving control of the domain through DNS or HTTP.
Each line is something a program found when it went looking: the registry entry, the server's own answer, a spec that parses. A missing line means we did not find it, not that it does not exist.
Before we count this visit
Analytics and ad measurement tell us which pages and which of our ads do their job: Google Analytics and Google Ads, the Meta pixel, Yandex Metrica, and one first-party id of our own. Nothing is stored until you answer, and declining changes nothing about the site.