Entscheidsuche — Schweizer Gerichtsentscheide

Suche in Schweizer Gerichtsentscheiden aller Instanzen (Bund, Kantone) in DE/FR/IT.

Should I use this

Quality & Safety

A
Description quality
97%
Schema completeness
67%
Naming quality
97%
Poisoning risk
100%
Permission match
100%
Protocol compliance
100%

Based on automated analysis of tool definitions and protocol compliance.

Context Cost

~3,948Tokens (tool definitions)
~6.9 KBTypical response size
Significant attention impact (3.08% of 128k context)

This is the approximate number of tokens consumed each time the server's tools are loaded into a model's context. Higher counts reduce the attention available for other tasks.

Install

One-Click Install

Add this to your `claude_desktop_config.json` file:

{
  "mcpServers": {
    "mcp": {
      "url": "https://mcp.entscheidsuche.ch/mcp"
    }
  }
}

Remote endpoints

https://mcp.entscheidsuche.ch/mcpstreamable-http

What it can do

Tool inventory

Tools (6)

🟢 Read-only🟡 Write🔴 Delete⚪ Unknown
🟢search(query, language, sort, size, search_after, ...)

Full-text search across Swiss court judgments, court decisions and case law from entscheidsuche.ch. Covers decisions of the Federal Supreme Court (BGer, BGE) and cantonal courts such as Kantonsgericht, Obergericht or Verwaltungsgericht. Typical use cases: - Search Federal Supreme Court judgments, BGE or rulings by topic - Find Swiss case law on tenancy law, ZGB, OR, StGB or BV - Verify case numbers, judgment numbers or citations - Related tools: fetch_document, search_by_case_number, list_hierarchy, list_facets Search syntax (Lucene query string): - Phrase / case-number search: "BGE 142 III 1" (in quotes) - Boolean operators: AND, OR, NOT (or +, -) - Wildcards: * and ? - The default operator between terms is AND. Filters are combined with AND. Use hierarchy IDs from `list_hierarchy` or `list_facets`. Pagination: after the first call, pass the `next_cursor` value from the response as `search_after` in the next call.

Input Schema

{
  "type": "object",
  "properties": {
    "query": {
      "default": "*",
      "description": "Full-text query. \"...\" for phrases, AND/OR/NOT for Boolean operators, * and ? for wildcards. \"*\" matches everything.",
      "title": "Query",
      "type": "string"
    },
    "language": {
      "anyOf": [
        {
          "$ref": "#/$defs/Language"
        },
        {
          "type": "null"
        }
      ],
      "default": null,
      "description": "Optional preferred language for highlighting/display (de, fr, it). If omitted, the first available language field is returned — this does NOT filter; use `language_filter` for that."
    },
    "sort": {
      "default": "relevance",
      "description": "Optional sort order: 'relevance' | 'date' (decision date) | 'scrapedate'. Default is 'relevance'.",
      "enum": [
        "relevance",
        "date",
        "scrapedate"
      ],
      "title": "Sort",
      "type": "string"
    },
    "size": {
      "default": 20,
      "description": "Results per page (1–100).",
      "maximum": 100,
      "minimum": 1,
      "title": "Size",
      "type": "integer"
    },
    "search_after": {
      "anyOf": [
        {
          "items": {},
          "type": "array"
        },
        {
          "type": "null"
        }
      ],
      "default": null,
      "description": "Cursor from `next_cursor` of the previous response.",
      "title": "Search After"
    },
    "decision_date_from": {
      "anyOf": [
        {
          "format": "date",
          "type": "string"
        },
        {
          "type": "null"
        }
      ],
      "default": null,
      "description": "Lower bound for the decision date (YYYY-MM-DD, inclusive).",
      "title": "Decision Date From"
    },
    "decision_date_to": {
      "anyOf": [
        {
          "format": "date",
          "type": "string"
        },
        {
          "type": "null"
        }
      ],
      "default": null,
      "description": "Upper bound for the decision date (YYYY-MM-DD, inclusive).",
      "title": "Decision Date To"
    },
    "scrape_date_from": {
      "anyOf": [
        {
          "format": "date",
          "type": "string"
        },
        {
          "type": "null"
        }
      ],
      "default": null,
      "description": "Lower bound for the scrape date (YYYY-MM-DD, inclusive).",
      "title": "Scrape Date From"
    },
    "scrape_date_to": {
      "anyOf": [
        {
          "format": "date",
          "type": "string"
        },
        {
          "type": "null"
        }
      ],
      "default": null,
      "description": "Upper bound for the scrape date (YYYY-MM-DD, inclusive).",
      "title": "Scrape Date To"
    },
    "hierarchy": {
      "anyOf": [
        {
          "items": {
            "type": "string"
          },
          "type": "array"
        },
        {
          "type": "null"
        }
      ],
      "default": null,
      "description": "List of hierarchy IDs (canton/court/chamber). Multiple IDs are combined with OR; with other filters, AND.",
      "title": "Hierarchy"
    },
    "language_filter": {
      "anyOf": [
        {
          "items": {
            "$ref": "#/$defs/Language"
          },
          "type": "array"
        },
        {
          "type": "null"
        }
      ],
      "default": null,
      "description": "Filter by document language(s).",
      "title": "Language Filter"
    },
    "include_aggregations": {
      "default": false,
      "description": "Include aggregations (distributions over the results).",
      "title": "Include Aggregations",
      "type": "boolean"
    }
  },
  "$defs": {
    "Language": {
      "description": "Verfügbare Sprachen der Entscheide.",
      "enum": [
        "de",
        "fr",
        "it"
      ],
      "title": "Language",
      "type": "string"
    }
  },
  "title": "searchArguments"
}

Output Schema

{
  "type": "object",
  "properties": {
    "total": {
      "title": "Total",
      "type": "integer"
    },
    "hits": {
      "items": {
        "$ref": "#/$defs/SearchHit"
      },
      "title": "Hits",
      "type": "array"
    },
    "next_cursor": {
      "anyOf": [
        {
          "items": {},
          "type": "array"
        },
        {
          "type": "null"
        }
      ],
      "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.",
      "title": "Next Cursor"
    },
    "aggregations": {
      "anyOf": [
        {
          "additionalProperties": {
            "items": {
              "$ref": "#/$defs/AggregationBucket"
            },
            "type": "array"
          },
          "type": "object"
        },
        {
          "type": "null"
        }
      ],
      "default": null,
      "title": "Aggregations"
    }
  },
  "required": [
    "total",
    "hits"
  ],
  "$defs": {
    "AggregationBucket": {
      "properties": {
        "key": {
          "title": "Key"
        },
        "count": {
          "title": "Count",
          "type": "integer"
        }
      },
      "required": [
        "key",
        "count"
      ],
      "title": "AggregationBucket",
      "type": "object"
    },
    "SearchHit": {
      "description": "Ein einzelner Such-Treffer.",
      "properties": {
        "id": {
          "title": "Id",
          "type": "string"
        },
        "title": {
          "default": "",
          "title": "Title",
          "type": "string"
        },
        "abstract": {
          "default": "",
          "title": "Abstract",
          "type": "string"
        },
        "text": {
          "default": "",
          "description": "Highlight excerpt from the full text.",
          "title": "Text",
          "type": "string"
        },
        "meta": {
          "default": "",
          "title": "Meta",
          "type": "string"
        },
        "canton": {
          "default": "",
          "title": "Canton",
          "type": "string"
        },
        "court": {
          "default": "",
          "description": "Court (derived from the ID).",
          "title": "Court",
          "type": "string"
        },
        "decision_date": {
          "anyOf": [
            {
              "type": "string"
            },
            {
              "type": "null"
            }
          ],
          "default": null,
          "description": "ISO date YYYY-MM-DD.",
          "title": "Decision Date"
        },
        "scrape_date": {
          "anyOf": [
            {
              "type": "string"
            },
            {
              "type": "null"
            }
          ],
          "default": null,
          "description": "ISO date YYYY-MM-DD.",
          "title": "Scrape Date"
        },
        "is_pdf": {
          "default": false,
          "title": "Is Pdf",
          "type": "boolean"
        },
        "document_url": {
          "anyOf": [
            {
              "type": "string"
            },
            {
              "type": "null"
            }
          ],
          "default": null,
          "description": "Direct download link to the original document.",
          "title": "Document Url"
        },
        "original_url": {
          "anyOf": [
            {
              "type": "string"
            },
            {
              "type": "null"
            }
          ],
          "default": null,
          "description": "URL of the original source web page.",
          "title": "Original Url"
        },
        "content_length": {
          "anyOf": [
            {
              "type": "integer"
            },
            {
              "type": "null"
            }
          ],
          "default": null,
          "description": "Length of the indexed full text in characters. Only set by `fetch_document`.",
          "title": "Content Length"
        },
        "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`.",
          "title": "Text Truncated",
          "type": "boolean"
        },
        "sort": {
          "anyOf": [
            {
              "items": {},
              "type": "array"
            },
            {
              "type": "null"
            }
          ],
          "default": null,
          "description": "Sort values of the hit (for search_after).",
          "title": "Sort"
        }
      },
      "required": [
        "id"
      ],
      "title": "SearchHit",
      "type": "object"
    }
  },
  "description": "Antwort des `search`-Tools.",
  "title": "SearchResponse"
}
🟢search_by_case_number(case_number, language, sort, size, search_after, ...)

Specialized search for case numbers, judgment numbers and BGE citations in Swiss court judgments. This tool automatically wraps the given case number in quotes and runs an exact phrase search, for example for 'BGE 142 III 1', '5A_396/2015' or similar references from the Federal Supreme Court (BGer, BGE) and cantonal case law.

Input Schema

{
  "type": "object",
  "properties": {
    "case_number": {
      "description": "Case number (docket reference), BGE citation or judgment number, e.g. 'BGE 142 III 1' or '5A_396/2015'.",
      "title": "Case Number",
      "type": "string"
    },
    "language": {
      "anyOf": [
        {
          "$ref": "#/$defs/Language"
        },
        {
          "type": "null"
        }
      ],
      "default": null,
      "description": "Optional preferred language for highlighting/display (de, fr, it). If omitted, the first available language field is returned — this does NOT filter; use `language_filter` for that."
    },
    "sort": {
      "default": "relevance",
      "description": "Optional sort order: 'relevance' | 'date' (decision date) | 'scrapedate'. Default is 'relevance'.",
      "enum": [
        "relevance",
        "date",
        "scrapedate"
      ],
      "title": "Sort",
      "type": "string"
    },
    "size": {
      "default": 20,
      "description": "Results per page (1–100).",
      "maximum": 100,
      "minimum": 1,
      "title": "Size",
      "type": "integer"
    },
    "search_after": {
      "anyOf": [
        {
          "items": {},
          "type": "array"
        },
        {
          "type": "null"
        }
      ],
      "default": null,
      "description": "Cursor from `next_cursor` of the previous response.",
      "title": "Search After"
    },
    "decision_date_from": {
      "anyOf": [
        {
          "format": "date",
          "type": "string"
        },
        {
          "type": "null"
        }
      ],
      "default": null,
      "description": "Optional lower bound for the decision date (YYYY-MM-DD).",
      "title": "Decision Date From"
    },
    "decision_date_to": {
      "anyOf": [
        {
          "format": "date",
          "type": "string"
        },
        {
          "type": "null"
        }
      ],
      "default": null,
      "description": "Optional upper bound for the decision date (YYYY-MM-DD).",
      "title": "Decision Date To"
    },
    "scrape_date_from": {
      "anyOf": [
        {
          "format": "date",
          "type": "string"
        },
        {
          "type": "null"
        }
      ],
      "default": null,
      "description": "Optional lower bound for the scrape date (YYYY-MM-DD).",
      "title": "Scrape Date From"
    },
    "scrape_date_to": {
      "anyOf": [
        {
          "format": "date",
          "type": "string"
        },
        {
          "type": "null"
        }
      ],
      "default": null,
      "description": "Optional upper bound for the scrape date (YYYY-MM-DD).",
      "title": "Scrape Date To"
    },
    "hierarchy": {
      "anyOf": [
        {
          "items": {
            "type": "string"
          },
          "type": "array"
        },
        {
          "type": "null"
        }
      ],
      "default": null,
      "description": "Optional hierarchy IDs for canton/court/chamber.",
      "title": "Hierarchy"
    },
    "language_filter": {
      "anyOf": [
        {
          "items": {
            "$ref": "#/$defs/Language"
          },
          "type": "array"
        },
        {
          "type": "null"
        }
      ],
      "default": null,
      "description": "Optional filter by document language(s).",
      "title": "Language Filter"
    },
    "include_aggregations": {
      "default": false,
      "description": "Optionally include aggregations.",
      "title": "Include Aggregations",
      "type": "boolean"
    }
  },
  "required": [
    "case_number"
  ],
  "$defs": {
    "Language": {
      "description": "Verfügbare Sprachen der Entscheide.",
      "enum": [
        "de",
        "fr",
        "it"
      ],
      "title": "Language",
      "type": "string"
    }
  },
  "title": "search_by_case_numberArguments"
}

Output Schema

{
  "type": "object",
  "properties": {
    "total": {
      "title": "Total",
      "type": "integer"
    },
    "hits": {
      "items": {
        "$ref": "#/$defs/SearchHit"
      },
      "title": "Hits",
      "type": "array"
    },
    "next_cursor": {
      "anyOf": [
        {
          "items": {},
          "type": "array"
        },
        {
          "type": "null"
        }
      ],
      "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.",
      "title": "Next Cursor"
    },
    "aggregations": {
      "anyOf": [
        {
          "additionalProperties": {
            "items": {
              "$ref": "#/$defs/AggregationBucket"
            },
            "type": "array"
          },
          "type": "object"
        },
        {
          "type": "null"
        }
      ],
      "default": null,
      "title": "Aggregations"
    }
  },
  "required": [
    "total",
    "hits"
  ],
  "$defs": {
    "AggregationBucket": {
      "properties": {
        "key": {
          "title": "Key"
        },
        "count": {
          "title": "Count",
          "type": "integer"
        }
      },
      "required": [
        "key",
        "count"
      ],
      "title": "AggregationBucket",
      "type": "object"
    },
    "SearchHit": {
      "description": "Ein einzelner Such-Treffer.",
      "properties": {
        "id": {
          "title": "Id",
          "type": "string"
        },
        "title": {
          "default": "",
          "title": "Title",
          "type": "string"
        },
        "abstract": {
          "default": "",
          "title": "Abstract",
          "type": "string"
        },
        "text": {
          "default": "",
          "description": "Highlight excerpt from the full text.",
          "title": "Text",
          "type": "string"
        },
        "meta": {
          "default": "",
          "title": "Meta",
          "type": "string"
        },
        "canton": {
          "default": "",
          "title": "Canton",
          "type": "string"
        },
        "court": {
          "default": "",
          "description": "Court (derived from the ID).",
          "title": "Court",
          "type": "string"
        },
        "decision_date": {
          "anyOf": [
            {
              "type": "string"
            },
            {
              "type": "null"
            }
          ],
          "default": null,
          "description": "ISO date YYYY-MM-DD.",
          "title": "Decision Date"
        },
        "scrape_date": {
          "anyOf": [
            {
              "type": "string"
            },
            {
              "type": "null"
            }
          ],
          "default": null,
          "description": "ISO date YYYY-MM-DD.",
          "title": "Scrape Date"
        },
        "is_pdf": {
          "default": false,
          "title": "Is Pdf",
          "type": "boolean"
        },
        "document_url": {
          "anyOf": [
            {
              "type": "string"
            },
            {
              "type": "null"
            }
          ],
          "default": null,
          "description": "Direct download link to the original document.",
          "title": "Document Url"
        },
        "original_url": {
          "anyOf": [
            {
              "type": "string"
            },
            {
              "type": "null"
            }
          ],
          "default": null,
          "description": "URL of the original source web page.",
          "title": "Original Url"
        },
        "content_length": {
          "anyOf": [
            {
              "type": "integer"
            },
            {
              "type": "null"
            }
          ],
          "default": null,
          "description": "Length of the indexed full text in characters. Only set by `fetch_document`.",
          "title": "Content Length"
        },
        "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`.",
          "title": "Text Truncated",
          "type": "boolean"
        },
        "sort": {
          "anyOf": [
            {
              "items": {},
              "type": "array"
            },
            {
              "type": "null"
            }
          ],
          "default": null,
          "description": "Sort values of the hit (for search_after).",
          "title": "Sort"
        }
      },
      "required": [
        "id"
      ],
      "title": "SearchHit",
      "type": "object"
    }
  },
  "description": "Antwort des `search`-Tools.",
  "title": "SearchResponse"
}
🟢fetch_document(id, language)

Fetch a single Swiss court decision, judgment or Federal Supreme Court decision by its document ID (`_id`). Returns the indexed full text of the decision together with metadata, title, abstract and links. Use this when the full decision should be read or processed after a search. Note: for very long decisions the indexed text is capped at 100,000 characters; if `text_truncated` is true, the complete document is available at `document_url`.

Input Schema

{
  "type": "object",
  "properties": {
    "id": {
      "description": "Document ID (e.g. 'CH_BGer_001_5A_123_2024_2024-06-15').",
      "title": "Id",
      "type": "string"
    },
    "language": {
      "anyOf": [
        {
          "$ref": "#/$defs/Language"
        },
        {
          "type": "null"
        }
      ],
      "default": null,
      "description": "Optional preferred language for title/abstract. If omitted, the first available language field is returned."
    }
  },
  "required": [
    "id"
  ],
  "$defs": {
    "Language": {
      "description": "Verfügbare Sprachen der Entscheide.",
      "enum": [
        "de",
        "fr",
        "it"
      ],
      "title": "Language",
      "type": "string"
    }
  },
  "title": "fetch_documentArguments"
}

Output Schema

{
  "type": "object",
  "properties": {
    "result": {
      "anyOf": [
        {
          "$ref": "#/$defs/SearchHit"
        },
        {
          "type": "null"
        }
      ]
    }
  },
  "required": [
    "result"
  ],
  "$defs": {
    "SearchHit": {
      "description": "Ein einzelner Such-Treffer.",
      "properties": {
        "id": {
          "title": "Id",
          "type": "string"
        },
        "title": {
          "default": "",
          "title": "Title",
          "type": "string"
        },
        "abstract": {
          "default": "",
          "title": "Abstract",
          "type": "string"
        },
        "text": {
          "default": "",
          "description": "Highlight excerpt from the full text.",
          "title": "Text",
          "type": "string"
        },
        "meta": {
          "default": "",
          "title": "Meta",
          "type": "string"
        },
        "canton": {
          "default": "",
          "title": "Canton",
          "type": "string"
        },
        "court": {
          "default": "",
          "description": "Court (derived from the ID).",
          "title": "Court",
          "type": "string"
        },
        "decision_date": {
          "anyOf": [
            {
              "type": "string"
            },
            {
              "type": "null"
            }
          ],
          "default": null,
          "description": "ISO date YYYY-MM-DD.",
          "title": "Decision Date"
        },
        "scrape_date": {
          "anyOf": [
            {
              "type": "string"
            },
            {
              "type": "null"
            }
          ],
          "default": null,
          "description": "ISO date YYYY-MM-DD.",
          "title": "Scrape Date"
        },
        "is_pdf": {
          "default": false,
          "title": "Is Pdf",
          "type": "boolean"
        },
        "document_url": {
          "anyOf": [
            {
              "type": "string"
            },
            {
              "type": "null"
            }
          ],
          "default": null,
          "description": "Direct download link to the original document.",
          "title": "Document Url"
        },
        "original_url": {
          "anyOf": [
            {
              "type": "string"
            },
            {
              "type": "null"
            }
          ],
          "default": null,
          "description": "URL of the original source web page.",
          "title": "Original Url"
        },
        "content_length": {
          "anyOf": [
            {
              "type": "integer"
            },
            {
              "type": "null"
            }
          ],
          "default": null,
          "description": "Length of the indexed full text in characters. Only set by `fetch_document`.",
          "title": "Content Length"
        },
        "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`.",
          "title": "Text Truncated",
          "type": "boolean"
        },
        "sort": {
          "anyOf": [
            {
              "items": {},
              "type": "array"
            },
            {
              "type": "null"
            }
          ],
          "default": null,
          "description": "Sort values of the hit (for search_after).",
          "title": "Sort"
        }
      },
      "required": [
        "id"
      ],
      "title": "SearchHit",
      "type": "object"
    }
  },
  "title": "fetch_documentOutput"
}
🟢list_hierarchy(query, size)

Returns the available hierarchy IDs for Swiss cantons, courts and chambers together with document counts. Useful for narrowing subsequent searches to the Federal Supreme Court, cantonal courts, Obergerichte or Verwaltungsgerichte.

Input Schema

{
  "type": "object",
  "properties": {
    "query": {
      "default": "*",
      "description": "Optional full-text query.",
      "title": "Query",
      "type": "string"
    },
    "size": {
      "default": 1000,
      "description": "Maximum number of entries.",
      "maximum": 10000,
      "minimum": 1,
      "title": "Size",
      "type": "integer"
    }
  },
  "title": "list_hierarchyArguments"
}

Output Schema

{
  "type": "object",
  "properties": {
    "entries": {
      "items": {
        "$ref": "#/$defs/HierarchyEntry"
      },
      "title": "Entries",
      "type": "array"
    }
  },
  "required": [
    "entries"
  ],
  "$defs": {
    "HierarchyEntry": {
      "properties": {
        "id": {
          "title": "Id",
          "type": "string"
        },
        "count": {
          "title": "Count",
          "type": "integer"
        }
      },
      "required": [
        "id",
        "count"
      ],
      "title": "HierarchyEntry",
      "type": "object"
    }
  },
  "title": "HierarchyResponse"
}
🟢list_facets

Hierarchical facet tree with localized labels for cantons, courts and chambers. The `id` fields can be used in the `hierarchy` filter of the search.

Input Schema

{
  "type": "object",
  "properties": {},
  "title": "list_facetsArguments"
}

Output Schema

{
  "type": "object",
  "properties": {
    "result": {
      "items": {
        "additionalProperties": true,
        "type": "object"
      },
      "title": "Result",
      "type": "array"
    }
  },
  "required": [
    "result"
  ],
  "title": "list_facetsOutput"
}
⚪server_info

Version info and configured endpoint URLs of the MCP server for Swiss case law and court decisions.

Input Schema

{
  "type": "object",
  "properties": {},
  "title": "server_infoArguments"
}

Output Schema

{
  "type": "object",
  "additionalProperties": true,
  "title": "server_infoDictOutput"
}

Recommended Prompts

search_research
Search for information about [topic] using Entscheidsuche — Schweizer Gerichtsentscheide
Expected tools: search
fetch_info
Fetch [information type] using Entscheidsuche — Schweizer Gerichtsentscheide
Expected tools: fetch_document
retrieve_data
Get details about [item] from Entscheidsuche — Schweizer Gerichtsentscheide
Expected tools: fetch_document
list_items
List all [items] available in Entscheidsuche — Schweizer Gerichtsentscheide
Expected tools: list_hierarchy
find_specific
Find [specific item] using Entscheidsuche — Schweizer Gerichtsentscheide
Expected tools: search

Community

Rate this Server

Evidence

Recent observations

verifiedversion not recorded6 tools
verifiedversion not recorded6 tools