Koskamo

Entscheidsuche MCP

Ein MCP-Server, der Agenten ermöglicht, in der Schweizer Rechtsprechung aller Instanzen (Bund, Kantone) zu suchen. Er bietet Tools für Volltextsuche, Suche nach Geschäftsnummern, Abruf von Dokumenten mit Volltext sowie das Abrufen von Hierarchie- und Facetteninformationen.

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.

Entscheidsuche MCP logo, by EntscheidsucheVendor evidenceStreamable HTTPNo sign-inEndpoint checked 2026-11-23Operated by Entscheidsuche
MCP endpoint (Streamable HTTP)
https://mcp.entscheidsuche.ch/mcp
Vendor documentation

What its tools do

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

9 of 9 have a description · 9 of 9 declare behavior hints · 7 of 7 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 entscheidsuche.ch ·
  • Passed Endpoint is on the registry namespace domain ·
  • Uptime 100% over 90 days
  • Availability 2 of 2 checks passed in 30 days
  • Popularity 4 GitHub stars

What you can do with it

  • Volltextsuche in Schweizer Gerichtsentscheiden
  • Exakte Suche nach Geschäftsnummern oder Aktenzeichen
  • Abruf des vollständigen Textes eines einzelnen Entscheids
  • Abrufen von Hierarchie-IDs und Facetten für Filter

Source and maintenance

Vendor evidenceRegistry 1.0.0
Last repository push
Maintenance checked

Protocol and capabilities

Server
entscheidsuche 0.2.0
MCP protocol negotiated in check
2025-11-25
Tools
9 advertised
Resources
1 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.

MCP server for entscheidsuche.ch — the open search engine for Swiss court decisions and case law (Schweizer Gerichtsentscheide, Rechtsprechung, jurisprudence suisse): Federal Supreme Court (BGer, BGE) and cantonal courts, in German, French and Italian. Tools: `search` is the default — describe the legal question in natural language (AI search by meaning). `semantic_search` is the same AI search without automatic switching. `keyword_search` finds exact words, phrases and Boolean expressions and supports sorting and pagination. `search_by_case_number` looks up case numbers and BGE citations. `fetch` / `fetch_document` return the full text of a decision. `list_hierarchy` and `list_facets` list cantons, courts and chambers for the `hierarchy` filter.

Tools

9 advertised

search — Search Swiss case law (default)
Advertised by the server during the last successful anonymous check.
Advertised read-onlyOpen-world

Default search for Swiss court decisions and case law on entscheidsuche.ch (Federal Supreme Court BGer/BGE and cantonal courts; German, French, Italian). Use this tool unless you need something specific. Describe the legal question or the facts in natural language, in any language — the search works by meaning (AI embedding search, same as `semantic_search`) and also finds decisions that use different words or are written in another language. Each hit comes with the passage of the decision that best matches the query. The tool switches to exact keyword search (same as `keyword_search`) automatically when the query is a case number or citation (e.g. '5A_396/2015', 'BGE 142 III 1'), contains a quoted phrase, Boolean operators or wildcards, is empty or '*', or when `sort`, `search_after` or `include_aggregations` is used. The response field `search_mode` says which search ran. Read the full text of a hit with `fetch` (or `fetch_document`), passing the hit's `id`. Filters are combined with AND. Hierarchy IDs (canton / court / chamber, e.g. 'CH_BGer', 'ZH_OG') are case-sensitive; take them from `list_hierarchy` or `list_facets`.

search input schema
{
  "type": "object",
  "$defs": {
    "Language": {
      "enum": [
        "de",
        "fr",
        "it"
      ],
      "type": "string",
      "title": "Language",
      "description": "Verfügbare Sprachen der Entscheide."
    }
  },
  "title": "searchArguments",
  "properties": {
    "size": {
      "type": "integer",
      "title": "Size",
      "default": 10,
      "maximum": 100,
      "minimum": 1,
      "description": "Number of decisions to return (AI search: at most 50)."
    },
    "sort": {
      "enum": [
        "relevance",
        "date",
        "scrapedate"
      ],
      "type": "string",
      "title": "Sort",
      "default": "relevance",
      "description": "Keyword search only: 'relevance' | 'date' (decision date) | 'scrapedate'. Any value other than 'relevance' switches to keyword search."
    },
    "query": {
      "type": "string",
      "title": "Query",
      "default": "*",
      "description": "The legal question or facts in natural language (any language), or a case number / citation."
    },
    "language": {
      "anyOf": [
        {
          "$ref": "#/$defs/Language"
        },
        {
          "type": "null"
        }
      ],
      "default": null,
      "description": "Preferred language (de, fr, it) for the displayed title and abstract. Does NOT filter — use `language_filter` for that."
    },
    "hierarchy": {
      "anyOf": [
        {
          "type": "array",
          "items": {
            "type": "string"
          }
        },
        {
          "type": "null"
        }
      ],
      "title": "Hierarchy",
      "default": null,
      "description": "Restrict to cantons, courts or chambers by hierarchy ID, e.g. ['CH_BGer'] or ['ZH_OG', 'BE']. Several IDs are combined with OR."
    },
    "search_after": {
      "anyOf": [
        {
          "type": "array",
          "items": {}
        },
        {
          "type": "null"
        }
      ],
      "title": "Search After",
      "default": null,
      "description": "Keyword search only: cursor from `next_cursor` of the previous response."
    },
    "scrape_date_to": {
      "anyOf": [
        {
          "type": "string",
          "format": "date"
        },
        {
          "type": "null"
        }
      ],
      "title": "Scrape Date To",
      "default": null,
      "description": "Latest date the decision was added to the index (YYYY-MM-DD)."
    },
    "include_context": {
      "type": "boolean",
      "title": "Include Context",
      "default": false,
      "description": "AI search only: also return, per hit, the larger section of the decision around the matching passage (up to about 6,000 characters each, field `context`)."
    },
    "language_filter": {
      "anyOf": [
        {
          "type": "array",
          "items": {
            "$ref": "#/$defs/Language"
          }
        },
        {
          "type": "null"
        }
      ],
      "title": "Language Filter",
      "default": null,
      "description": "Only decisions written in these languages, e.g. ['fr']."
    },
    "decision_date_to": {
      "anyOf": [
        {
          "type": "string",
          "format": "date"
        },
        {
          "type": "null"
        }
      ],
      "title": "Decision Date To",
      "default": null,
      "description": "Latest decision date (YYYY-MM-DD, inclusive)."
    },
    "scrape_date_from": {
      "anyOf": [
        {
          "type": "string",
          "format": "date"
        },
        {
          "type": "null"
        }
      ],
      "title": "Scrape Date From",
      "default": null,
      "description": "Earliest date the decision was added to the index (YYYY-MM-DD)."
    },
    "decision_date_from": {
      "anyOf": [
        {
          "type": "string",
          "format": "date"
        },
        {
          "type": "null"
        }
      ],
      "title": "Decision Date From",
      "default": null,
      "description": "Earliest decision date (YYYY-MM-DD, inclusive)."
    },
    "include_aggregations": {
      "type": "boolean",
      "title": "Include Aggregations",
      "default": false,
      "description": "Keyword search only: include distributions over the results."
    }
  }
}
search output schema
{
  "type": "object",
  "$defs": {
    "ResultRef": {
      "type": "object",
      "title": "ResultRef",
      "required": [
        "id"
      ],
      "properties": {
        "id": {
          "type": "string",
          "title": "Id"
        },
        "url": {
          "anyOf": [
            {
              "type": "string"
            },
            {
              "type": "null"
            }
          ],
          "title": "Url",
          "default": null
        },
        "title": {
          "type": "string",
          "title": "Title",
          "default": ""
        }
      },
      "description": "Kompakter Treffer-Verweis (id, title, url) für Clients, die genau dieses Format erwarten."
    },
    "SearchHit": {
      "type": "object",
      "title": "SearchHit",
      "required": [
        "id"
      ],
      "properties": {
        "id": {
          "type": "string",
          "title": "Id"
        },
        "url": {
          "anyOf": [
            {
              "type": "string"
            },
            {
              "type": "null"
            }
          ],
          "title": "Url",
          "default": null,
          "description": "Web page of the decision on entscheidsuche.ch (use this link for citations)."
        },
        "meta": {
          "type": "string",
          "title": "Meta",
          "default": ""
        },
        "sort": {
          "anyOf": [
            {
              "type": "array",
              "items": {}
            },
            {
              "type": "null"
            }
          ],
          "title": "Sort",
          "default": null,
          "description": "Sort values of the hit (for search_after)."
        },
        "text": {
          "type": "string",
          "title": "Text",
          "default": "",
          "description": "Excerpt from the decision. Keyword search: highlight snippet with the matched terms wrapped in <em>…</em>. Semantic search: the passage of the decision that best matches the query. `fetch_document`: the full text."
        },
        "court": {
          "type": "string",
          "title": "Court",
          "default": "",
          "description": "Court (derived from the ID)."
        },
        "score": {
          "anyOf": [
            {
              "type": "number"
            },
            {
              "type": "null"
            }
          ],
          "title": "Score",
          "default": null,
          "description": "Semantic search only: similarity between the query and the best matching passage of this decision (higher is better)."
        },
        "title": {
          "type": "string",
          "title": "Title",
          "default": ""
        },
        "canton": {
          "type": "string",
          "title": "Canton",
          "default": ""
        },
        "is_pdf": {
          "type": "boolean",
          "title": "Is Pdf",
          "default": false
        },
        "context": {
          "anyOf": [
            {
              "type": "string"
            },
            {
              "type": "null"
            }
          ],
          "title": "Context",
          "default": null,
          "description": "Semantic search with `include_context=true` only: the larger section of the decision (up to about 6,000 characters) that contains the passage in `text`."
        },
        "abstract": {
          "type": "string",
          "title": "Abstract",
          "default": ""
        },
        "scrape_date": {
          "anyOf": [
            {
              "type": "string"
            },
            {
              "type": "null"
            }
          ],
          "title": "Scrape Date",
          "default": null,
          "description": "ISO date YYYY-MM-DD."
        },
        "document_url": {
          "anyOf": [
            {
              "type": "string"
            },
            {
              "type": "null"
            }
          ],
          "title": "Document Url",
          "default": null,
          "description": "Direct download link to the original document."
        },
        "original_url": {
          "anyOf": [
            {
              "type": "string"
            },
            {
              "type": "null"
            }
          ],
          "title": "Original Url",
          "default": null,
          "description": "URL of the original source web page."
        },
        "decision_date": {
          "anyOf": [
            {
              "type": "string"
            },
            {
              "type": "null"
            }
          ],
          "title": "Decision Date",
          "default": null,
          "description": "ISO date YYYY-MM-DD."
        },
        "content_length": {
          "anyOf": [
            {
              "type": "integer"
            },
            {
              "type": "null"
            }
          ],
          "title": "Content Length",
          "default": null,
          "description": "Length of the indexed full text in characters. Only set by `fetch_document`."
        },
        "text_truncated": {
          "type": "boolean",
          "title": "Text Truncated",
          "default": false,
          "description": "True if the indexed full text was truncated by Elasticsearch at 100,000 characters. In that case `text` contains only the beginning of the decision; the complete document is available at `document_url`."
        }
      },
      "description": "Ein einzelner Such-Treffer."
    },
    "AggregationBucket": {
      "type": "object",
      "title": "AggregationBucket",
      "required": [
        "key",
        "count"
      ],
      "properties": {
        "key": {
          "title": "Key"
        },
        "count": {
          "type": "integer",
          "title": "Count"
        }
      }
    }
  },
  "title": "SearchResponse",
  "required": [
    "total",
    "hits"
  ],
  "properties": {
    "hits": {
      "type": "array",
      "items": {
        "$ref": "#/$defs/SearchHit"
      },
      "title": "Hits"
    },
    "note": {
      "anyOf": [
        {
          "type": "string"
        },
        {
          "type": "null"
        }
      ],
      "title": "Note",
      "default": null,
      "description": "Remarks on how the query was executed, e.g. that it was not valid search syntax and was searched as plain terms."
    },
    "total": {
      "type": "integer",
      "title": "Total",
      "description": "Keyword search: number of all matching decisions. Semantic search: number of decisions among the best-matching passages."
    },
    "results": {
      "anyOf": [
        {
          "type": "array",
          "items": {
            "$ref": "#/$defs/ResultRef"
          }
        },
        {
          "type": "null"
        }
      ],
      "title": "Results",
      "default": null,
      "description": "Only set by the `search` tool: compact list (id, title, url) of the same decisions as in `hits`, in the same order."
    },
    "next_cursor": {
      "anyOf": [
        {
          "type": "array",
          "items": {}
        },
        {
          "type": "null"
        }
      ],
      "title": "Next Cursor",
      "default": null,
      "description": "Cursor for the next page. Pass it again as `search_after` in the next request. None if there are no further results."
    },
    "search_mode": {
      "type": "string",
      "title": "Search Mode",
      "default": "keyword",
      "description": "Which search was executed: 'keyword' or 'semantic'."
    },
    "aggregations": {
      "anyOf": [
        {
          "type": "object",
          "additionalProperties": {
            "type": "array",
            "items": {
              "$ref": "#/$defs/AggregationBucket"
            }
          }
        },
        {
          "type": "null"
        }
      ],
      "title": "Aggregations",
      "default": null
    }
  },
  "description": "Antwort der Such-Tools."
}
search annotations
{
  "readOnlyHint": true,
  "openWorldHint": true,
  "idempotentHint": true,
  "destructiveHint": false
}
semantic_search — AI search by meaning (semantic search)
Advertised by the server during the last successful anonymous check.
Advertised read-onlyOpen-world

AI search by meaning (semantic / embedding search) across Swiss court decisions on entscheidsuche.ch. Best for legal questions, descriptions of facts and concepts: write one or more full sentences instead of keywords, e.g. 'Can a landlord terminate the lease because his daughter wants to move in?'. Works across languages: a German query also finds French and Italian decisions. How it works: the query is compared with the passages of all decisions; the 100 best-matching passages are determined and grouped by decision. Results are ranked by similarity (`score`); `text` contains the best matching passage of each decision. There is no pagination, no other sort order and no Boolean syntax — use `keyword_search` for exact terms, `search_by_case_number` for case numbers. Filters are combined with AND. Hierarchy IDs (canton / court / chamber, e.g. 'CH_BGer', 'ZH_OG') are case-sensitive; take them from `list_hierarchy` or `list_facets`.

semantic_search input schema
{
  "type": "object",
  "$defs": {
    "Language": {
      "enum": [
        "de",
        "fr",
        "it"
      ],
      "type": "string",
      "title": "Language",
      "description": "Verfügbare Sprachen der Entscheide."
    }
  },
  "title": "semantic_searchArguments",
  "required": [
    "query"
  ],
  "properties": {
    "size": {
      "type": "integer",
      "title": "Size",
      "default": 10,
      "maximum": 50,
      "minimum": 1,
      "description": "Number of decisions to return (1–50)."
    },
    "query": {
      "type": "string",
      "title": "Query",
      "description": "Legal question or description of the facts in natural language, ideally one or more full sentences. Any language."
    },
    "language": {
      "anyOf": [
        {
          "$ref": "#/$defs/Language"
        },
        {
          "type": "null"
        }
      ],
      "default": null,
      "description": "Preferred language (de, fr, it) for the displayed title and abstract. Does NOT filter — use `language_filter` for that."
    },
    "hierarchy": {
      "anyOf": [
        {
          "type": "array",
          "items": {
            "type": "string"
          }
        },
        {
          "type": "null"
        }
      ],
      "title": "Hierarchy",
      "default": null,
      "description": "Restrict to cantons, courts or chambers by hierarchy ID, e.g. ['CH_BGer'] or ['ZH_OG', 'BE']. Several IDs are combined with OR."
    },
    "scrape_date_to": {
      "anyOf": [
        {
          "type": "string",
          "format": "date"
        },
        {
          "type": "null"
        }
      ],
      "title": "Scrape Date To",
      "default": null,
      "description": "Latest date the decision was added to the index (YYYY-MM-DD)."
    },
    "include_context": {
      "type": "boolean",
      "title": "Include Context",
      "default": false,
      "description": "AI search only: also return, per hit, the larger section of the decision around the matching passage (up to about 6,000 characters each, field `context`)."
    },
    "language_filter": {
      "anyOf": [
        {
          "type": "array",
          "items": {
            "$ref": "#/$defs/Language"
          }
        },
        {
          "type": "null"
        }
      ],
      "title": "Language Filter",
      "default": null,
      "description": "Only decisions written in these languages, e.g. ['fr']."
    },
    "decision_date_to": {
      "anyOf": [
        {
          "type": "string",
          "format": "date"
        },
        {
          "type": "null"
        }
      ],
      "title": "Decision Date To",
      "default": null,
      "description": "Latest decision date (YYYY-MM-DD, inclusive)."
    },
    "scrape_date_from": {
      "anyOf": [
        {
          "type": "string",
          "format": "date"
        },
        {
          "type": "null"
        }
      ],
      "title": "Scrape Date From",
      "default": null,
      "description": "Earliest date the decision was added to the index (YYYY-MM-DD)."
    },
    "decision_date_from": {
      "anyOf": [
        {
          "type": "string",
          "format": "date"
        },
        {
          "type": "null"
        }
      ],
      "title": "Decision Date From",
      "default": null,
      "description": "Earliest decision date (YYYY-MM-DD, inclusive)."
    }
  }
}
semantic_search output schema
{
  "type": "object",
  "$defs": {
    "ResultRef": {
      "type": "object",
      "title": "ResultRef",
      "required": [
        "id"
      ],
      "properties": {
        "id": {
          "type": "string",
          "title": "Id"
        },
        "url": {
          "anyOf": [
            {
              "type": "string"
            },
            {
              "type": "null"
            }
          ],
          "title": "Url",
          "default": null
        },
        "title": {
          "type": "string",
          "title": "Title",
          "default": ""
        }
      },
      "description": "Kompakter Treffer-Verweis (id, title, url) für Clients, die genau dieses Format erwarten."
    },
    "SearchHit": {
      "type": "object",
      "title": "SearchHit",
      "required": [
        "id"
      ],
      "properties": {
        "id": {
          "type": "string",
          "title": "Id"
        },
        "url": {
          "anyOf": [
            {
              "type": "string"
            },
            {
              "type": "null"
            }
          ],
          "title": "Url",
          "default": null,
          "description": "Web page of the decision on entscheidsuche.ch (use this link for citations)."
        },
        "meta": {
          "type": "string",
          "title": "Meta",
          "default": ""
        },
        "sort": {
          "anyOf": [
            {
              "type": "array",
              "items": {}
            },
            {
              "type": "null"
            }
          ],
          "title": "Sort",
          "default": null,
          "description": "Sort values of the hit (for search_after)."
        },
        "text": {
          "type": "string",
          "title": "Text",
          "default": "",
          "description": "Excerpt from the decision. Keyword search: highlight snippet with the matched terms wrapped in <em>…</em>. Semantic search: the passage of the decision that best matches the query. `fetch_document`: the full text."
        },
        "court": {
          "type": "string",
          "title": "Court",
          "default": "",
          "description": "Court (derived from the ID)."
        },
        "score": {
          "anyOf": [
            {
              "type": "number"
            },
            {
              "type": "null"
            }
          ],
          "title": "Score",
          "default": null,
          "description": "Semantic search only: similarity between the query and the best matching passage of this decision (higher is better)."
        },
        "title": {
          "type": "string",
          "title": "Title",
          "default": ""
        },
        "canton": {
          "type": "string",
          "title": "Canton",
          "default": ""
        },
        "is_pdf": {
          "type": "boolean",
          "title": "Is Pdf",
          "default": false
        },
        "context": {
          "anyOf": [
            {
              "type": "string"
            },
            {
              "type": "null"
            }
          ],
          "title": "Context",
          "default": null,
          "description": "Semantic search with `include_context=true` only: the larger section of the decision (up to about 6,000 characters) that contains the passage in `text`."
        },
        "abstract": {
          "type": "string",
          "title": "Abstract",
          "default": ""
        },
        "scrape_date": {
          "anyOf": [
            {
              "type": "string"
            },
            {
              "type": "null"
            }
          ],
          "title": "Scrape Date",
          "default": null,
          "description": "ISO date YYYY-MM-DD."
        },
        "document_url": {
          "anyOf": [
            {
              "type": "string"
            },
            {
              "type": "null"
            }
          ],
          "title": "Document Url",
          "default": null,
          "description": "Direct download link to the original document."
        },
        "original_url": {
          "anyOf": [
            {
              "type": "string"
            },
            {
              "type": "null"
            }
          ],
          "title": "Original Url",
          "default": null,
          "description": "URL of the original source web page."
        },
        "decision_date": {
          "anyOf": [
            {
              "type": "string"
            },
            {
              "type": "null"
            }
          ],
          "title": "Decision Date",
          "default": null,
          "description": "ISO date YYYY-MM-DD."
        },
        "content_length": {
          "anyOf": [
            {
              "type": "integer"
            },
            {
              "type": "null"
            }
          ],
          "title": "Content Length",
          "default": null,
          "description": "Length of the indexed full text in characters. Only set by `fetch_document`."
        },
        "text_truncated": {
          "type": "boolean",
          "title": "Text Truncated",
          "default": false,
          "description": "True if the indexed full text was truncated by Elasticsearch at 100,000 characters. In that case `text` contains only the beginning of the decision; the complete document is available at `document_url`."
        }
      },
      "description": "Ein einzelner Such-Treffer."
    },
    "AggregationBucket": {
      "type": "object",
      "title": "AggregationBucket",
      "required": [
        "key",
        "count"
      ],
      "properties": {
        "key": {
          "title": "Key"
        },
        "count": {
          "type": "integer",
          "title": "Count"
        }
      }
    }
  },
  "title": "SearchResponse",
  "required": [
    "total",
    "hits"
  ],
  "properties": {
    "hits": {
      "type": "array",
      "items": {
        "$ref": "#/$defs/SearchHit"
      },
      "title": "Hits"
    },
    "note": {
      "anyOf": [
        {
          "type": "string"
        },
        {
          "type": "null"
        }
      ],
      "title": "Note",
      "default": null,
      "description": "Remarks on how the query was executed, e.g. that it was not valid search syntax and was searched as plain terms."
    },
    "total": {
      "type": "integer",
      "title": "Total",
      "description": "Keyword search: number of all matching decisions. Semantic search: number of decisions among the best-matching passages."
    },
    "results": {
      "anyOf": [
        {
          "type": "array",
          "items": {
            "$ref": "#/$defs/ResultRef"
          }
        },
        {
          "type": "null"
        }
      ],
      "title": "Results",
      "default": null,
      "description": "Only set by the `search` tool: compact list (id, title, url) of the same decisions as in `hits`, in the same order."
    },
    "next_cursor": {
      "anyOf": [
        {
          "type": "array",
          "items": {}
        },
        {
          "type": "null"
        }
      ],
      "title": "Next Cursor",
      "default": null,
      "description": "Cursor for the next page. Pass it again as `search_after` in the next request. None if there are no further results."
    },
    "search_mode": {
      "type": "string",
      "title": "Search Mode",
      "default": "keyword",
      "description": "Which search was executed: 'keyword' or 'semantic'."
    },
    "aggregations": {
      "anyOf": [
        {
          "type": "object",
          "additionalProperties": {
            "type": "array",
            "items": {
              "$ref": "#/$defs/AggregationBucket"
            }
          }
        },
        {
          "type": "null"
        }
      ],
      "title": "Aggregations",
      "default": null
    }
  },
  "description": "Antwort der Such-Tools."
}
semantic_search annotations
{
  "readOnlyHint": true,
  "openWorldHint": true,
  "idempotentHint": true,
  "destructiveHint": false
}
keyword_search — Keyword search (exact terms)
Advertised by the server during the last successful anonymous check.
Advertised read-onlyOpen-world

Exact keyword (full-text) search across Swiss court decisions on entscheidsuche.ch. Finds decisions that contain the given words. Use it for specific terms, statute articles, names, quoted phrases, complete result lists, sorting by date and pagination. For legal questions in natural language prefer `semantic_search`. Search syntax (Lucene query string): - All terms must occur (default operator AND). - Phrase: "dringender Eigenbedarf" (double quotes). - Boolean operators in capitals between terms: AND, OR, NOT. - Wildcards: * and ? — '*' alone matches every decision. - Statute citations work as written: Art. 271 OR, Art. 8 ZGB. - Put case numbers in quotes ("5A_396/2015") or use `search_by_case_number`. If a query is not valid syntax it is searched as plain terms and the response says so in `note`. `text` contains a snippet with the matched terms in <em>…</em>. Filters are combined with AND. Hierarchy IDs (canton / court / chamber, e.g. 'CH_BGer', 'ZH_OG') are case-sensitive; take them from `list_hierarchy` or `list_facets`. Pagination: pass `next_cursor` of the response as `search_after` in the next call (same query, same sort).

keyword_search input schema
{
  "type": "object",
  "$defs": {
    "Language": {
      "enum": [
        "de",
        "fr",
        "it"
      ],
      "type": "string",
      "title": "Language",
      "description": "Verfügbare Sprachen der Entscheide."
    }
  },
  "title": "keyword_searchArguments",
  "properties": {
    "size": {
      "type": "integer",
      "title": "Size",
      "default": 20,
      "maximum": 100,
      "minimum": 1,
      "description": "Results per page (1–100)."
    },
    "sort": {
      "enum": [
        "relevance",
        "date",
        "scrapedate"
      ],
      "type": "string",
      "title": "Sort",
      "default": "relevance",
      "description": "Sort order: 'relevance' (default) | 'date' (decision date, newest first) | 'scrapedate' (date added to the index, newest first)."
    },
    "query": {
      "type": "string",
      "title": "Query",
      "default": "*",
      "description": "Search terms. \"...\" for phrases, AND/OR/NOT for Boolean operators, * and ? for wildcards. \"*\" matches everything."
    },
    "language": {
      "anyOf": [
        {
          "$ref": "#/$defs/Language"
        },
        {
          "type": "null"
        }
      ],
      "default": null,
      "description": "Preferred language (de, fr, it) for the displayed title and abstract. Does NOT filter — use `language_filter` for that."
    },
    "hierarchy": {
      "anyOf": [
        {
          "type": "array",
          "items": {
            "type": "string"
          }
        },
        {
          "type": "null"
        }
      ],
      "title": "Hierarchy",
      "default": null,
      "description": "Restrict to cantons, courts or chambers by hierarchy ID, e.g. ['CH_BGer'] or ['ZH_OG', 'BE']. Several IDs are combined with OR."
    },
    "search_after": {
      "anyOf": [
        {
          "type": "array",
          "items": {}
        },
        {
          "type": "null"
        }
      ],
      "title": "Search After",
      "default": null,
      "description": "Cursor from `next_cursor` of the previous response."
    },
    "scrape_date_to": {
      "anyOf": [
        {
          "type": "string",
          "format": "date"
        },
        {
          "type": "null"
        }
      ],
      "title": "Scrape Date To",
      "default": null,
      "description": "Latest date the decision was added to the index (YYYY-MM-DD)."
    },
    "language_filter": {
      "anyOf": [
        {
          "type": "array",
          "items": {
            "$ref": "#/$defs/Language"
          }
        },
        {
          "type": "null"
        }
      ],
      "title": "Language Filter",
      "default": null,
      "description": "Only decisions written in these languages, e.g. ['fr']."
    },
    "decision_date_to": {
      "anyOf": [
        {
          "type": "string",
          "format": "date"
        },
        {
          "type": "null"
        }
      ],
      "title": "Decision Date To",
      "default": null,
      "description": "Latest decision date (YYYY-MM-DD, inclusive)."
    },
    "scrape_date_from": {
      "anyOf": [
        {
          "type": "string",
          "format": "date"
        },
        {
          "type": "null"
        }
      ],
      "title": "Scrape Date From",
      "default": null,
      "description": "Earliest date the decision was added to the index (YYYY-MM-DD)."
    },
    "decision_date_from": {
      "anyOf": [
        {
          "type": "string",
          "format": "date"
        },
        {
          "type": "null"
        }
      ],
      "title": "Decision Date From",
      "default": null,
      "description": "Earliest decision date (YYYY-MM-DD, inclusive)."
    },
    "include_aggregations": {
      "type": "boolean",
      "title": "Include Aggregations",
      "default": false,
      "description": "Also return distributions of the results by court, language and date."
    }
  }
}
keyword_search output schema
{
  "type": "object",
  "$defs": {
    "ResultRef": {
      "type": "object",
      "title": "ResultRef",
      "required": [
        "id"
      ],
      "properties": {
        "id": {
          "type": "string",
          "title": "Id"
        },
        "url": {
          "anyOf": [
            {
              "type": "string"
            },
            {
              "type": "null"
            }
          ],
          "title": "Url",
          "default": null
        },
        "title": {
          "type": "string",
          "title": "Title",
          "default": ""
        }
      },
      "description": "Kompakter Treffer-Verweis (id, title, url) für Clients, die genau dieses Format erwarten."
    },
    "SearchHit": {
      "type": "object",
      "title": "SearchHit",
      "required": [
        "id"
      ],
      "properties": {
        "id": {
          "type": "string",
          "title": "Id"
        },
        "url": {
          "anyOf": [
            {
              "type": "string"
            },
            {
              "type": "null"
            }
          ],
          "title": "Url",
          "default": null,
          "description": "Web page of the decision on entscheidsuche.ch (use this link for citations)."
        },
        "meta": {
          "type": "string",
          "title": "Meta",
          "default": ""
        },
        "sort": {
          "anyOf": [
            {
              "type": "array",
              "items": {}
            },
            {
              "type": "null"
            }
          ],
          "title": "Sort",
          "default": null,
          "description": "Sort values of the hit (for search_after)."
        },
        "text": {
          "type": "string",
          "title": "Text",
          "default": "",
          "description": "Excerpt from the decision. Keyword search: highlight snippet with the matched terms wrapped in <em>…</em>. Semantic search: the passage of the decision that best matches the query. `fetch_document`: the full text."
        },
        "court": {
          "type": "string",
          "title": "Court",
          "default": "",
          "description": "Court (derived from the ID)."
        },
        "score": {
          "anyOf": [
            {
              "type": "number"
            },
            {
              "type": "null"
            }
          ],
          "title": "Score",
          "default": null,
          "description": "Semantic search only: similarity between the query and the best matching passage of this decision (higher is better)."
        },
        "title": {
          "type": "string",
          "title": "Title",
          "default": ""
        },
        "canton": {
          "type": "string",
          "title": "Canton",
          "default": ""
        },
        "is_pdf": {
          "type": "boolean",
          "title": "Is Pdf",
          "default": false
        },
        "context": {
          "anyOf": [
            {
              "type": "string"
            },
            {
              "type": "null"
            }
          ],
          "title": "Context",
          "default": null,
          "description": "Semantic search with `include_context=true` only: the larger section of the decision (up to about 6,000 characters) that contains the passage in `text`."
        },
        "abstract": {
          "type": "string",
          "title": "Abstract",
          "default": ""
        },
        "scrape_date": {
          "anyOf": [
            {
              "type": "string"
            },
            {
              "type": "null"
            }
          ],
          "title": "Scrape Date",
          "default": null,
          "description": "ISO date YYYY-MM-DD."
        },
        "document_url": {
          "anyOf": [
            {
              "type": "string"
            },
            {
              "type": "null"
            }
          ],
          "title": "Document Url",
          "default": null,
          "description": "Direct download link to the original document."
        },
        "original_url": {
          "anyOf": [
            {
              "type": "string"
            },
            {
              "type": "null"
            }
          ],
          "title": "Original Url",
          "default": null,
          "description": "URL of the original source web page."
        },
        "decision_date": {
          "anyOf": [
            {
              "type": "string"
            },
            {
              "type": "null"
            }
          ],
          "title": "Decision Date",
          "default": null,
          "description": "ISO date YYYY-MM-DD."
        },
        "content_length": {
          "anyOf": [
            {
              "type": "integer"
            },
            {
              "type": "null"
            }
          ],
          "title": "Content Length",
          "default": null,
          "description": "Length of the indexed full text in characters. Only set by `fetch_document`."
        },
        "text_truncated": {
          "type": "boolean",
          "title": "Text Truncated",
          "default": false,
          "description": "True if the indexed full text was truncated by Elasticsearch at 100,000 characters. In that case `text` contains only the beginning of the decision; the complete document is available at `document_url`."
        }
      },
      "description": "Ein einzelner Such-Treffer."
    },
    "AggregationBucket": {
      "type": "object",
      "title": "AggregationBucket",
      "required": [
        "key",
        "count"
      ],
      "properties": {
        "key": {
          "title": "Key"
        },
        "count": {
          "type": "integer",
          "title": "Count"
        }
      }
    }
  },
  "title": "SearchResponse",
  "required": [
    "total",
    "hits"
  ],
  "properties": {
    "hits": {
      "type": "array",
      "items": {
        "$ref": "#/$defs/SearchHit"
      },
      "title": "Hits"
    },
    "note": {
      "anyOf": [
        {
          "type": "string"
        },
        {
          "type": "null"
        }
      ],
      "title": "Note",
      "default": null,
      "description": "Remarks on how the query was executed, e.g. that it was not valid search syntax and was searched as plain terms."
    },
    "total": {
      "type": "integer",
      "title": "Total",
      "description": "Keyword search: number of all matching decisions. Semantic search: number of decisions among the best-matching passages."
    },
    "results": {
      "anyOf": [
        {
          "type": "array",
          "items": {
            "$ref": "#/$defs/ResultRef"
          }
        },
        {
          "type": "null"
        }
      ],
      "title": "Results",
      "default": null,
      "description": "Only set by the `search` tool: compact list (id, title, url) of the same decisions as in `hits`, in the same order."
    },
    "next_cursor": {
      "anyOf": [
        {
          "type": "array",
          "items": {}
        },
        {
          "type": "null"
        }
      ],
      "title": "Next Cursor",
      "default": null,
      "description": "Cursor for the next page. Pass it again as `search_after` in the next request. None if there are no further results."
    },
    "search_mode": {
      "type": "string",
      "title": "Search Mode",
      "default": "keyword",
      "description": "Which search was executed: 'keyword' or 'semantic'."
    },
    "aggregations": {
      "anyOf": [
        {
          "type": "object",
          "additionalProperties": {
            "type": "array",
            "items": {
              "$ref": "#/$defs/AggregationBucket"
            }
          }
        },
        {
          "type": "null"
        }
      ],
      "title": "Aggregations",
      "default": null
    }
  },
  "description": "Antwort der Such-Tools."
}
keyword_search annotations
{
  "readOnlyHint": true,
  "openWorldHint": true,
  "idempotentHint": true,
  "destructiveHint": false
}
search_by_case_number — Search by case number
Advertised by the server during the last successful anonymous check.
Advertised read-onlyOpen-world

Look up Swiss court decisions by case number, docket reference or BGE citation, e.g. 'BGE 142 III 1', '5A_396/2015' or 'ZB.2021.48'. The reference is searched as an exact phrase; the decision itself normally comes first, followed by decisions that cite it.

search_by_case_number input schema
{
  "type": "object",
  "$defs": {
    "Language": {
      "enum": [
        "de",
        "fr",
        "it"
      ],
      "type": "string",
      "title": "Language",
      "description": "Verfügbare Sprachen der Entscheide."
    }
  },
  "title": "search_by_case_numberArguments",
  "required": [
    "case_number"
  ],
  "properties": {
    "size": {
      "type": "integer",
      "title": "Size",
      "default": 20,
      "maximum": 100,
      "minimum": 1,
      "description": "Results per page (1–100)."
    },
    "sort": {
      "enum": [
        "relevance",
        "date",
        "scrapedate"
      ],
      "type": "string",
      "title": "Sort",
      "default": "relevance",
      "description": "Sort order: 'relevance' (default) | 'date' (decision date, newest first) | 'scrapedate' (date added to the index, newest first)."
    },
    "language": {
      "anyOf": [
        {
          "$ref": "#/$defs/Language"
        },
        {
          "type": "null"
        }
      ],
      "default": null,
      "description": "Preferred language (de, fr, it) for the displayed title and abstract. Does NOT filter — use `language_filter` for that."
    },
    "hierarchy": {
      "anyOf": [
        {
          "type": "array",
          "items": {
            "type": "string"
          }
        },
        {
          "type": "null"
        }
      ],
      "title": "Hierarchy",
      "default": null,
      "description": "Restrict to cantons, courts or chambers by hierarchy ID, e.g. ['CH_BGer'] or ['ZH_OG', 'BE']. Several IDs are combined with OR."
    },
    "case_number": {
      "type": "string",
      "title": "Case Number",
      "description": "Case number (docket reference), BGE citation or judgment number, e.g. 'BGE 142 III 1' or '5A_396/2015'."
    },
    "search_after": {
      "anyOf": [
        {
          "type": "array",
          "items": {}
        },
        {
          "type": "null"
        }
      ],
      "title": "Search After",
      "default": null,
      "description": "Cursor from `next_cursor` of the previous response."
    },
    "scrape_date_to": {
      "anyOf": [
        {
          "type": "string",
          "format": "date"
        },
        {
          "type": "null"
        }
      ],
      "title": "Scrape Date To",
      "default": null,
      "description": "Latest date the decision was added to the index (YYYY-MM-DD)."
    },
    "language_filter": {
      "anyOf": [
        {
          "type": "array",
          "items": {
            "$ref": "#/$defs/Language"
          }
        },
        {
          "type": "null"
        }
      ],
      "title": "Language Filter",
      "default": null,
      "description": "Only decisions written in these languages, e.g. ['fr']."
    },
    "decision_date_to": {
      "anyOf": [
        {
          "type": "string",
          "format": "date"
        },
        {
          "type": "null"
        }
      ],
      "title": "Decision Date To",
      "default": null,
      "description": "Latest decision date (YYYY-MM-DD, inclusive)."
    },
    "scrape_date_from": {
      "anyOf": [
        {
          "type": "string",
          "format": "date"
        },
        {
          "type": "null"
        }
      ],
      "title": "Scrape Date From",
      "default": null,
      "description": "Earliest date the decision was added to the index (YYYY-MM-DD)."
    },
    "decision_date_from": {
      "anyOf": [
        {
          "type": "string",
          "format": "date"
        },
        {
          "type": "null"
        }
      ],
      "title": "Decision Date From",
      "default": null,
      "description": "Earliest decision date (YYYY-MM-DD, inclusive)."
    },
    "include_aggregations": {
      "type": "boolean",
      "title": "Include Aggregations",
      "default": false,
      "description": "Also return distributions of the results by court, language and date."
    }
  }
}
search_by_case_number output schema
{
  "type": "object",
  "$defs": {
    "ResultRef": {
      "type": "object",
      "title": "ResultRef",
      "required": [
        "id"
      ],
      "properties": {
        "id": {
          "type": "string",
          "title": "Id"
        },
        "url": {
          "anyOf": [
            {
              "type": "string"
            },
            {
              "type": "null"
            }
          ],
          "title": "Url",
          "default": null
        },
        "title": {
          "type": "string",
          "title": "Title",
          "default": ""
        }
      },
      "description": "Kompakter Treffer-Verweis (id, title, url) für Clients, die genau dieses Format erwarten."
    },
    "SearchHit": {
      "type": "object",
      "title": "SearchHit",
      "required": [
        "id"
      ],
      "properties": {
        "id": {
          "type": "string",
          "title": "Id"
        },
        "url": {
          "anyOf": [
            {
              "type": "string"
            },
            {
              "type": "null"
            }
          ],
          "title": "Url",
          "default": null,
          "description": "Web page of the decision on entscheidsuche.ch (use this link for citations)."
        },
        "meta": {
          "type": "string",
          "title": "Meta",
          "default": ""
        },
        "sort": {
          "anyOf": [
            {
              "type": "array",
              "items": {}
            },
            {
              "type": "null"
            }
          ],
          "title": "Sort",
          "default": null,
          "description": "Sort values of the hit (for search_after)."
        },
        "text": {
          "type": "string",
          "title": "Text",
          "default": "",
          "description": "Excerpt from the decision. Keyword search: highlight snippet with the matched terms wrapped in <em>…</em>. Semantic search: the passage of the decision that best matches the query. `fetch_document`: the full text."
        },
        "court": {
          "type": "string",
          "title": "Court",
          "default": "",
          "description": "Court (derived from the ID)."
        },
        "score": {
          "anyOf": [
            {
              "type": "number"
            },
            {
              "type": "null"
            }
          ],
          "title": "Score",
          "default": null,
          "description": "Semantic search only: similarity between the query and the best matching passage of this decision (higher is better)."
        },
        "title": {
          "type": "string",
          "title": "Title",
          "default": ""
        },
        "canton": {
          "type": "string",
          "title": "Canton",
          "default": ""
        },
        "is_pdf": {
          "type": "boolean",
          "title": "Is Pdf",
          "default": false
        },
        "context": {
          "anyOf": [
            {
              "type": "string"
            },
            {
              "type": "null"
            }
          ],
          "title": "Context",
          "default": null,
          "description": "Semantic search with `include_context=true` only: the larger section of the decision (up to about 6,000 characters) that contains the passage in `text`."
        },
        "abstract": {
          "type": "string",
          "title": "Abstract",
          "default": ""
        },
        "scrape_date": {
          "anyOf": [
            {
              "type": "string"
            },
            {
              "type": "null"
            }
          ],
          "title": "Scrape Date",
          "default": null,
          "description": "ISO date YYYY-MM-DD."
        },
        "document_url": {
          "anyOf": [
            {
              "type": "string"
            },
            {
              "type": "null"
            }
          ],
          "title": "Document Url",
          "default": null,
          "description": "Direct download link to the original document."
        },
        "original_url": {
          "anyOf": [
            {
              "type": "string"
            },
            {
              "type": "null"
            }
          ],
          "title": "Original Url",
          "default": null,
          "description": "URL of the original source web page."
        },
        "decision_date": {
          "anyOf": [
            {
              "type": "string"
            },
            {
              "type": "null"
            }
          ],
          "title": "Decision Date",
          "default": null,
          "description": "ISO date YYYY-MM-DD."
        },
        "content_length": {
          "anyOf": [
            {
              "type": "integer"
            },
            {
              "type": "null"
            }
          ],
          "title": "Content Length",
          "default": null,
          "description": "Length of the indexed full text in characters. Only set by `fetch_document`."
        },
        "text_truncated": {
          "type": "boolean",
          "title": "Text Truncated",
          "default": false,
          "description": "True if the indexed full text was truncated by Elasticsearch at 100,000 characters. In that case `text` contains only the beginning of the decision; the complete document is available at `document_url`."
        }
      },
      "description": "Ein einzelner Such-Treffer."
    },
    "AggregationBucket": {
      "type": "object",
      "title": "AggregationBucket",
      "required": [
        "key",
        "count"
      ],
      "properties": {
        "key": {
          "title": "Key"
        },
        "count": {
          "type": "integer",
          "title": "Count"
        }
      }
    }
  },
  "title": "SearchResponse",
  "required": [
    "total",
    "hits"
  ],
  "properties": {
    "hits": {
      "type": "array",
      "items": {
        "$ref": "#/$defs/SearchHit"
      },
      "title": "Hits"
    },
    "note": {
      "anyOf": [
        {
          "type": "string"
        },
        {
          "type": "null"
        }
      ],
      "title": "Note",
      "default": null,
      "description": "Remarks on how the query was executed, e.g. that it was not valid search syntax and was searched as plain terms."
    },
    "total": {
      "type": "integer",
      "title": "Total",
      "description": "Keyword search: number of all matching decisions. Semantic search: number of decisions among the best-matching passages."
    },
    "results": {
      "anyOf": [
        {
          "type": "array",
          "items": {
            "$ref": "#/$defs/ResultRef"
          }
        },
        {
          "type": "null"
        }
      ],
      "title": "Results",
      "default": null,
      "description": "Only set by the `search` tool: compact list (id, title, url) of the same decisions as in `hits`, in the same order."
    },
    "next_cursor": {
      "anyOf": [
        {
          "type": "array",
          "items": {}
        },
        {
          "type": "null"
        }
      ],
      "title": "Next Cursor",
      "default": null,
      "description": "Cursor for the next page. Pass it again as `search_after` in the next request. None if there are no further results."
    },
    "search_mode": {
      "type": "string",
      "title": "Search Mode",
      "default": "keyword",
      "description": "Which search was executed: 'keyword' or 'semantic'."
    },
    "aggregations": {
      "anyOf": [
        {
          "type": "object",
          "additionalProperties": {
            "type": "array",
            "items": {
              "$ref": "#/$defs/AggregationBucket"
            }
          }
        },
        {
          "type": "null"
        }
      ],
      "title": "Aggregations",
      "default": null
    }
  },
  "description": "Antwort der Such-Tools."
}
search_by_case_number annotations
{
  "readOnlyHint": true,
  "openWorldHint": true,
  "idempotentHint": true,
  "destructiveHint": false
}
fetch_document — Fetch decision (full text)
Advertised by the server during the last successful anonymous check.
Advertised read-onlyOpen-world

Fetch one Swiss court decision by its document ID and return its full text together with title, court, date and links. Use the `id` of a hit returned by one of the search tools. For very long decisions the text is capped at 100,000 characters; if `text_truncated` is true, the complete document is available at `document_url`.

fetch_document input schema
{
  "type": "object",
  "$defs": {
    "Language": {
      "enum": [
        "de",
        "fr",
        "it"
      ],
      "type": "string",
      "title": "Language",
      "description": "Verfügbare Sprachen der Entscheide."
    }
  },
  "title": "fetch_documentArguments",
  "required": [
    "id"
  ],
  "properties": {
    "id": {
      "type": "string",
      "title": "Id",
      "description": "Document ID of a search hit, e.g. 'CH_BGer_005_5A-396-2015_2017-06-22'."
    },
    "language": {
      "anyOf": [
        {
          "$ref": "#/$defs/Language"
        },
        {
          "type": "null"
        }
      ],
      "default": null,
      "description": "Preferred language (de, fr, it) for title and abstract."
    }
  }
}
fetch_document output schema
{
  "type": "object",
  "title": "SearchHit",
  "required": [
    "id"
  ],
  "properties": {
    "id": {
      "type": "string",
      "title": "Id"
    },
    "url": {
      "anyOf": [
        {
          "type": "string"
        },
        {
          "type": "null"
        }
      ],
      "title": "Url",
      "default": null,
      "description": "Web page of the decision on entscheidsuche.ch (use this link for citations)."
    },
    "meta": {
      "type": "string",
      "title": "Meta",
      "default": ""
    },
    "sort": {
      "anyOf": [
        {
          "type": "array",
          "items": {}
        },
        {
          "type": "null"
        }
      ],
      "title": "Sort",
      "default": null,
      "description": "Sort values of the hit (for search_after)."
    },
    "text": {
      "type": "string",
      "title": "Text",
      "default": "",
      "description": "Excerpt from the decision. Keyword search: highlight snippet with the matched terms wrapped in <em>…</em>. Semantic search: the passage of the decision that best matches the query. `fetch_document`: the full text."
    },
    "court": {
      "type": "string",
      "title": "Court",
      "default": "",
      "description": "Court (derived from the ID)."
    },
    "score": {
      "anyOf": [
        {
          "type": "number"
        },
        {
          "type": "null"
        }
      ],
      "title": "Score",
      "default": null,
      "description": "Semantic search only: similarity between the query and the best matching passage of this decision (higher is better)."
    },
    "title": {
      "type": "string",
      "title": "Title",
      "default": ""
    },
    "canton": {
      "type": "string",
      "title": "Canton",
      "default": ""
    },
    "is_pdf": {
      "type": "boolean",
      "title": "Is Pdf",
      "default": false
    },
    "context": {
      "anyOf": [
        {
          "type": "string"
        },
        {
          "type": "null"
        }
      ],
      "title": "Context",
      "default": null,
      "description": "Semantic search with `include_context=true` only: the larger section of the decision (up to about 6,000 characters) that contains the passage in `text`."
    },
    "abstract": {
      "type": "string",
      "title": "Abstract",
      "default": ""
    },
    "scrape_date": {
      "anyOf": [
        {
          "type": "string"
        },
        {
          "type": "null"
        }
      ],
      "title": "Scrape Date",
      "default": null,
      "description": "ISO date YYYY-MM-DD."
    },
    "document_url": {
      "anyOf": [
        {
          "type": "string"
        },
        {
          "type": "null"
        }
      ],
      "title": "Document Url",
      "default": null,
      "description": "Direct download link to the original document."
    },
    "original_url": {
      "anyOf": [
        {
          "type": "string"
        },
        {
          "type": "null"
        }
      ],
      "title": "Original Url",
      "default": null,
      "description": "URL of the original source web page."
    },
    "decision_date": {
      "anyOf": [
        {
          "type": "string"
        },
        {
          "type": "null"
        }
      ],
      "title": "Decision Date",
      "default": null,
      "description": "ISO date YYYY-MM-DD."
    },
    "content_length": {
      "anyOf": [
        {
          "type": "integer"
        },
        {
          "type": "null"
        }
      ],
      "title": "Content Length",
      "default": null,
      "description": "Length of the indexed full text in characters. Only set by `fetch_document`."
    },
    "text_truncated": {
      "type": "boolean",
      "title": "Text Truncated",
      "default": false,
      "description": "True if the indexed full text was truncated by Elasticsearch at 100,000 characters. In that case `text` contains only the beginning of the decision; the complete document is available at `document_url`."
    }
  },
  "description": "Ein einzelner Such-Treffer."
}
fetch_document annotations
{
  "readOnlyHint": true,
  "openWorldHint": true,
  "idempotentHint": true,
  "destructiveHint": false
}
fetch — Fetch decision (alias of fetch_document)
Advertised by the server during the last successful anonymous check.
Advertised read-onlyOpen-world

Fetch one Swiss court decision by its document ID and return its full text together with title, court, date and links. Use the `id` of a hit returned by one of the search tools. For very long decisions the text is capped at 100,000 characters; if `text_truncated` is true, the complete document is available at `document_url`. Identical to `fetch_document`.

fetch input schema
{
  "type": "object",
  "$defs": {
    "Language": {
      "enum": [
        "de",
        "fr",
        "it"
      ],
      "type": "string",
      "title": "Language",
      "description": "Verfügbare Sprachen der Entscheide."
    }
  },
  "title": "fetchArguments",
  "required": [
    "id"
  ],
  "properties": {
    "id": {
      "type": "string",
      "title": "Id",
      "description": "Document ID of a search hit, e.g. 'CH_BGer_005_5A-396-2015_2017-06-22'."
    },
    "language": {
      "anyOf": [
        {
          "$ref": "#/$defs/Language"
        },
        {
          "type": "null"
        }
      ],
      "default": null,
      "description": "Preferred language (de, fr, it) for title and abstract."
    }
  }
}
fetch output schema
{
  "type": "object",
  "title": "SearchHit",
  "required": [
    "id"
  ],
  "properties": {
    "id": {
      "type": "string",
      "title": "Id"
    },
    "url": {
      "anyOf": [
        {
          "type": "string"
        },
        {
          "type": "null"
        }
      ],
      "title": "Url",
      "default": null,
      "description": "Web page of the decision on entscheidsuche.ch (use this link for citations)."
    },
    "meta": {
      "type": "string",
      "title": "Meta",
      "default": ""
    },
    "sort": {
      "anyOf": [
        {
          "type": "array",
          "items": {}
        },
        {
          "type": "null"
        }
      ],
      "title": "Sort",
      "default": null,
      "description": "Sort values of the hit (for search_after)."
    },
    "text": {
      "type": "string",
      "title": "Text",
      "default": "",
      "description": "Excerpt from the decision. Keyword search: highlight snippet with the matched terms wrapped in <em>…</em>. Semantic search: the passage of the decision that best matches the query. `fetch_document`: the full text."
    },
    "court": {
      "type": "string",
      "title": "Court",
      "default": "",
      "description": "Court (derived from the ID)."
    },
    "score": {
      "anyOf": [
        {
          "type": "number"
        },
        {
          "type": "null"
        }
      ],
      "title": "Score",
      "default": null,
      "description": "Semantic search only: similarity between the query and the best matching passage of this decision (higher is better)."
    },
    "title": {
      "type": "string",
      "title": "Title",
      "default": ""
    },
    "canton": {
      "type": "string",
      "title": "Canton",
      "default": ""
    },
    "is_pdf": {
      "type": "boolean",
      "title": "Is Pdf",
      "default": false
    },
    "context": {
      "anyOf": [
        {
          "type": "string"
        },
        {
          "type": "null"
        }
      ],
      "title": "Context",
      "default": null,
      "description": "Semantic search with `include_context=true` only: the larger section of the decision (up to about 6,000 characters) that contains the passage in `text`."
    },
    "abstract": {
      "type": "string",
      "title": "Abstract",
      "default": ""
    },
    "scrape_date": {
      "anyOf": [
        {
          "type": "string"
        },
        {
          "type": "null"
        }
      ],
      "title": "Scrape Date",
      "default": null,
      "description": "ISO date YYYY-MM-DD."
    },
    "document_url": {
      "anyOf": [
        {
          "type": "string"
        },
        {
          "type": "null"
        }
      ],
      "title": "Document Url",
      "default": null,
      "description": "Direct download link to the original document."
    },
    "original_url": {
      "anyOf": [
        {
          "type": "string"
        },
        {
          "type": "null"
        }
      ],
      "title": "Original Url",
      "default": null,
      "description": "URL of the original source web page."
    },
    "decision_date": {
      "anyOf": [
        {
          "type": "string"
        },
        {
          "type": "null"
        }
      ],
      "title": "Decision Date",
      "default": null,
      "description": "ISO date YYYY-MM-DD."
    },
    "content_length": {
      "anyOf": [
        {
          "type": "integer"
        },
        {
          "type": "null"
        }
      ],
      "title": "Content Length",
      "default": null,
      "description": "Length of the indexed full text in characters. Only set by `fetch_document`."
    },
    "text_truncated": {
      "type": "boolean",
      "title": "Text Truncated",
      "default": false,
      "description": "True if the indexed full text was truncated by Elasticsearch at 100,000 characters. In that case `text` contains only the beginning of the decision; the complete document is available at `document_url`."
    }
  },
  "description": "Ein einzelner Such-Treffer."
}
fetch annotations
{
  "readOnlyHint": true,
  "openWorldHint": true,
  "idempotentHint": true,
  "destructiveHint": false
}
list_hierarchy — List courts with decision counts
Advertised by the server during the last successful anonymous check.
Advertised read-onlyOpen-world

Returns the hierarchy IDs of Swiss cantons, courts and chambers together with the number of decisions, optionally restricted to the decisions matching a keyword query. Use the IDs in the `hierarchy` filter of the search tools.

list_hierarchy input schema
{
  "type": "object",
  "title": "list_hierarchyArguments",
  "properties": {
    "size": {
      "type": "integer",
      "title": "Size",
      "default": 1000,
      "maximum": 10000,
      "minimum": 1,
      "description": "Maximum number of entries."
    },
    "query": {
      "type": "string",
      "title": "Query",
      "default": "*",
      "description": "Optional keyword query (same syntax as `keyword_search`)."
    }
  }
}
list_hierarchy output schema
{
  "type": "object",
  "$defs": {
    "HierarchyEntry": {
      "type": "object",
      "title": "HierarchyEntry",
      "required": [
        "id",
        "count"
      ],
      "properties": {
        "id": {
          "type": "string",
          "title": "Id"
        },
        "count": {
          "type": "integer",
          "title": "Count"
        }
      }
    }
  },
  "title": "HierarchyResponse",
  "required": [
    "entries"
  ],
  "properties": {
    "entries": {
      "type": "array",
      "items": {
        "$ref": "#/$defs/HierarchyEntry"
      },
      "title": "Entries"
    }
  }
}
list_hierarchy annotations
{
  "readOnlyHint": true,
  "openWorldHint": true,
  "idempotentHint": true,
  "destructiveHint": false
}
list_facets — Court tree with names (canton / court / chamber)
Advertised by the server during the last successful anonymous check.
Advertised read-onlyOpen-world

Tree of all cantons, courts and chambers with their names in German, French and Italian. The `id` fields can be used in the `hierarchy` filter of the search tools.

list_facets input schema
{
  "type": "object",
  "title": "list_facetsArguments",
  "properties": {}
}
list_facets output schema
{
  "type": "object",
  "$defs": {
    "FacetNode": {
      "type": "object",
      "title": "FacetNode",
      "required": [
        "id",
        "label"
      ],
      "properties": {
        "id": {
          "type": "string",
          "title": "Id"
        },
        "label": {
          "$ref": "#/$defs/FacetLabel"
        },
        "children": {
          "anyOf": [
            {
              "type": "array",
              "items": {
                "$ref": "#/$defs/FacetNode"
              }
            },
            {
              "type": "null"
            }
          ],
          "title": "Children",
          "default": null
        }
      }
    },
    "FacetLabel": {
      "type": "object",
      "title": "FacetLabel",
      "properties": {
        "de": {
          "anyOf": [
            {
              "type": "string"
            },
            {
              "type": "null"
            }
          ],
          "title": "De",
          "default": null
        },
        "en": {
          "anyOf": [
            {
              "type": "string"
            },
            {
              "type": "null"
            }
          ],
          "title": "En",
          "default": null
        },
        "fr": {
          "anyOf": [
            {
              "type": "string"
            },
            {
              "type": "null"
            }
          ],
          "title": "Fr",
          "default": null
        },
        "it": {
          "anyOf": [
            {
              "type": "string"
            },
            {
              "type": "null"
            }
          ],
          "title": "It",
          "default": null
        }
      }
    }
  },
  "title": "FacetsResponse",
  "required": [
    "facets"
  ],
  "properties": {
    "facets": {
      "type": "array",
      "items": {
        "$ref": "#/$defs/FacetNode"
      },
      "title": "Facets"
    }
  }
}
list_facets annotations
{
  "readOnlyHint": true,
  "openWorldHint": true,
  "idempotentHint": true,
  "destructiveHint": false
}
server_info — Server info
Advertised by the server during the last successful anonymous check.
Advertised read-onlyOpen-world

Version and configured endpoints of this MCP server for Swiss case law.

server_info input schema
{
  "type": "object",
  "title": "server_infoArguments",
  "properties": {}
}
server_info output schema
{
  "type": "object",
  "title": "server_infoDictOutput",
  "additionalProperties": true
}
server_info annotations
{
  "readOnlyHint": true,
  "openWorldHint": true,
  "idempotentHint": true,
  "destructiveHint": false
}

Prompts

0 advertised

No prompt definitions available.

Resources

1 advertised

server-card — MCP Server Card

Advertised by the server during the last successful anonymous check.

Structured metadata for the entscheidsuche MCP server.

server-card URI
mcp://server-card.json

MIME type: application/json

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% (75 of 75 checks answered)

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

30-day availability

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

Successful checks
2 of 2 (100%)
Average latency
2584 ms
95th percentile latency
2589 ms

Maintenance history

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

  • · probe · passed · 2590 ms · metadata changed · 9 tool(s), 1 resource(s), 0 resource template(s), 0 prompt(s)
  • · probe · passed · 2577 ms · metadata changed · 6 tool(s), 1 resource(s), 0 resource template(s), 0 prompt(s)
  • · repository · passed · updated
  • · repository · passed · metadata changed · unchanged
  • · repository · passed · metadata changed · updated
  • · registry · passed · metadata changed · Source metadata updated
  • · backfill · recorded · Pre-expansion baseline; unobserved rich metadata remains unknown

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 entscheidsuche-mcp https://mcp.entscheidsuche.ch/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 entscheidsuche-mcp --url https://mcp.entscheidsuche.ch/mcp

Cursor

Merge this server into .cursor/mcp.json in your project, then enable entscheidsuche-mcp in your MCP settings.
Cursor configuration
{
  "mcpServers": {
    "entscheidsuche-mcp": {
      "url": "https://mcp.entscheidsuche.ch/mcp"
    }
  }
}

Cline

Merge this into cline_mcp_settings.json (Cline → MCP Servers → Configure).
Cline configuration
{
  "mcpServers": {
    "entscheidsuche-mcp": {
      "type": "streamableHttp",
      "url": "https://mcp.entscheidsuche.ch/mcp",
      "disabled": false
    }
  }
}

VS Code

Merge this server into .vscode/mcp.json. Use MCP: List Servers to start entscheidsuche-mcp and inspect its tools.
VS Code configuration
{
  "servers": {
    "entscheidsuche-mcp": {
      "type": "http",
      "url": "https://mcp.entscheidsuche.ch/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 entscheidsuche-mcp https://mcp.entscheidsuche.ch/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://mcp.entscheidsuche.ch/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": {
    "entscheidsuche-mcp": {
      "serverUrl": "https://mcp.entscheidsuche.ch/mcp"
    }
  }
}

Let your agent find its tools

Find servers like Entscheidsuche 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 Entscheidsuche 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