Koskamo

Open Legal Data MCP

An official MCP server provided by Open Legal Data that enables AI agents to search German court decisions and laws, read full texts, check citations, and follow citation graphs. It serves as a bridge between large language models and the Open Legal Data platform's legal information corpus.

Endpoint and access

No sign-in to connect and list tools. Individual tools may still need a vendor account, credentials, or permissions; check the documented prerequisites.

Open Legal Data MCP logo, by Open Legal DataVendor evidenceStreamable HTTPNo sign-inEndpoint checked 2026-11-23Operated by Open Legal Data
You need:Works without an account.A free account gives you a higher limit.with a free API token the limits are considerably higher.
MCP endpoint (Streamable HTTP)
https://de.openlegaldata.io/mcp
Vendor documentation

What its tools do

19 tools, grouped by the hints the server advertises. Hints are self-declared, not verified behavior.

Can change data (1)

19 of 19 have a description · 19 of 19 declare behavior hints · 0 of 16 with parameters document them all

Checks and signals

Each line is separate evidence, not a trust score.

  • Passed Endpoint answered the live check ·
  • Passed Official MCP Registry namespace is tied to openlegaldata.io ·
  • Passed Endpoint is on the registry namespace domain ·
  • Uptime 100% over 90 days
  • Availability 3 of 3 checks passed in 30 days

What you can do with it

  • Search German court decisions and laws
  • Read full texts of legal documents
  • Check citations and follow citation graphs
  • Connect AI assistants like Claude or ChatGPT to legal data

Source and maintenance

Vendor evidenceRegistry 0.16.5
Maintenance checked

Protocol and capabilities

Server
oldp 1.27.2
MCP protocol negotiated in check
2025-11-25
Tools
19 advertised
Resources
0 advertised
Resource templates
0 advertised
Prompts
0 advertised
Server-advertised capabilities
{
  "tools": {
    "listChanged": false
  },
  "prompts": {
    "listChanged": false
  },
  "resources": {
    "subscribe": false,
    "listChanged": false
  },
  "experimental": {}
}

Server-provided instructions

Untrusted server output shown for inspection. It is not Koskamo guidance and is excluded from knowledge search.

Open Legal Data Platform (OLDP) - German legal data including court decisions and legislation with cross-references. Start with get_platform_info to understand data coverage. Use search_cases for full-text search, filter_cases for structured queries. Use get_case / get_law_section to retrieve the complete text (plain text, not HTML). For long documents pass offset and/or length to read a snippet and continue with next_offset while has_more is true. Cross-reference tools (get_case_references, get_citing_cases, get_cases_for_law) let you navigate the citation graph between cases and laws. References are automatically extracted and may be incomplete - verify critical citations against the full text. Call whoami to see your rate-limit tier and remaining request budget. Signed-in users can report bugs, data issues or feature requests with submit_feedback (only with the user's consent).

Tools

19 advertised

get_server_instructions — Get server instructions
Advertised by the server during the last successful anonymous check.
Advertised read-only

Return MCP server instructions (if any). Always call first.

get_server_instructions input schema
{
  "type": "object",
  "title": "_get_server_instructionsArguments",
  "properties": {}
}
get_server_instructions annotations
{
  "title": "Get server instructions",
  "readOnlyHint": true,
  "openWorldHint": false,
  "idempotentHint": true,
  "destructiveHint": false
}
get_court — Get court details
Advertised by the server during the last successful anonymous check.
Advertised read-only

Get 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. "ag-charlottenburg"). code: Court ECLI code (e.g. "AGBECH" for the Amtsgericht Charlottenburg, "BGH").

get_court input schema
{
  "type": "object",
  "title": "get_courtArguments",
  "properties": {
    "code": {
      "type": "string",
      "title": "Code",
      "default": ""
    },
    "slug": {
      "type": "string",
      "title": "Slug",
      "default": ""
    },
    "court_id": {
      "type": "integer",
      "title": "Court Id",
      "default": 0
    }
  }
}
get_court annotations
{
  "title": "Get court details",
  "readOnlyHint": true,
  "openWorldHint": false,
  "idempotentHint": true,
  "destructiveHint": false
}
list_courts — List courts
Advertised by the server during the last successful anonymous check.
Advertised read-only

Browse 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", "VG", "OVG", "BVerwG", "ArbG", "LAG", "BAG"). state: Filter by state name or slug (e.g. "Berlin", "bayern"). jurisdiction: Filter by jurisdiction. Accepts the English shortcuts "ordinary", "administrative", "labor", "social", "fiscal", "constitutional" or the stored German values ("Arbeitsgerichtsbarkeit", …). The Bundespatentgericht (BPatG) belongs to ``ordinary``; there is no separate patent-jurisdiction category — filter on ``court_type="BPatG"`` if you specifically want patent cases. level_of_appeal: Filter by court level. Accepts the English shortcuts "local", "regional", "high", "federal" or the stored German values ("Amtsgericht", …). search: Search court names and aliases. limit: Maximum results to return (default 50, max 100). Values above 100 are clamped; the response then includes ``limit_clamped: true`` and the original ``requested_limit``.

list_courts input schema
{
  "type": "object",
  "title": "list_courtsArguments",
  "properties": {
    "limit": {
      "type": "integer",
      "title": "Limit",
      "default": 50
    },
    "state": {
      "type": "string",
      "title": "State",
      "default": ""
    },
    "search": {
      "type": "string",
      "title": "Search",
      "default": ""
    },
    "court_type": {
      "type": "string",
      "title": "Court Type",
      "default": ""
    },
    "jurisdiction": {
      "type": "string",
      "title": "Jurisdiction",
      "default": ""
    },
    "level_of_appeal": {
      "type": "string",
      "title": "Level Of Appeal",
      "default": ""
    }
  }
}
list_courts annotations
{
  "title": "List courts",
  "readOnlyHint": true,
  "openWorldHint": false,
  "idempotentHint": true,
  "destructiveHint": false
}
filter_cases — Filter court decisions
Advertised by the server during the last successful anonymous check.
Advertised read-only

Structured 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 ``has_more``. If an exact count takes too long, ``total`` is a lower bound and ``total_is_lower_bound`` is true. A filter combination too broad to answer in time (e.g. a rare ``decision_type`` without court or date filter) returns an ``error`` with a ``hint`` to narrow it. Args: court_id: Filter by court database ID. court_slug: Filter by court slug (e.g. "bgh"). date_after: Cases from this date onward (YYYY-MM-DD). date_before: Cases up to this date (YYYY-MM-DD). file_number: Exact file number (Aktenzeichen). ecli: Exact ECLI identifier. decision_type: Decision type (e.g. "Urteil", "Beschluss"). limit: Maximum results (default 20, max 50). Values above 50 are clamped; the response then includes ``limit_clamped: true`` and the original ``requested_limit``. offset: Skip first N results for pagination (default 0).

filter_cases input schema
{
  "type": "object",
  "title": "filter_casesArguments",
  "properties": {
    "ecli": {
      "type": "string",
      "title": "Ecli",
      "default": ""
    },
    "limit": {
      "type": "integer",
      "title": "Limit",
      "default": 20
    },
    "offset": {
      "type": "integer",
      "title": "Offset",
      "default": 0
    },
    "court_id": {
      "type": "integer",
      "title": "Court Id",
      "default": 0
    },
    "court_slug": {
      "type": "string",
      "title": "Court Slug",
      "default": ""
    },
    "date_after": {
      "type": "string",
      "title": "Date After",
      "default": ""
    },
    "date_before": {
      "type": "string",
      "title": "Date Before",
      "default": ""
    },
    "file_number": {
      "type": "string",
      "title": "File Number",
      "default": ""
    },
    "decision_type": {
      "type": "string",
      "title": "Decision Type",
      "default": ""
    }
  }
}
filter_cases annotations
{
  "title": "Filter court decisions",
  "readOnlyHint": true,
  "openWorldHint": false,
  "idempotentHint": true,
  "destructiveHint": false
}
get_case — Get court decision
Advertised by the server during the last successful anonymous check.
Advertised read-only

Retrieve 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 prefix). To read a long decision piece by piece, request a snippet with ``offset`` and/or ``length``; both count characters of that plain text. In snippet mode ``content`` is omitted and a ``snippet`` object is returned: ``text``, ``offset``, ``length``, ``total_length``, ``has_more`` and ``next_offset``. Pass ``next_offset`` as ``offset`` to continue reading until ``has_more`` is false. Args: case_id: Case database ID. slug: Case URL slug. offset: Start position in plain-text characters (default 0). length: Number of plain-text characters to return. 0 (default) means "until the end". Leave both at 0 for the full content. full_text: Deprecated and ignored (content is never truncated). Passing it adds a ``deprecation_warnings`` entry to the response.

get_case input schema
{
  "type": "object",
  "title": "get_caseArguments",
  "properties": {
    "slug": {
      "type": "string",
      "title": "Slug",
      "default": ""
    },
    "length": {
      "type": "integer",
      "title": "Length",
      "default": 0
    },
    "offset": {
      "type": "integer",
      "title": "Offset",
      "default": 0
    },
    "case_id": {
      "type": "integer",
      "title": "Case Id",
      "default": 0
    },
    "full_text": {
      "anyOf": [
        {
          "type": "boolean"
        },
        {
          "type": "null"
        }
      ],
      "title": "Full Text",
      "default": null
    }
  }
}
get_case annotations
{
  "title": "Get court decision",
  "readOnlyHint": true,
  "openWorldHint": false,
  "idempotentHint": true,
  "destructiveHint": false
}
get_case_statistics — Get court decision statistics
Advertised by the server during the last successful anonymous check.
Advertised read-only

Get 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 since 2018"), pass ``date_after`` (e.g. "2018-01-01") together with ``group_by="year"``. The response's ``date_range`` shows the period that was counted. Args: court_id: Filter by court ID. state: Filter by state name or slug. jurisdiction: Filter by jurisdiction. Accepts the English shortcuts ("ordinary", "labor", …) or the stored German values ("Ordentliche Gerichtsbarkeit", …). date_after: Count cases from this date (YYYY-MM-DD, default: 365 days ago). date_before: Count cases up to this date (YYYY-MM-DD, default: today). group_by: Time grouping: "month" (default) or "year". Returns an ``{"error": ...}`` payload (instead of silently zero results) when an unknown court_id, state, jurisdiction, group_by, or malformed date is supplied — the previous behavior swallowed bad inputs as ``total: 0`` and was the dangerous failure mode called out in the MCP audit.

get_case_statistics input schema
{
  "type": "object",
  "title": "get_case_statisticsArguments",
  "properties": {
    "state": {
      "type": "string",
      "title": "State",
      "default": ""
    },
    "court_id": {
      "type": "integer",
      "title": "Court Id",
      "default": 0
    },
    "group_by": {
      "type": "string",
      "title": "Group By",
      "default": "month"
    },
    "date_after": {
      "type": "string",
      "title": "Date After",
      "default": ""
    },
    "date_before": {
      "type": "string",
      "title": "Date Before",
      "default": ""
    },
    "jurisdiction": {
      "type": "string",
      "title": "Jurisdiction",
      "default": ""
    }
  }
}
get_case_statistics annotations
{
  "title": "Get court decision statistics",
  "readOnlyHint": true,
  "openWorldHint": false,
  "idempotentHint": true,
  "destructiveHint": false
}
get_similar_cases — Find similar court decisions
Advertised by the server during the last successful anonymous check.
Advertised read-only

Find 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 you have one on-point decision, surface neighbouring case law without crafting a keyword query. For keyword- or citation-scoped neighbours instead, use search_cases. Args: case_id: The database ID of the seed case. limit: Maximum results (default 10, max 50). Values above 50 are clamped; the response then includes ``limit_clamped: true`` and the original ``requested_limit``.

get_similar_cases input schema
{
  "type": "object",
  "title": "get_similar_casesArguments",
  "required": [
    "case_id"
  ],
  "properties": {
    "limit": {
      "type": "integer",
      "title": "Limit",
      "default": 10
    },
    "case_id": {
      "type": "integer",
      "title": "Case Id"
    }
  }
}
get_similar_cases annotations
{
  "title": "Find similar court decisions",
  "readOnlyHint": true,
  "openWorldHint": false,
  "idempotentHint": true,
  "destructiveHint": false
}
search_cases — Search court decisions
Advertised by the server during the last successful anonymous check.
Advertised read-only

Full-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 with ``query`` so you can answer "cases citing § 823 BGB that mention 'Mietrecht'" in one call — pass ``query="Mietrecht"`` together with ``cited_law_book="bgb"`` and ``cited_law_section="823"``. For "give me ALL citing cases" without keyword refinement, prefer the dedicated ``get_cases_for_law`` / ``get_citing_cases`` tools. ``cited_case_id`` is mutually exclusive with the law citation filter — if both are supplied, the law filter wins. Args: query: Search query text (supports Lucene syntax). court_code: Filter by court code (e.g. "BGH", "BVerfG"). start_date: Filter cases from this date (YYYY-MM-DD). end_date: Filter cases up to this date (YYYY-MM-DD). decision_type: Filter by decision type (e.g. "Urteil", "Beschluss"). cited_law_book: Restrict to cases citing a law from this book slug (e.g. "bgb"). Requires ``cited_law_section``. cited_law_section: Restrict to cases citing this law section slug, as in the ``slug`` of get_law_section (e.g. "823" for § 823 BGB, "art-14" for Art. 14 GG). Requires ``cited_law_book``. cited_case_id: Restrict to cases citing the case with this id. sort: Result order — "relevance" (default), "date" (newest first), or "most_cited" (most-cited first, for finding landmark precedent). The response echoes the applied ``sort``; any other value returns an error. Each result carries ``citing_cases_count`` so you can see how often it is cited. With relevance sort each result also carries ``match_quality`` ("high"/"medium"/"low" relative to the top hit) so you can tell where relevance drops off; it is left out for "date" and "most_cited", where the score is not the ranking signal. limit: Maximum results (default 10, max 50). Values above 50 are clamped; the response then includes ``limit_clamped: true`` and the original ``requested_limit``.

search_cases input schema
{
  "type": "object",
  "title": "search_casesArguments",
  "required": [
    "query"
  ],
  "properties": {
    "sort": {
      "type": "string",
      "title": "Sort",
      "default": "relevance"
    },
    "limit": {
      "type": "integer",
      "title": "Limit",
      "default": 10
    },
    "query": {
      "type": "string",
      "title": "Query"
    },
    "end_date": {
      "type": "string",
      "title": "End Date",
      "default": ""
    },
    "court_code": {
      "type": "string",
      "title": "Court Code",
      "default": ""
    },
    "start_date": {
      "type": "string",
      "title": "Start Date",
      "default": ""
    },
    "cited_case_id": {
      "type": "integer",
      "title": "Cited Case Id",
      "default": 0
    },
    "decision_type": {
      "type": "string",
      "title": "Decision Type",
      "default": ""
    },
    "cited_law_book": {
      "type": "string",
      "title": "Cited Law Book",
      "default": ""
    },
    "cited_law_section": {
      "type": "string",
      "title": "Cited Law Section",
      "default": ""
    }
  }
}
search_cases annotations
{
  "title": "Search court decisions",
  "readOnlyHint": true,
  "openWorldHint": false,
  "idempotentHint": true,
  "destructiveHint": false
}
get_law_section — Get law section
Advertised by the server during the last successful anonymous check.
Advertised read-only

Get 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 default the complete, untruncated ``content`` is returned as plain text (HTML tags removed, entities decoded, whitespace normalized; one line per paragraph or list item). Set ``offset`` and/or ``length`` to get a ``snippet`` of that plain text instead (see get_case for the snippet fields and pagination via ``next_offset``). Args: book_code: Law book code (e.g. "BGB", "StGB", "GG"). section: Section identifier. Accepts bare numbers ("823", "20", "16a") or prefixed forms ("§ 823", "§823", "Art. 14", "Art 14", "Artikel 1"). The prefix spelling does not have to match the book: "Art. 20", "Artikel 20" and "20" all find Art 20 GG. Only exact sections match, never a longer number that contains the input. The ``section`` field on the response is whatever the DB stores, which differs by book convention: BGB / StGB / ZPO etc. store ``§ N`` (e.g. ``"§ 823"``), article-based books store e.g. ``"Art 1"`` (GG) or ``"Art. 6"`` (DSGVO). law_id: Direct law database ID (alternative to book_code+section). offset: Start position in plain-text characters (default 0). length: Number of plain-text characters to return. 0 (default) means "until the end". Leave both at 0 for the full content.

get_law_section input schema
{
  "type": "object",
  "title": "get_law_sectionArguments",
  "properties": {
    "law_id": {
      "type": "integer",
      "title": "Law Id",
      "default": 0
    },
    "length": {
      "type": "integer",
      "title": "Length",
      "default": 0
    },
    "offset": {
      "type": "integer",
      "title": "Offset",
      "default": 0
    },
    "section": {
      "type": "string",
      "title": "Section",
      "default": ""
    },
    "book_code": {
      "type": "string",
      "title": "Book Code",
      "default": ""
    }
  }
}
get_law_section annotations
{
  "title": "Get law section",
  "readOnlyHint": true,
  "openWorldHint": false,
  "idempotentHint": true,
  "destructiveHint": false
}
list_law_books — List law books
Advertised by the server during the last successful anonymous check.
Advertised read-only

List 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 show latest revisions (default True). search: Search book codes and titles. Best matches come first (exact code, code prefix, code part, whole word in the title, part of a title word); ``match`` on each result says which. If ``search`` is exactly a book code, titles that only contain it inside a longer word (e.g. "BGBl." for "BGB") are left out. limit: Maximum results (default 50, max 200). Values above 200 are clamped; the response then includes ``limit_clamped: true`` and the original ``requested_limit``.

list_law_books input schema
{
  "type": "object",
  "title": "list_law_booksArguments",
  "properties": {
    "limit": {
      "type": "integer",
      "title": "Limit",
      "default": 50
    },
    "search": {
      "type": "string",
      "title": "Search",
      "default": ""
    },
    "latest_only": {
      "type": "boolean",
      "title": "Latest Only",
      "default": true
    }
  }
}
list_law_books annotations
{
  "title": "List law books",
  "readOnlyHint": true,
  "openWorldHint": false,
  "idempotentHint": true,
  "destructiveHint": false
}
search_laws — Search laws
Advertised by the server during the last successful anonymous check.
Advertised read-only

Full-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 query text (supports Lucene syntax). book_code: Optional filter by law book code, any case (e.g. "BGB", "BranntwMonG"). An unknown code returns an error with ``suggestions`` instead of an empty result. limit: Maximum results (default 10, max 50). Values above 50 are clamped; the response then includes ``limit_clamped: true`` and the original ``requested_limit``.

search_laws input schema
{
  "type": "object",
  "title": "search_lawsArguments",
  "required": [
    "query"
  ],
  "properties": {
    "limit": {
      "type": "integer",
      "title": "Limit",
      "default": 10
    },
    "query": {
      "type": "string",
      "title": "Query"
    },
    "book_code": {
      "type": "string",
      "title": "Book Code",
      "default": ""
    }
  }
}
search_laws annotations
{
  "title": "Search laws",
  "readOnlyHint": true,
  "openWorldHint": false,
  "idempotentHint": true,
  "destructiveHint": false
}
get_case_references — Get references in a decision
Advertised by the server during the last successful anonymous check.
Advertised read-only

Get 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_case_references input schema
{
  "type": "object",
  "title": "get_case_referencesArguments",
  "required": [
    "case_id"
  ],
  "properties": {
    "case_id": {
      "type": "integer",
      "title": "Case Id"
    }
  }
}
get_case_references annotations
{
  "title": "Get references in a decision",
  "readOnlyHint": true,
  "openWorldHint": false,
  "idempotentHint": true,
  "destructiveHint": false
}
get_cases_for_law — Find decisions citing a law
Advertised by the server during the last successful anonymous check.
Advertised read-only

Find 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 date, use ``search_cases(query=..., cited_law_book=..., cited_law_section=...)`` instead. Args: book_code: Law book code (e.g. "BGB", "StGB"). section: Section identifier (e.g. "823"). law_id: Direct law database ID (alternative to book_code+section). sort: "date" (default, newest first) or "most_cited" — the latter surfaces the landmark decisions interpreting this provision (most-cited first). limit: Maximum results (default 20, max 50). Values above 50 are clamped; the response then includes ``limit_clamped: true`` and the original ``requested_limit``.

get_cases_for_law input schema
{
  "type": "object",
  "title": "get_cases_for_lawArguments",
  "properties": {
    "sort": {
      "type": "string",
      "title": "Sort",
      "default": "date"
    },
    "limit": {
      "type": "integer",
      "title": "Limit",
      "default": 20
    },
    "law_id": {
      "type": "integer",
      "title": "Law Id",
      "default": 0
    },
    "section": {
      "type": "string",
      "title": "Section",
      "default": ""
    },
    "book_code": {
      "type": "string",
      "title": "Book Code",
      "default": ""
    }
  }
}
get_cases_for_law annotations
{
  "title": "Find decisions citing a law",
  "readOnlyHint": true,
  "openWorldHint": false,
  "idempotentHint": true,
  "destructiveHint": false
}
get_citing_cases — Find decisions citing a decision
Advertised by the server during the last successful anonymous check.
Advertised read-only

Get 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, or date, use ``search_cases(query=..., cited_case_id=case_id)`` instead. Args: case_id: The database ID of the cited case. sort: "date" (default, newest first) or "most_cited" (the most influential citing cases first). limit: Maximum results (default 20, max 50). Values above 50 are clamped; the response then includes ``limit_clamped: true`` and the original ``requested_limit``.

get_citing_cases input schema
{
  "type": "object",
  "title": "get_citing_casesArguments",
  "required": [
    "case_id"
  ],
  "properties": {
    "sort": {
      "type": "string",
      "title": "Sort",
      "default": "date"
    },
    "limit": {
      "type": "integer",
      "title": "Limit",
      "default": 20
    },
    "case_id": {
      "type": "integer",
      "title": "Case Id"
    }
  }
}
get_citing_cases annotations
{
  "title": "Find decisions citing a decision",
  "readOnlyHint": true,
  "openWorldHint": false,
  "idempotentHint": true,
  "destructiveHint": false
}
validate_citation — Validate legal citation
Advertised by the server during the last successful anonymous check.
Advertised read-only

Check 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 citation to validate (e.g. "VI ZR 123/22", "ECLI:DE:BGH:2023:...", "§ 823 BGB"). citation_type: Type hint: "auto" (default), "file_number", "ecli", or "law_reference".

validate_citation input schema
{
  "type": "object",
  "title": "validate_citationArguments",
  "required": [
    "citation"
  ],
  "properties": {
    "citation": {
      "type": "string",
      "title": "Citation"
    },
    "citation_type": {
      "type": "string",
      "title": "Citation Type",
      "default": "auto"
    }
  }
}
validate_citation annotations
{
  "title": "Validate legal citation",
  "readOnlyHint": true,
  "openWorldHint": false,
  "idempotentHint": true,
  "destructiveHint": false
}
submit_feedback — Send feedback to OLDP
Advertised by the server during the last successful anonymous check.

Send 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 submit feedback the user wants to send or has agreed to; do not include personal data or confidential case details. Requires a signed-in connection (OAuth or API token); anonymous calls are answered with HTTP 401 and an OAuth challenge, so the client can offer the user to sign in. Args: category: One of ``feature_request``, ``bug_report``, ``data_issue`` or ``other``. message: The feedback itself, in English or German (20-5000 characters). For bugs, describe what you did, what you expected and what happened instead. subject: Optional one-line summary (max 200 characters). context: Optional technical context (max 2000 characters), e.g. the tool name and arguments involved, case IDs, ECLI or law references. Returns: ``{"submitted": true, ...}`` on success, otherwise ``{"error": ...}``.

submit_feedback input schema
{
  "type": "object",
  "title": "submit_feedbackArguments",
  "required": [
    "category",
    "message"
  ],
  "properties": {
    "context": {
      "type": "string",
      "title": "Context",
      "default": ""
    },
    "message": {
      "type": "string",
      "title": "Message"
    },
    "subject": {
      "type": "string",
      "title": "Subject",
      "default": ""
    },
    "category": {
      "type": "string",
      "title": "Category"
    }
  }
}
submit_feedback annotations
{
  "title": "Send feedback to OLDP",
  "readOnlyHint": false,
  "openWorldHint": false,
  "idempotentHint": false,
  "destructiveHint": false
}
get_platform_info — Get platform coverage
Advertised by the server during the last successful anonymous check.
Advertised read-only

Get 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.

get_platform_info input schema
{
  "type": "object",
  "title": "get_platform_infoArguments",
  "properties": {}
}
get_platform_info annotations
{
  "title": "Get platform coverage",
  "readOnlyHint": true,
  "openWorldHint": false,
  "idempotentHint": true,
  "destructiveHint": false
}
search_legal — Search laws and court decisions
Advertised by the server during the last successful anonymous check.
Advertised read-only

Search 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 know which — e.g. "ortsübliche Vergleichsmiete" surfaces § 558 BGB *and* BGH decisions together. For type-specific control (citation filters, court/date filters), use ``search_cases`` / ``search_laws``. Matching is on the words of the text: a law section is found only if it contains the query terms. Colloquial terms that the statute doesn't use (e.g. "Eigenbedarf"; § 573 BGB says "die Räume als Wohnung für sich ... benötigt") find case law but not that section. Then search with the statute's wording, or read the cases' cited sections via ``get_case_references``. Results are grouped rather than merged into one ranked list on purpose: court decisions are long and out-score short statute texts on relevance, so a naive merged ranking returns only cases and buries the on-point law. Args: query: Search query text (supports Lucene syntax and "phrases"). limit: Max results per type (default 5, max 25). Values above 25 are clamped; the response then includes ``limit_clamped: true`` and the original ``requested_limit``.

search_legal input schema
{
  "type": "object",
  "title": "search_legalArguments",
  "required": [
    "query"
  ],
  "properties": {
    "limit": {
      "type": "integer",
      "title": "Limit",
      "default": 5
    },
    "query": {
      "type": "string",
      "title": "Query"
    }
  }
}
search_legal annotations
{
  "title": "Search laws and court decisions",
  "readOnlyHint": true,
  "openWorldHint": false,
  "idempotentHint": true,
  "destructiveHint": false
}
whoami — Show connection and rate limit
Advertised by the server during the last successful anonymous check.
Advertised read-only

Show 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, including this call; once nothing is left, requests (this one too) are rejected with HTTP 429 until the window frees up. Returns: - ``authenticated``: whether the connection is signed in. - ``user``: ``username`` and ``profile_complete``, or null. - ``auth_method``: ``oauth``, ``api_token``, ``legacy_token`` or ``session``; null when anonymous. - ``rate_limit``: ``tier`` (``anonymous``, ``registered``, ``enriched`` or ``custom``), ``bucket`` (``shared`` when all anonymous users of this connector share one budget, ``ip`` or ``user``), ``limit`` per ``window_seconds``, ``used``, ``remaining``, and ``retry_after_seconds`` once nothing is left. Signed-in users share one budget between MCP and the REST API. - ``upgrade``: how to get a larger budget (``action``, ``url``, ``limit``, ``message``), or null. Pass the ``message`` and ``url`` on to the user when the budget is too small for the task.

whoami input schema
{
  "type": "object",
  "title": "whoamiArguments",
  "properties": {}
}
whoami annotations
{
  "title": "Show connection and rate limit",
  "readOnlyHint": true,
  "openWorldHint": false,
  "idempotentHint": true,
  "destructiveHint": false
}

Prompts

0 advertised

No prompt definitions available.

Resources

0 advertised

No resource definitions available.

90-day uptime

A lightweight connection check about every six hours, sampled on hosts with many listings. It shows the server answered, not that its tools work.

100% (52 of 52 checks answered)

  1. 2026-11-14: 1 of 1 checks answered
  2. 2026-11-15: 2 of 2 checks answered
  3. 2026-11-16: 4 of 4 checks answered
  4. 2026-11-17: 5 of 5 checks answered
  5. 2026-11-18: 5 of 5 checks answered
  6. 2026-11-19: 4 of 4 checks answered
  7. 2026-11-20: 3 of 3 checks answered
  8. 2026-11-21: 4 of 4 checks answered
  9. 2026-11-22: 4 of 4 checks answered
  10. 2026-11-23: 3 of 3 checks answered
  11. 2026-11-24: 4 of 4 checks answered
  12. 2026-11-25: 4 of 4 checks answered
  13. 2026-11-26: 4 of 4 checks answered
  14. 2026-11-27: 4 of 4 checks answered
  15. 2026-11-28: 1 of 1 checks answered

30-day availability

Aggregated from read-only remote checks; this is not a tool-execution or security guarantee.

Successful checks
3 of 3 (100%)
Average latency
1610 ms
95th percentile latency
1935 ms

Maintenance history

Public check and source-refresh events. Editorial and ownership records remain private.

  • · probe · passed · 1531 ms · 19 tool(s), 0 resource(s), 0 resource template(s), 0 prompt(s)
  • · probe · passed · 1980 ms · 19 tool(s), 0 resource(s), 0 resource template(s), 0 prompt(s)
  • · probe · passed · 1318 ms · metadata changed · 19 tool(s), 0 resource(s), 0 resource template(s), 0 prompt(s)

Connect from your client

Each snippet registers the same endpoint; pick the client you use.

This server is operated by the named third party. Listing and endpoint checks are not an endorsement or a security audit. Review the operator's permissions, terms, and data handling before connecting. How listings are checked and corrected.

Claude Code

Run this once in a terminal. It registers the remote server. Use --scope project to write .mcp.json for the repo.
Claude Code configuration
claude mcp add --transport http open-legal-data-mcp https://de.openlegaldata.io/mcp

Codex

Run this once. Codex stores MCP servers in ~/.codex/config.toml (or .codex/config.toml in a trusted project).
Codex configuration
codex mcp add open-legal-data-mcp --url https://de.openlegaldata.io/mcp

Cursor

Merge this server into .cursor/mcp.json in your project, then enable open-legal-data-mcp in your MCP settings.
Cursor configuration
{
  "mcpServers": {
    "open-legal-data-mcp": {
      "url": "https://de.openlegaldata.io/mcp"
    }
  }
}

Cline

Merge this into cline_mcp_settings.json (Cline → MCP Servers → Configure).
Cline configuration
{
  "mcpServers": {
    "open-legal-data-mcp": {
      "type": "streamableHttp",
      "url": "https://de.openlegaldata.io/mcp",
      "disabled": false
    }
  }
}

VS Code

Merge this server into .vscode/mcp.json. Use MCP: List Servers to start open-legal-data-mcp and inspect its tools.
VS Code configuration
{
  "servers": {
    "open-legal-data-mcp": {
      "type": "http",
      "url": "https://de.openlegaldata.io/mcp"
    }
  }
}

Gemini CLI

Run this once. It writes .gemini/settings.json in the current project; pass --scope user for ~/.gemini/settings.json.
Gemini CLI configuration
gemini mcp add --transport http open-legal-data-mcp https://de.openlegaldata.io/mcp

Claude Desktop

Open Claude Settings > Connectors > Add custom connector, enter this server URL and enable it for the conversation. This is a manual remote-connector handoff, not a desktop JSON configuration.
Claude Desktop configuration
https://de.openlegaldata.io/mcp

Windsurf

Merge this into ~/.codeium/windsurf/mcp_config.json, then refresh MCP in Cascade. Windsurf remote servers use serverUrl, not url.
Windsurf configuration
{
  "mcpServers": {
    "open-legal-data-mcp": {
      "serverUrl": "https://de.openlegaldata.io/mcp"
    }
  }
}

Let your agent find its tools

Find servers like Open Legal Data MCP from your agent. Add Koskamo once to search the index for endpoints, access requirements, and client setup. Public discovery needs no key.

Do you run Open Legal Data MCP?

Prove ownership with a DNS record, a well-known file, or your Official MCP Registry entry, and your edits publish immediately. Proofs are re-checked weekly; admins can still hide or remove a listing.

Claim this listing