Entscheidsuche — Schweizer Gerichtsentscheide

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

我该使用它吗

质量与安全性

A
描述质量
97%
模式完整度
67%
命名质量
97%
投毒风险
100%
权限匹配度
100%
协议合规性
100%

基于对工具定义和协议合规性的自动分析。

上下文开销

~3,948token 数(工具定义)
~6.9 KB典型响应大小
对注意力有显著影响(占 128k 上下文窗口的 3.08%)

这是每次将服务器的工具加载到模型上下文窗口时所消耗的大致 token 数。数值越高,可用于其他任务的注意力就越少。

安装

一键安装

将以下内容添加到你的 `claude_desktop_config.json` 文件中:

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

远程端点

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

它能做什么

工具清单

工具(6)

🟢 只读🟡 写入🔴 删除⚪ 未知
🟢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.

输入模式

{
  "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"
}

输出模式

{
  "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.

输入模式

{
  "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"
}

输出模式

{
  "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`.

输入模式

{
  "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"
}

输出模式

{
  "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.

输入模式

{
  "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"
}

输出模式

{
  "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.

输入模式

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

输出模式

{
  "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.

输入模式

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

输出模式

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

推荐提示词

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

社区

评价此服务器

证据

最近观测

已验证未记录版本6 个工具
已验证未记录版本6 个工具
已验证未记录版本6 个工具