OpenCaseLaw — Swiss Caselaw, Statutes & Doctrine
ch.opencaselaw/swiss-caselaw
Serveur MCP OK 42 outils
À quoi ça sert
Donne accès à la jurisprudence suisse en allemand, français et italien : recherche de décisions (`search_decisions`), texte complet (`get_decision`), citations, chaîne d'appel et arrêts les plus cités sur un sujet.
Résumé rédigé par L’Atlas le 29 nov. 2026, reformulé seulement à partir de la description de l’auteur et des outils vus par notre test. Texte de l’auteur ci-dessous.
1M+ Swiss court decisions, statutes & doctrine with citation graph (DE/FR/IT). CC0, free, 42 tools.
Fiche technique
- Auteur
- opencaselaw.ch (espace de noms du registre)
- Dépôt
- github.com/jonashertner/caselaw-repo-1
- Site
- opencaselaw.ch
- Version
- 1.3.0
- Transport
- Streamable HTTP SSE
- Authentification
- Aucune (constatée par notre test)
- Adresse du serveur
- https://mcp.opencaselaw.ch/mcp Streamable HTTP
https://mcp.opencaselaw.ch/sse SSE - Outils
- 42
- Catégories
- —
- Dernière mise à jour
- 31 juil. 2026
- Publication
- 31 juil. 2026
Auteur vérifié et popularité
Fiche pas encore revendiquée. C’est votre projet ? Revendiquez-la
Pas « Populaire » pour l’instant Retiré tout seul dès que les critères ne sont plus remplis.
- Visiteurs distincts de la fiche sur 30 jours : 0 (il en faut 30) pas encore
- ou configurations d’installation copiées sur 30 jours : 0 (il en faut 5) pas encore
- et un test réussi de moins de 14 jours : testé le 28 nov. 2026 rempli
Badge à jour tout seul. Toujours « testé le … », jamais « certifié ». Comment ça marche
[](https://latlas.dev/mcp/ch.opencaselaw/swiss-caselaw)<a href="https://latlas.dev/mcp/ch.opencaselaw/swiss-caselaw"><img src="https://latlas.dev/badge/statut/mcp/ch.opencaselaw/swiss-caselaw.svg" alt="Statut sur L’Atlas" height="20"></a>Badge pour votre README
Gratuit, pour toute fiche. Il renvoie vers cette fiche et affiche « testé OK » tant que notre dernier test est réussi.
[](https://latlas.dev/mcp/ch.opencaselaw/swiss-caselaw)<a href="https://latlas.dev/mcp/ch.opencaselaw/swiss-caselaw"><img src="https://latlas.dev/badge/fiche/ch.opencaselaw/swiss-caselaw.svg" alt="Référencé sur L’Atlas" height="20"></a>Nos tests
Chaque semaine : initialize puis tools/list, sans identifiant, sans jamais appeler d’outil. Méthode
- Adresse
- https://mcp.opencaselaw.ch/mcp
- Dernier résultat
- OK 28 nov. 2026, 08:11
- Temps de réponse
- 705 ms (initialize + tools/list)
- Version du protocole
- 2025-11-25
- Nom annoncé
- swiss-caselaw e0b5a2f1
- Outils
- 42
- Adresse
- https://mcp.opencaselaw.ch/sse
- Dernier résultat
- OK 28 nov. 2026, 08:11
- Temps de réponse
- 412 ms (initialize + tools/list)
- Version du protocole
- 2024-11-05
- Nom annoncé
- swiss-caselaw e0b5a2f1
- Outils
- 42
Historique
| Date | Adresse | Résultat | Réponse | Outils |
|---|---|---|---|---|
| 28 nov. 2026, 08:11 | mcp.opencaselaw.ch/sse | OK | 412 ms | 42 |
| 28 nov. 2026, 08:11 | mcp.opencaselaw.ch/mcp | OK | 705 ms | 42 |
Outils exposés (42, réponse à tools/list, 28 nov. 2026)
search
Search decisions (basic)
Minimal search tool following the deep-research search/fetch convention. Returns a ranked list of Swiss court decisions matching a query, each as {id, title, url, snippet}. Pair with `fetch` to retrieve a decision's full text by id. General (non-deep-research) clients should prefer `search_decisions`, which exposes filters (court, canton, date, language) and richer metadata. Relevance-ranked, so not the way to the newest rulings: use search_decisions with sort='date_desc' or published_from, and expect the newest decision dates to trail today, since courts publish weeks to months after deciding.
| Paramètre | Type | Requis | Description |
|---|---|---|---|
| query | string | oui | Natural-language or keyword query. |
| limit | integer | non | Max results (default 10, max 50). |
fetch
Fetch decision (basic)
Minimal fetch tool following the deep-research search/fetch convention. Fetches one Swiss decision's full text by id, returning {id, title, text, url, metadata}. The id comes from a `search` result (a decision_id like bger_6B_1234_2025; a docket number or BGE reference also resolves). General clients should prefer `get_decision`.
| Paramètre | Type | Requis | Description |
|---|---|---|---|
| id | string | oui | Decision id from a search result (decision_id, docket, or BGE reference). |
search_decisions
Search decisions
Use this tool to find COURT DECISIONS (Rechtsprechung): 1,040,000+ Swiss federal and cantonal decisions plus ~2,800 ECtHR decisions concerning Switzerland. Full-text search with keywords, phrases (in quotes), Boolean operators (AND, OR, NOT), prefix matching (word*), docket lookup (6B_1234/2025) and column-scoped search (regeste:keyword). Filter by court, canton, language, date range, chamber. Results are relevance-ranked and enriched with citation counts, statute references and is_leading_case. Use offset to page. Newest decision dates: empty query + sort='date_desc' + court filter; they trail today by weeks or months because courts publish after they decide, which is the courts' lag, not this corpus's. Newly PUBLISHED decisions (alerts): published_from + sort='published_desc'. Not for statutes (search_laws), commentary (search_scholarship), or administrative guidance (search_practice).
| Paramètre | Type | Requis | Description |
|---|---|---|---|
| query | string | non | Search query. Best results: 3-8 precise terms, one search per legal issue — never paste document text. Max 4,000 chars; input over 500 chars is auto-condensed to its citations + key terms. Examples: - Simple: Mietrecht Kündigung - Phrase: "Treu und Glauben" - Boolean: Arbeitsrecht AND Kündigung NOT… |
| court | string | non | Filter by court code. Federal: bger, bge, bvger, bstger, bpatger, mkg. European Court of Human Rights: bge_egmr (BGE-published DE translations, Swiss cases), hudoc_ch (HUDOC Switzerland-tagged), ecthr_chamber and ecthr_grand_chamber (all respondent states, importance 1-3, FR or EN). ecthr_committee… |
| canton | string | non | Filter by canton (CH for federal, ZH, BE, GE, etc.) |
| language | enum: "de" | "fr" | "it" | "rm" | "en" | non | OPTIONAL filter. Restricts results to ONE language. Omit (recommended default) to search across all languages — Swiss federal decisions are issued in DE, FR, or IT depending on the case, so a language filter silently excludes valid hits in the other two. Set ONLY when the user explicitly asks for a… |
| date_from | string | non | Decided on or after this date (YYYY-MM-DD): decision_date, not publication_date. |
| date_to | string | non | Decided on or before this date (YYYY-MM-DD): decision_date, not publication_date. |
| published_from | string | non | Only decisions the court PUBLISHED on or after this date (YYYY-MM-DD) — publication_date, not decision_date. Use this, not date_from, for a 'what is newly published' alert: the Federal Supreme Court often publishes weeks or months after it rules. May be limited to decisions decided up to 18 months… |
| published_to | string | non | Only decisions published on or before this date (YYYY-MM-DD, inclusive). Requires published_from. |
| chamber | string | non | Filter by chamber/division (substring match). Examples: 'Abteilung V' (BVGer asylum), 'Zivilrechtliche', 'CASSO', 'Strafrechtliche' |
| marked_for_publication | boolean | non | If true, return only Federal Supreme Court rulings flagged for the official BGE collection (the Neuheiten '*' marker, 'für die Publikation vorgesehen') — future leading cases, flagged before the BGE number is assigned. Populated for BGer decisions published from mid-2026 onward; older rows are unfl… |
| limit | integer | non | Max results to return (max 2000). Omit to use default of 50. Do not set low values like 5 or 10 unless the user explicitly asked for fewer results. |
| offset | integer | non | Skip this many results (for pagination). Default 0. |
| sort | enum: "relevance" | "date_desc" | "date_asc" | "published_desc" | non | Sort order: 'relevance' (default for FTS), 'date_desc' / 'date_asc' (decision_date), 'published_desc' (newest publication_date first; decisions without one last). |
| fields | enum: "full" | "compact" | non | Response detail level: 'full' (default) includes snippet/regeste/URL, 'compact' returns only docket, date, court, language, decision_id. |
| include_pinpoint | boolean | non | Attach a pinpoint Erwägung citation to the top results when a confident match exists (BM25 over the per-decision Erwägungen FTS5 index, gap-confidence ≥ medium). Defaults true; set false to skip the per-result lookup (typically saves 0.2-2 s on the top 5 results; more for long or statute-heavy quer… |
get_decision
Get decision
Fetch a single court decision with full text. Look up by decision_id (e.g., bger_6B_1234_2025), docket number (e.g., 6B_1234/2025), or partial match. Full text is truncated at 200,000 characters for very long decisions. Set full_text=false to get only metadata and regeste.
| Paramètre | Type | Requis | Description |
|---|---|---|---|
| decision_id | string | oui | Decision ID, docket number, or partial docket |
| full_text | boolean | non | Include full text in response (default true). Set false to get only metadata and regeste. |
get_decisions
Get decisions (batch)
Use this tool to fetch SEVERAL decisions at once (1-10 ids) instead of calling get_decision repeatedly. Same data per decision — canonical citation strings, Markdown link, Regeste, metadata — in ONE call. Prefer this whenever you are about to read more than one decision from a search result: it is the difference between one tool call and ten, which matters because clients cap tool calls per turn. full_text defaults to FALSE here (unlike get_decision) because ten full judgments exceed connector response limits; set it true only for a short id list, and each text is excerpted with the cut disclosed. Ids not found are reported individually — the rest of the batch still returns.
| Paramètre | Type | Requis | Description |
|---|---|---|---|
| decision_ids | array<string> | oui | Decision ids, docket numbers or BGE references (e.g. ['bge_BGE_140_III_86', '6B_1234/2025']). |
| full_text | boolean | non | Include an excerpt of each decision's full text (default false — Regeste + metadata only). |
| max_chars_per_decision | integer | non | Per-decision text cap when full_text is true (default 20,000; total response stays under connector limits). |
list_courts
List courts
List all available courts with decision counts, decision-date ranges, and language coverage. Use this to discover what data is available. A court's latest decision date is not its last update: courts publish weeks to months after deciding, and this corpus is updated daily.
Aucun paramètre.
get_statistics
Corpus statistics
Get aggregate statistics about the dataset. Optionally filter by court, canton, or year. by_year counts decision years: the latest years keep rising for months as courts publish, so their lower counts are publication lag, not missing data.
| Paramètre | Type | Requis | Description |
|---|---|---|---|
| court | string | non | Filter by court code |
| canton | string | non | Filter by canton code |
| year | integer | non | Filter by year |
find_citations
Find citations
Given a decision_id, show what it cites and what cites it. Uses the reference graph database with 9.65M citation edges. Returns resolved citations with confidence scores and unresolved references.
| Paramètre | Type | Requis | Description |
|---|---|---|---|
| decision_id | string | oui | Decision ID (e.g., bger_6B_1_2025) |
| direction | enum: "both" | "outgoing" | "incoming" | non | Citation direction: 'both' (default), 'outgoing', or 'incoming' |
| min_confidence | number | non | Minimum confidence score for resolved citations (0-1, default 0.3) |
| limit | integer | non | Max citations per direction per page (default 50, max 200) |
| offset | integer | non | Pagination offset per direction (default 0). The response reports *_total and *_has_more; when has_more is true, re-query with offset=next_offset to retrieve the rest (heavily-cited leading decisions exceed the 200-per-page cap). |
find_appeal_chain
Find appeal chain
Trace the appeal chain (Instanzenzug) for a decision. Shows prior instances (lower courts) and subsequent instances (appeals to higher courts). Reconstructs the full procedural path, e.g. Bezirksgericht → Obergericht → Bundesgericht. Uses the is_prior_instance flag from decision headers.
| Paramètre | Type | Requis | Description |
|---|---|---|---|
| decision_id | string | oui | Decision ID (e.g., bger_6B_1_2025) |
| min_confidence | number | non | Minimum confidence score (0-1, default 0.3) |
find_leading_cases
Find leading cases
Find the most-cited decisions for a topic or statute. Authority ranking based on citation graph, so recent decisions rank low (not yet cited); for the newest use search_decisions(sort='date_desc'). A free-text topic ranks decisions whose regeste carries the query terms first (`regeste_match`: share of terms found, null without a regeste). Filter by statute (law_code + article), topic query, court, and date range. Top-3 results auto-attach a `pinpoint` field {e_number, matched_sentence, confidence, url, score, source} anchoring the most-relevant Erwägung (surface it as 'E. ' when confidence is high or medium). Each result also carries citation_string_{de,fr,it} + canonical_url + is_leading_case + citation_count for ready-to-quote Swiss-format citations. A statute reference inside `query` ("Art. 29 BV") is used as the statute filter. When the query excludes every candidate, the page is relaxed to ranked OR and flagged `filters_relaxed: true` with a `note` — nearest neighbours, not on-point authority.
| Paramètre | Type | Requis | Description |
|---|---|---|---|
| query | string | non | Optional text query to filter by topic (FTS search) |
| law_code | string | non | Optional law code (e.g., BV, OR, ZGB, EMRK, StGB) |
| article | string | non | Optional article number (requires law_code) |
| court | string | non | Optional court filter (e.g., bger, bge, bvger) |
| date_from | string | non | Optional start date (YYYY-MM-DD) |
| date_to | string | non | Optional end date (YYYY-MM-DD) |
| limit | integer | non | Max results (default 20, max 100) |
| include_pinpoint | boolean | non | Attach a pinpoint Erwägung citation to the top 3 leading cases when a confident match exists. Defaults true. |
analyze_legal_trend
Analyze legal trend
Year-by-year decision counts showing jurisprudence evolution. Use with a statute reference (law_code + article), a text query, or both. Returns yearly counts with visual bar chart. Years are decision years: the latest one or two keep rising as courts publish weeks to months after deciding, so a dip at the end is publication lag, not a trend or a gap.
| Paramètre | Type | Requis | Description |
|---|---|---|---|
| query | string | non | Optional text query (FTS search) |
| law_code | string | non | Optional law code (e.g., BV, OR, EMRK). Requires article. |
| article | string | non | Article number (requires law_code) |
| court | string | non | Optional court filter |
| date_from | string | non | Optional start date (YYYY-MM-DD) |
| date_to | string | non | Optional end date (YYYY-MM-DD) |
draft_mock_decision
Draft mock decision
Build a research-only mock decision outline from user facts. Combines relevant Swiss case law retrieval with statute references. If possible, enriches statutes with Fedlex text excerpts. IMPORTANT: The tool may return clarification questions (high/medium priority). High-priority clarifications must be answered (via the clarifications parameter) before the tool will provide a conclusion. Call again with clarifications to get the full analysis.
| Paramètre | Type | Requis | Description |
|---|---|---|---|
| facts | string | oui | Detailed facts of the hypothetical or real case. |
| question | string | non | Optional legal question to decide. |
| preferred_language | enum: "de" | "fr" | "it" | "rm" | "en" | non | Output/analysis language preference. |
| deciding_court | string | non | Hypothetical deciding court (e.g., bger, bvger). |
| statute_references | array<object> | non | Optional explicit statute list. Each item: {law_code, article, paragraph?}. |
| fedlex_urls | array<string> | non | Optional Fedlex URLs used to fetch statute text. Useful when no built-in URL mapping is available. |
| clarifications | array<object> | non | Optional answers to prior clarification questions. Each item: {id, answer}. The tool withholds conclusion until high-priority clarifications are answered. |
| limit | integer | non | Number of case-law exemplars (default 8, max 20). |
get_case_brief
Case brief
Structured case brief: regeste, Sachverhalt, key Erwägungen (first 12 only — for orientation, NOT a pinpoint ranking), Dispositiv, statutes, citation authority, related cases. Accepts BGE ref, decision_id, or docket. To pinpoint which Erwägung supports a specific claim, use find_relevant_erwaegung — never guess from key_erwaegungen alone.
| Paramètre | Type | Requis | Description |
|---|---|---|---|
| case | string | oui | Any case reference: BGE ref ('BGE 133 III 121', '133 III 121'), decision_id ('bge_BGE_133_III_121'), or docket number. |
get_decision_structure
Decision structure
Structured decision fields: Sachverhalt (facts), Erwägungen as numbered paragraphs ('1', '1.1', '2.3'), Dispositiv (ruling), Regeste (BGE only). Federal decisions only; for cantonal use get_decision. Returns excerpts; for verbatim full text of one Erwägung, use get_erwaegung. PINPOINT POLICY: never guess. If user gave an e_number → verify with get_erwaegung. If user gave only a claim → use find_relevant_erwaegung (FTS5+BM25 with confidence labels). If neither is confident, report no_match — do NOT default to E. 3.1.
| Paramètre | Type | Requis | Description |
|---|---|---|---|
| decision_id | string | oui | decision_id ('bger_5A_42_2026', 'bge_140 III 86'), BGE reference, or docket number. |
get_erwaegung
Get Erwägung (verbatim)
Verbatim text of ONE numbered Erwägung — the citable unit in Swiss practice (e.g. 'BGE 136 III 513 E. 2.3'). Use when the user already gave an e_number. If only a claim was given (no e_number): use find_relevant_erwaegung — never guess. Returns text + sibling Erwägung numbers; a parent (E. 2.2) includes its sub-Erwägungen in order, each also under `parts`. e_number: '1', '4.1', '5.2.1', …
| Paramètre | Type | Requis | Description |
|---|---|---|---|
| decision_id | string | oui | decision_id, BGE reference, or docket number. |
| e_number | string | oui | Erwägung number to retrieve (e.g. '2', '2.3', '5.2.1'). Leading 'E.' is stripped if present. |
find_relevant_erwaegung
Find relevant Erwägung
Find which Erwägung paragraph(s) match a legal claim. Server-side FTS5+BM25 over per-paragraph text; returns top-k with confidence labels (high/medium/low) and a highlighted_snippet wrapping the matched sentence in … (quote it verbatim). When no_match=true or confidence=low, do NOT cite any Erwägung — report no_match. Federal decisions only. Replaces the 'always-E.-3.1' guessing pattern.
| Paramètre | Type | Requis | Description |
|---|---|---|---|
| decision_id | string | oui | decision_id, BGE reference, or docket number. Must be a federal decision (structured Erwägungen). |
| claim | string | oui | Free-text legal claim or proposition the user wants to verify against the decision. The more specific, the higher the confidence. |
| top_k | integer | non | Number of top matches to return (default 3, max 10). |
get_article_purpose
Article purpose (ratio legis)
Return verbatim text from the Federal Council Botschaft (or Erläuterungsbericht) explaining the legislative purpose of a specific article. Joins the verbatim Botschaft corpus (post-2003 BBl publications, Akoma Ntoso XML where available, PDF fallback otherwise) with the article-Botschaft link table. Returns one entry per source — original Botschaft + any amendment Botschaften. All paragraphs are verbatim text to quote with `bbl_citation, S. {printed_page}`; printed_page null = cite without a pinpoint. Draft statute text comes apart in `draft_texts` and is not an explanation. USE THIS when the user asks 'what was the purpose of Art. X' or 'what did Parliament intend' or 'why does Art. X exist'. Coverage is rolling — empty `sources` means the verbatim corpus hasn't ingested that article's Botschaft yet; fall back to get_doctrine for the digest layer.
| Paramètre | Type | Requis | Description |
|---|---|---|---|
| sr_number | string | oui | SR (Systematische Rechtssammlung) number of the law, e.g. '220' for OR (Obligationenrecht), '101' for BV, '311.0' for StGB. |
| article | string | oui | Article number, e.g. '41' for Art. 41 OR. Letter-suffixed forms like '41a' supported. |
| language | enum: "de" | "fr" | "it" | non | Botschaft language (defaults to German). |
| max_paragraphs | integer | non | Maximum paragraphs per Botschaft (default 8, max 20). |
search_botschaft
Search Botschaft
Retrieve and quote the VERBATIM text of federal Materialien: Federal Council Botschaften, Berichte and Stellungnahmen des Bundesrates, parliamentary committee reports, Erlassentwürfe — and the Vernehmlassung documents: Erläuternde Berichte, Vorlagen, Ergebnisberichte, Stellungnahmen (2,500+ procedures from Fedlex). Each hit is tagged `doc_type`; filter with doc_type, default all. Bundesblatt hits come in `results` (bbl_citation, title, publication_date from Fedlex where available — `publication_date_source` says whether it is Fedlex's date or only the BBl year — page, section, article anchor); Vernehmlassung passages come in `vernehmlassung_results` (or in `results` when doc_type is a Vernehmlassung type), with the whole paragraph `text`, PDF page, procedure title, dates, office and Fedlex ELI link. Use it when starting from a concept rather than an SR/article (get_article_purpose answers 'why does Art. X exist?'). Quote verbatim. No paragraph with every term: ranked OR, flagged `filters_relaxed`.
| Paramètre | Type | Requis | Description |
|---|---|---|---|
| query | string | oui | Search terms. FTS5 syntax supported — use quoted phrases for exact matches ('"Vaterschaftsurlaub"'), Boolean operators ('Klimaschutz AND Kanton'), and prefix queries ('Versicherungs*'). Stopwords are ignored. |
| language | enum: "de" | "fr" | "it" | non | OPTIONAL — only set when the user explicitly limits the search to one language. Leave unset to search the corpus the caller has (currently de only). Setting this without the user asking will hide all non-matching Botschaft passages. |
| year_min | integer | non | Earliest publication year of the source Botschaft (inclusive) — scope legislative history to an era. |
| year_max | integer | non | Latest publication year of the source Botschaft (inclusive). |
| doc_type | enum: "botschaft" | "bericht_bundesrat" | "stellungnahme_bundesrat" | "bericht_kommission" | "erlassentwurf" | "vorentwurf_erlass" | "vernehmlassung_eroeffnung" | "erlaeuternder_bericht" … | non | OPTIONAL Fedlex document type. botschaft = Botschaft des Bundesrates (Message / Messaggio); bericht_bundesrat = Bericht des Bundesrates; stellungnahme_bundesrat = Stellungnahme des Bundesrates (Avis / Parere); bericht_kommission = Bericht parlamentarische Kommission; erlassentwurf = Erlassentwurf (… |
| limit | integer | non | Max passages to return (default 20, max 50). |
get_article_history
Article history
Chronological story of a single statute article: current text + every linked Botschaft (enacted + amendments) + leading court interpretations + doctrinal commentary, all ordered by date. Combines statutes.db, materialien.db, reference_graph.db, and ok_commentaries.db into one timeline. USE THIS when the user asks 'how did Art. X evolve' or 'what's the full picture on Art. X' — a single call returns the legislative + judicial + doctrinal arc.
| Paramètre | Type | Requis | Description |
|---|---|---|---|
| sr_number | string | oui | SR number of the federal law, e.g. '220' for OR. |
| article | string | oui | Article number, e.g. '41' for Art. 41 OR. |
| language | enum: "de" | "fr" | "it" | non | |
| leading_cases_limit | integer | non | Max leading cases (default 5, max 15). |
get_regeste
Get Regeste
Get the official Regeste (head-note) of a Swiss court decision. The Regeste is the court's own formulation of the legal rule established — for BGEs especially, this is the canonical citation target. Often references specific Erwägungen via '(E. 5.2.1)' which can then be retrieved verbatim with get_erwaegung. USE THIS when the user asks 'what does this case stand for' or 'what is the rule from this decision'. Available for ~54% of federal decisions (100% of BGE).
| Paramètre | Type | Requis | Description |
|---|---|---|---|
| decision_id | string | oui | decision_id, BGE reference, or docket number. |
check_claim_support
Check claim support
Verify whether a Swiss court decision actually supports a legal claim. Uses an independent Sonnet judge to compare the claim against verbatim text from the decision (Erwägung if pinpoint given, else Regeste, else first portion of full text). Returns {supports: yes|partial|no|contradicts|unrelated, confidence, supporting_excerpt, qualifying_excerpt, reasoning}. CALL THIS for any claim where citing the wrong authority would mislead the user — especially when paraphrasing a decision or drawing a proposition from a complex Erwägung. If supports=no or contradicts, do NOT use the cited decision for that claim.
| Paramètre | Type | Requis | Description |
|---|---|---|---|
| claim | string | oui | The legal proposition you want to verify (e.g., 'A landlord is liable for fire-police violations under Art. 256 OR.'). |
| decision_id | string | oui | Decision you intend to cite as authority. |
| pinpoint | string | non | Optional Erwägung number ('2.3'). If given, only that paragraph is judged; more precise verdict. |
attest_response
Attest response
MANDATORY FINAL-STEP AUDIT of your draft answer. Checks five hallucination classes: (1) every case citation (BGE/BGer/BVGer/BStGer/BPatGer/MKGE, FR/IT forms) exists and any pinpoint (E. X.Y) resolves to a real Erwägung; (2) every 'Art. X LAW' statute reference resolves; (3) quoted passages (60-400 chars) near a citation or statute reference are verbatim in that source (DE/FR/IT; audit_quotes, on by default); (4) decision dates adjacent to citations match the stored dates; (5) with audit_grounding=true, an LLM judge checks that each cited source supports the preceding claim (one call, ~3 s). Returns the annotated draft, an issues list and a `ledger` (denominator per check). It certifies the draft's own citations, quotations and statute references; it does not certify that no relevant authority is missing. CALL THIS BEFORE emitting any answer with a case citation, statute reference or quotation; set audit_grounding=true for 2+ citations. If ok=false, fix each issue; if ok=true, send linked_text verbatim.
| Paramètre | Type | Requis | Description |
|---|---|---|---|
| draft_text | string | oui | Your draft response text. |
| audit_grounding | boolean | non | When true, additionally runs the LLM-judge grounding rail: for each verified case citation in the draft, the preceding claim sentence is checked against the cited Erwägung / Regeste / text by an independent Sonnet judge. Catches the 'reasoning error' class (real citation, unsupported proposition).… |
| audit_quotes | boolean | non | Verifies that every quoted passage (60-400 chars) within ~250 chars of a case citation or an 'Art. X LAW' reference appears verbatim in the cited decision or in that statute article (DE/FR/IT). On by default since 2026-09-05 (0.0 % false positives measured on 3,964 statute paragraphs after the foot… |
cite
Canonical citation
Get the canonical Swiss citation string for a decision reference. CALL THIS BEFORE writing any case citation in your response. Returns ready-to-embed citation_string (DE/FR/IT variants plus a canonical URL) and a verbatim rule_statement. If the reference doesn't exist, returns exists=false plus close_matches for typo-correction — DO NOT guess or construct citations yourself; if you get exists=false, either re-query with a close match or skip the citation entirely. Accepts any Swiss reference form: decision_id (bger_4A_747_2012), BGE reference (BGE 140 III 86), or docket number (4A_747/2012). Optional pinpoint ('2.3') generates the Erwägung-anchored citation and URL. A pinpoint the decision does not contain returns pinpoint_valid=false plus the UNPINPOINTED citation_string — never re-append the rejected pinpoint to it.
| Paramètre | Type | Requis | Description |
|---|---|---|---|
| reference | string | oui | Any form of Swiss case reference: decision_id, BGE ref, or docket number. E.g. 'BGE 140 III 86', '4A_747/2012', 'bger_4A_747_2012', 'MKGE 16 Nr. 1'. |
| pinpoint | string | non | Optional Erwägung/consid. number ('2.3', '5.2.1'). Included in the citation and as a #e-2-3 URL anchor. |
| language | enum: "de" | "fr" | "it" | non | Primary language for the citation_string field (all three variants always returned). Default: de. |
get_doctrine
Get doctrine
Get statute text + leading cases + doctrinal timeline + Federal Council Botschaft (legislative intent) + scholarly commentary for a Swiss law article or legal concept. ALWAYS USE THIS for questions about the purpose, intent, or ratio legis of a provision — it returns the Botschaft (Materialien) alongside the case law. Input: statute reference ('Art. 41 OR', 'Art. 8 BV') or legal concept. Returns: current statute text, top 5-8 BGEs ranked by citation authority with the rule each establishes, doctrine evolution timeline, Botschaft reference (legislative intent from the Federal Council's message), and scholarly commentary excerpt from OnlineKommentar.ch when available.
| Paramètre | Type | Requis | Description |
|---|---|---|---|
| query | string | oui | Statute article ('Art. 41 OR', 'Art. 8 BV') or legal concept ('Tierhalterhaftung', 'culpa in contrahendo'). German preferred. |
generate_exam_question
Generate exam question
Generate a Swiss law exam practice question (Fallbearbeitung) based on a real BGE. Returns a fact pattern (Sachverhalt) from a real court decision and a hidden analysis (applicable statutes, leading case, legal test, correct outcome). Workflow: present the fact_pattern and hint to the student, wait for their analysis, then reveal the analysis field and compare. The student can then call get_case_brief(source_decision_id) to study the full case. Pass exclude_ids from previous calls to avoid repeating the same case.
| Paramètre | Type | Requis | Description |
|---|---|---|---|
| topic | string | oui | Legal area, statute, or concept. Examples: 'Haftpflichtrecht', 'Art. 41 OR', 'Mietrecht', 'Strafrecht', 'Vertragsrecht'. |
| exclude_ids | array<string> | non | decision_ids already used in this session — avoids repetition. |
get_law
Get law
AUTHORITATIVE LOOKUP for the text of any Swiss law article — federal OR cantonal. Federal (canton='CH', default): Fedlex mirror, all federal acts (OR, ZGB, StGB, ZPO, StPO, BV, SchKG, BGG, DBG, KVG …) in DE/FR/IT; names match in any language, case, dots or spaces (Cst, OPP2), treaties by common name (IPBPR, KRK, CISG) and former names (OG → BGG; as_of gives the old edition). Cantonal: live from LexFind, all 26 cantons, canton's language; `mirror_notice` marks an older local copy (say so), `lookup_failed` means unchecked, not absent. Name it 'ZH/StG' or pass canton. Use this BEFORE relying on training-data recall — statute text changes often and LLMs hallucinate article content. With as_of: the Fedlex edition in force on that date (snapshot_date, link); always tell the user the edition date. PDF-only editions carry `text_status` 'heading_only'/'empty' = no article text; say so and give the Fedlex link. Examples: get_law(abbreviation='BV', article='8'); get_law(canton='ZH', sr_number='554.5', article='1').
| Paramètre | Type | Requis | Description |
|---|---|---|---|
| sr_number | string | non | Statute number. Federal: SR number ('210'=ZGB, '220'=OR, '101'=BV). Cantonal: the canton's systematic number — e.g. ZH 'LS' number '554.5' (Hundegesetz), '550.1' (Polizeigesetz). The `systematic_number` alias (as used by get_legislation) is also accepted. |
| systematic_number | string | non | Alias for sr_number — the cantonal-friendly name (LS / systematic number), matching get_legislation. Either field works. |
| abbreviation | string | non | Law abbreviation in DE, FR or IT ('BV'/'Cst'/'Cost', 'OR'/'CO', 'ZGB'/'CC', 'StGB'/'CP', 'BGG'/'LTF', 'OPP 2'), a treaty's common name ('EMRK', 'IPBPR', 'KRK', 'LugÜ', 'CISG') or a former name ('OG', 'AuG', 'aStGB' — served as the current act with a note). Case, dots and spaces do not matter. Canto… |
| article | string | non | Article number to retrieve (e.g., '8', '41a', '1bis'). For cantonal § laws (ZH, SH, AI, AR, BS, BL, AG), pass the § number without the § sign. If omitted, returns the full article list. |
| language | enum: "de" | "fr" | "it" | non | Language for article text: de, fr, it. For cantonal laws, must match the canton's publication language (fr for FR/GE/JU/NE/VD, it for TI, de otherwise). |
| canton | string | non | Two-letter canton code (ZH, BE, LU, …) or 'CH' for federal. Default 'CH' preserves backward compat. |
| as_of | string | non | Past date, ISO 'YYYY-MM-DD' (or Swiss 'DD.MM.YYYY'), to retrieve the HISTORICAL edition of a federal law in force on that date. The response names the edition (snapshot_date), the act's title and in-force window and links the Fedlex edition; always report the edition date to the user. Federal laws… |
search_laws
Search laws
Use this tool to find STATUTE ARTICLES by topic — federal (Fedlex mirror) AND cantonal (all 26 cantons; LexFind with canton=, else a local copy), interleaved. Not for whole laws by name (search_legislation) or court decisions (search_decisions). BM25-ranked per corpus, merged by interleaving so each response surfaces both jurisdictions. Returns ranked snippets with article number, heading, law title, canton, and level ('federal' | 'cantonal'). Use this as the DEFAULT entry point when the user asks about any Swiss legal topic and you don't know which law or which jurisdiction applies. Filter with canton='ZH' (etc.) for cantonal-only, or jurisdiction='federal'/'cantonal' for explicit scoping. Examples: search_laws(query='Verjährung') — find statute-of-limitations provisions in federal + cantonal laws; search_laws(query='Hundehaltung', canton='ZH') — ZH dog-keeping rules; search_laws(query='Mietrecht', jurisdiction='federal') — federal-only tenancy law.
| Paramètre | Type | Requis | Description |
|---|---|---|---|
| query | string | oui | Search query. Explicit syntax is supported and operators must be UPPERCASE: 'Miete OR Pacht', 'Kündigung AND Frist' (AND with an absent term returns 0), '"exakte Wortfolge"' for phrases, 'Verfahr*' for prefixes. Lowercase or/and are treated as ordinary words. |
| sr_number | string | non | Restrict search to a specific federal law by SR number. Implies jurisdiction='federal'. |
| canton | string | non | Two-letter canton code (ZH, BE, …) to restrict to one canton's statute corpus. 'CH' → federal only. Omit to search every jurisdiction. |
| jurisdiction | enum: "all" | "federal" | "cantonal" | non | Explicit scope override: 'all' (default), 'federal', or 'cantonal'. Most callers should omit this and let sr_number/canton drive the scope. |
| language | enum: "de" | "fr" | "it" | non | OPTIONAL filter. Restricts results to ONE language. Omit (recommended default) to search across all three official languages — most laws exist in DE/FR/IT and a filter silently hides valid hits in the others. Set ONLY when the user explicitly asks for one language. |
| limit | integer | non | Maximum merged results (1-50). |
get_commentary
Get commentary
Look up a commentary on a Swiss federal law article: OnlineKommentar.ch (CC-BY-4.0; BV, OR, ZGB, StGB, StPO, ZPO, DSG, SchKG and more) and, for the BV, OpenLegalCommentary.ch (CC BY-SA 4.0; AI-generated, de/fr/it), which yields to OnlineKommentar where both exist. Without article: lists available commentaries. With article: full text, authors, citation. Cantonal: the Kommentar zur Schaffhauser Verwaltungsrechtspflege (Meyer/Herrmann/Bilger, 2021; CC BY-SA text) for the Schaffhausen VRG (SHR 172.200) and JG (SHR 173.200), article by article with margin numbers — pass canton='SH' and abbreviation 'VRG' or 'JG' (or 'SH/VRG'). Where no commentary exists (most provisions: the corpus holds only the open-access OnlineKommentar.ch / OpenLegalCommentary.ch commentaries) the answer is flagged `found: false` / `no_commentary: true` and lists what the corpus holds on the provision instead — `leading_cases`, a `doctrine` excerpt, `scholarship_citing_statute` — none of which is commentary.
| Paramètre | Type | Requis | Description |
|---|---|---|---|
| abbreviation | string | non | Law abbreviation (e.g., 'OR', 'BV', 'ZGB', 'StGB'). Preferred over sr_number. |
| sr_number | string | non | SR number of the law (e.g., '220' for OR). Use if abbreviation unknown. |
| article | string | non | Article number (e.g., '41', '8'). Omit to list available articles. |
| language | string | non | Preferred language (de, en, fr, it). Falls back to de if unavailable. |
| canton | string | non | Two-letter canton code for a cantonal act (e.g. 'SH' with abbreviation 'VRG' or 'JG'). Omit for federal law. |
search_commentaries
Search commentaries
Use this tool ONLY for article-anchored commentary — doctrinal discussion tied to a specific statute article: OnlineKommentar.ch / OpenLegalCommentary.ch (federal law) and the Kommentar zur Schaffhauser Verwaltungsrechtspflege (Schaffhausen VRG and JG; abbreviation 'VRG SH' / 'JG SH'). For the full OA scholarship corpus (which includes all of these) use search_scholarship. Searches commentary text, titles, and article numbers. Returns ranked results with snippets, authors, links and each hit's source. Useful for finding doctrinal discussion of a legal concept across multiple laws.
| Paramètre | Type | Requis | Description |
|---|---|---|---|
| query | string | oui | Search query (supports FTS5 syntax: quotes for phrases, OR for alternatives). |
| abbreviation | string | non | Filter by law abbreviation (e.g., 'OR', 'StGB'; 'VRG SH' or 'JG SH' for the Schaffhausen commentary). |
| language | string | non | OPTIONAL filter (de/fr/it/en). Omit (recommended default) to search across all languages. Set ONLY when the user explicitly asks for one-language results; do NOT auto-apply based on conversation language. |
| limit | integer | non | Maximum results (1-50, default 10). |
search_scholarship
Search scholarship
Use this tool for open-access SCHOLARSHIP (Lehre): OA journal articles (sui generis et al.), OA legal commentaries (OnlineKommentar, OpenLegalCommentary — this tool SUBSUMES search_commentaries), dissertations and theses from Swiss university repositories, and federal legal-policy reports. Returns ranked results with snippets, authors, DOI, and direct links. Filters by source, publication type, language, and year range. Sort by relevance or year; an author filter may be used on its own (no query) for a bibliographic browse, e.g. all works by a given author, newest first.
| Paramètre | Type | Requis | Description |
|---|---|---|---|
| query | string | non | Topic query (FTS5 syntax: quotes for phrases, OR for alternatives). Optional — may be omitted when an `author` (or other) filter is given, which returns a bibliographic browse instead of a topical search. |
| source | string | non | Filter by source slug (e.g. 'sui_generis', 'onlinekommentar', 'openlegalcommentary', 'zora_law'). |
| pub_type | string | non | Filter by type: 'article', 'commentary', 'dissertation', 'book', 'chapter', 'master_thesis', 'working_paper', 'report'. |
| language | string | non | OPTIONAL filter by language (de/fr/it/en). Omit to search across all languages (recommended — the corpus is trilingual). |
| year_min | integer | non | Earliest publication year. |
| year_max | integer | non | Latest publication year. |
| author | string | non | Filter by author (substring match on the authors field). May be used WITHOUT a query for a pure bibliographic browse (all works by an author). |
| sort | enum: "relevance" | "year" | "year_asc" | non | Order: 'relevance' (BM25, default for a topic query), 'year' (newest first), 'year_asc' (oldest first). With no query the default is newest-first. |
| limit | integer | non | Maximum results (1-50, default 10). |
get_scholarship
Get scholarship record
Fetch a single OA legal publication (article, dissertation, commentary, etc.) by its pub_id. Returns full metadata + abstract + full text if available + cross-citations to statutes and decisions.
| Paramètre | Type | Requis | Description |
|---|---|---|---|
| pub_id | string | oui | Canonical pub_id, e.g. 'sui_generis:article-1382' or 'onlinekommentar: '. |
find_scholarship_citing_statute
Scholarship citing statute
Find OA legal scholarship that cites a given Swiss statute article. Sourced from article-anchored commentaries (OnlineKommentar / OpenLegalCommentary) PLUS full-text citation extraction across the open-access journal corpus (~90k statute references resolved from 9k full-text records).
| Paramètre | Type | Requis | Description |
|---|---|---|---|
| sr_number | string | oui | Swiss SR number (e.g. '220' for OR, '210' for ZGB). |
| article | string | non | Article number (e.g. '41'). Omit for all articles of the law. |
| limit | integer | non | Maximum results (1-100, default 20). |
find_scholarship_citing_decision
Scholarship citing decision
Find OA legal scholarship that cites a specific Swiss court decision. Reverse direction of the scholarship↔caselaw bridge: given a decision_id (e.g. 'bge_BGE_140_III_86' or 'bger_4A_571_2008'), return open-access publications that cite it in their full text. Citations are extracted deterministically by regex + lookup against the canonical decision corpus, so resolved citations are always to decisions we hold.
| Paramètre | Type | Requis | Description |
|---|---|---|---|
| decision_id | string | oui | Canonical decision_id (e.g. 'bge_BGE_140_III_86', 'bger_4A_571_2008'). |
| limit | integer | non | Maximum results (1-100, default 20). |
list_scholarship_sources
List scholarship sources
List the open-access legal scholarship sources currently indexed, with publication counts by source, type, and language. Use this to discover what corpora are available before searching.
Aucun paramètre.
get_scholarship_full_text
Scholarship full text
Fetch the full text of an OA legal publication by pub_id, on demand. Cached after first fetch so subsequent calls are instant. License-gated: only records under CC-BY-* (except CC-BY-ND), OA-Swiss-federal, or OA-author-permitted-reuse are extracted. ND/all-rights-reserved records return the upstream URL only. Use this when search_scholarship or get_scholarship returns only abstract/title and you need the article body to verify a claim or quote a passage.
| Paramètre | Type | Requis | Description |
|---|---|---|---|
| pub_id | string | oui | Canonical pub_id (from search_scholarship results). |
get_materialien
Get Materialien
Look up Materialien for a Swiss federal law article. Returns: `sources` = per-article digests of legislative intent (BV and BGFA only); `botschaft_documents` = the Bundesblatt documents that concern the article (Botschaften, Berichte, Stellungnahmen, committee reports, Erlassentwürfe; tagged `doc_type`, with BBl citation, title, publication_date from Fedlex where available — `publication_date_source` 'bbl_year' means only the year — and Fedlex link); `vernehmlassungen` = the consultation procedures Fedlex links to the act, each with its Erläuternder Bericht, Vorlage, Ergebnisbericht and Stellungnahmen (with an article: the Erläuternder-Bericht passages on it); `amendment_refs` = the AS/BBl locators from the statute's footnotes. Empty `sources` means no digest, NOT that the law has no legislative history. Full text: search_botschaft. Nothing keyed to a provision: flagged `found: false` and lists `leading_cases`, a `doctrine` excerpt and `scholarship_citing_statute` instead — none of it legislative history.
| Paramètre | Type | Requis | Description |
|---|---|---|---|
| law_code | string | oui | Law abbreviation (e.g., 'BV', 'BGFA', 'OR', 'StGB'). |
| article | string | non | Article number (e.g., '1', '8', '10a'). Omit to get all articles. |
| doc_type | enum: "botschaft" | "bericht_bundesrat" | "stellungnahme_bundesrat" | "bericht_kommission" | "erlassentwurf" | "vorentwurf_erlass" | "vernehmlassung_eroeffnung" | non | OPTIONAL: restrict `botschaft_documents` to one Fedlex document type (botschaft, bericht_bundesrat, stellungnahme_bundesrat, bericht_kommission, erlassentwurf, vorentwurf_erlass, vernehmlassung_eroeffnung). Default: all. |
search_materialien
Search Materialien
Use this tool for DIGESTED legislative history — per-article intent summaries and key arguments, not verbatim text. COVERAGE IS NARROW: BV and BGFA digests (167 articles) plus BV debate transcripts, and nothing else. For any other law this returns 0 hits, which means 'outside this index', not 'no materials exist'. Each hit names its source message (bbl_ref, title, publication_date from Fedlex where available, with `publication_date_source`). Prefer search_botschaft, which covers all 14,600+ Federal Council messages plus Berichte, Stellungnahmen, committee reports, Erlassentwürfe and the Vernehmlassung documents (Erläuternde Berichte, Ergebnisberichte) verbatim (filter by doc_type), or get_materialien(law_code) for the documents linked to one statute.
| Paramètre | Type | Requis | Description |
|---|---|---|---|
| query | string | oui | Search query (natural language or FTS5 syntax). |
| law_code | string | non | Filter by law abbreviation (e.g., 'BGFA'). |
| doc_type | enum: "botschaft" | "bericht_bundesrat" | "stellungnahme_bundesrat" | "bericht_kommission" | "erlassentwurf" | "vorentwurf_erlass" | "vernehmlassung_eroeffnung" | non | Accepted for symmetry with search_botschaft / get_materialien, but a NO-OP here: the curated digest carries no Fedlex document type, so the filter does not narrow results (echoed back as doc_type_filter). To filter by type, call search_botschaft with doc_type. |
| limit | integer | non | Maximum results (1-50, default 10). |
search_legislation
Search legislation
Use this tool to find WHOLE LAWS by name or subject — 33,000+ federal and cantonal enactments from LexFind.ch; the entry point for cantonal questions ('Hundegesetz Bern', 'loi sur l'énergie Vaud'). Not for article-level topic search (search_laws) or the core federal codes (get_law is instant there). All 26 cantons + federal, DE/FR/IT. Also the entry point for municipal regulations and federal ordinances outside the core Fedlex mirror. SINGLE-CALL MODE: set fetch_top_n_texts=1..3 and the top results are returned with the parsed full text + article list of the law itself — no follow-up get_legislation call needed. Ideal for 'what does cantonal law X say about Y' questions. For core federal codes (OR, ZGB, StGB, BV, StPO, ZPO, SchKG, BGG, DBG, IPRG, AIG, BVG, KVG etc.), prefer get_law / search_laws — they are instant and cover all three languages.
| Paramètre | Type | Requis | Description |
|---|---|---|---|
| query | string | oui | Search query in natural language or keywords. Examples: 'Hundegesetz', 'loi sur l'énergie', 'Mietrecht Kanton Zürich', 'Baugesetz'. |
| canton | string | non | Two-letter canton code (ZH, BE, LU, UR, SZ, OW, NW, GL, ZG, FR, SO, BS, BL, SH, AR, AI, SG, GR, AG, TG, TI, VD, VS, NE, GE, JU) or 'CH' for federal. Omit to search all 26 cantons + federal at once. |
| active_only | boolean | non | Only show laws currently in force (default true). |
| search_in_content | boolean | non | Also search inside the law text, not just titles and keywords (slower). |
| language | enum: "de" | "fr" | "it" | non | OPTIONAL filter. Restricts results to ONE language version. Omit (recommended default) to fan out across DE/FR/IT and merge results — LexFind's API is single-language per request, so omission triggers a 3-way parallel call with deduplication. Set ONLY when the user explicitly asks for one language.… |
| limit | integer | non | Max results (1-60, default 20). |
| fetch_top_n_texts | integer | non | If > 0, download + parse the full text of the top N results (max 10) and return each with full_text_preview, article_count, and sample_articles. Use 1-3 for natural-language questions so you can answer in a single tool call. |
get_legislation
Get legislation
Retrieve the FULL TEXT and article list of a specific Swiss law, federal or cantonal, by LexFind ID or SR/systematic number. For federal laws in the Fedlex mirror this is instant (local SQLite). For cantonal laws, the law is downloaded from LexFind as PDF, parsed with PyMuPDF, and segmented into articles (cached 30 days). Returns: title, entity, articles (article_num, heading, text), full_text, article_count. Use search_legislation first to find the right lexfind_id or systematic_number; then pass it here. For the core federal codes, get_law is still the fastest path.
| Paramètre | Type | Requis | Description |
|---|---|---|---|
| lexfind_id | integer | non | LexFind ID of the law (from search_legislation results). Positive integer; omit it when unknown rather than passing 0. |
| systematic_number | string | non | SR/systematic number (e.g., '220' for OR, '210' for ZGB). Used when lexfind_id not available. One of lexfind_id or systematic_number is required. |
| canton | string | non | Canton for systematic number lookup (default CH). Required for cantonal laws. |
| include_versions | boolean | non | Include full version history (default false). |
| language | enum: "de" | "fr" | "it" | non | Result language: de, fr, it. |
browse_legislation_changes
Browse legislation changes
Browse recent legislation changes for a canton or federal level. Shows new laws, amendments, and abrogations with dates.
| Paramètre | Type | Requis | Description |
|---|---|---|---|
| canton | string | non | Canton code (CH for federal, ZH, BE, etc.). Default: CH. |
| language | enum: "de" | "fr" | "it" | non | OPTIONAL filter. Restricts results to ONE language version. Omit (recommended default) to fan out across DE/FR/IT and merge results — LexFind's API is single-language per request, so omission triggers a 3-way parallel call with deduplication. Set ONLY when the user explicitly asks for one language. |
search_practice
Search administrative practice
Use this tool for ADMINISTRATIVE PRACTICE (Verwaltungspraxis): Wegleitungen, Kreisschreiben, Weisungen, Rundschreiben, Empfehlungen — agency guidance, not court decisions. 13,000+ documents. Social insurance: BSV, OAK BV, BAG, SECO (ArG, AVIG). Tax and finance: ESTV, FINMA, MROS, SIF. Company law and competition: WEKO, UEK, RAB, EHRA, Stiftungsaufsicht. Asylum: SEM. Environment: BAFU. SchKG: BJ + cantons. Criminal law: WOSTA, SSK-CPS, cantonal prosecutors, BA, BJ Rechtshilfe, concordats, NKVF. Land register and tenancy: EGBA, cantonal land registers, BWO tenancy decisions. Cantonal documents: canton=. UN: recommendations to Switzerland (un_uhri), General Comments (un_gc). Returns ranked excerpts; superseded versions collapse to the newest, for past conduct pass include_superseded=true. NOT covered: cantonal Sozialhilfe/SKOS, Prämienverbilligung — say so. UN complaint decisions: search_decisions(court='untb_*'). VPB/JAAC 1987–2017: search_decisions(court='ch_vb').
| Paramètre | Type | Requis | Description |
|---|---|---|---|
| query | string | oui | Search query (FTS5 syntax: quotes for phrases, OR for alternatives, NEAR(term1 term2, N) for proximity). |
| source | enum: "finma_rs" | "seco_arg" | "bafu_vollzug" | "estv_ks" | "estv_mwst" | "sem_weisungen" | "bsv_weisungen" | "seco_alv" … | non | Filter by source key. finma_rs (1,133), seco_arg (1,102), bafu_vollzug (297), estv_ks (285), estv_mwst (153), sem_weisungen (92), bsv_weisungen (BSV Wegleitungen/Kreisschreiben/Rundschreiben/Mitteilungen, every retained version, 6,083, DE/FR/IT), seco_alv (AVIG-Praxis ALE/KAE/SWE/RVEI/IE/AMM + them… |
| issuing_authority | enum: "FINMA" | "SECO" | "ESTV" | "BAFU" | "SEM" | "BSV" | "BAG" | "BJ" … | non | Filter by authority. FINMA (1,133), SECO (Arbeitsgesetz 1,102 + AVIG-Praxis), ESTV (438), BAFU (297), SEM (Weisungen 92 + Handbuch), BSV (6,083, social insurance practice), BAG (38), BJ (debt enforcement), WEKO (Bekanntmachungen/Erläuterungen under the KG), OAK BV (BVG supervision: Weisungen, Mitte… |
| canton | enum: "ZH" | "BE" | "LU" | "UR" | "SZ" | "OW" | "NW" | "GL" … | non | Restrict to one canton's documents: its SchKG supervisory authority's circulars and Existenzminimum guideline (schkg_kantone, older copies in bj_schkg); for GE, VD and BE, its commercial register's practice notes (hr_kantone); for ZH, BE, VS, VD, FR, GE and AG, its public prosecutor's Weisungen and… |
| doc_type | enum: "wegleitung" | "rundschreiben" | "vollzugshilfe" | "kreisschreiben" | "rundschreiben_anhang" | "mwst_branchen_info" | "mwst_info" | "weisung" … | non | Filter by document type. wegleitung (SECO ArG 1,102 + BSV WEL/RWL…), rundschreiben (FINMA 1,017 + BSV/SEM), vollzugshilfe (297), kreisschreiben (ESTV 285 + BSV/BAG/BJ), rundschreiben_anhang (132 — FINMA circular annexes), mwst_branchen_info (84), weisung (SEM/SECO-ALV/BJ/BSV), mwst_info (69), handb… |
| include_superseded | boolean | non | Return every retained version of a document (FINMA, BSV) instead of collapsing to the newest, and include repealed or archived documents (aufgehoben, hinfällig, BSV Archiv), which are left out by default. Set for point-in-time questions. |
| language | string | non | OPTIONAL filter (de/fr/it; en for UN and some FINMA documents). Omit (recommended default) to search across all languages. Set ONLY when the user explicitly asks for one-language results. |
| limit | integer | non | Maximum results (1-50, default 10). |
| offset | integer | non | Skip this many ranked results, for the next page (use next_offset from the previous call). |
get_practice
Get administrative practice
Retrieve a single federal administrative-practice document by its doc_id (e.g. 'estv_ks_ks_nr_28', 'sem_weisungen_weisungen-aug-d', 'bsv_weisungen_6930_v20_de', 'seco_alv_avig_ale_de', 'un_uhri_3f3a9db7-5e9a-416f-ad28-8c8f97a8322c_en'). Returns the body text, title, date, issuing authority, and PDF URL. Long documents (circulars run to 140 pages) come in parts of 50,000 characters: when has_more is true, call again with offset=next_offset. Use search_practice first to discover the doc_id.
| Paramètre | Type | Requis | Description |
|---|---|---|---|
| doc_id | string | oui | Document identifier returned by search_practice. |
| offset | integer | non | Character offset into the body text to start from (default 0); use next_offset from the previous part. |
| max_chars | integer | non | Characters of body text per part (default 50,000, max 150,000). |
Compatibilité clients
Selon les transports que chaque client déclare accepter dans sa documentation officielle ; ce n’est pas un essai réel dans le client.
| Client | Transports documentés | Ce serveur | Source |
|---|---|---|---|
| Claude Code | stdio Streamable HTTP SSE | transport accepté | doc |
| Claude (claude.ai, Claude Desktop, Cowork) | stdio Streamable HTTP SSE | transport accepté | doc |
| ChatGPT (serveurs MCP personnalisés / plugins) | Streamable HTTP SSE | transport accepté | doc |
| Cursor | stdio Streamable HTTP SSE | transport accepté | doc |
| VS Code (GitHub Copilot) | stdio Streamable HTTP SSE | transport accepté | doc |
| Windsurf (documentation redirigée vers Devin Local / Devin CLI) | stdio Streamable HTTP SSE | transport accepté | doc |
| Gemini CLI | stdio Streamable HTTP SSE | transport accepté | doc |
| OpenAI Codex (CLI, extension IDE, app) | stdio Streamable HTTP | transport accepté | doc |
Configs prêtes à copier
Adresse distante utilisée : https://mcp.opencaselaw.ch/mcp. Formats repris de la documentation de chaque client.
claude mcp add --transport http swiss-caselaw https://mcp.opencaselaw.ch/mcpCustomize > Connectors > + Add > Add custom connector ; Name : swiss-caselaw ; URL : https://mcp.opencaselaw.ch/mcpchatgpt.com/plugins > + > Add custom MCP server ; Name : swiss-caselaw ; Server URL : https://mcp.opencaselaw.ch/mcp ; Create as a plugin{
"mcpServers": {
"swiss-caselaw": {
"url": "https://mcp.opencaselaw.ch/mcp"
}
}
}{
"mcpServers": {
"swiss-caselaw": {
"type": "http",
"url": "https://mcp.opencaselaw.ch/mcp",
"tools": ["*"]
}
}
}{
"mcpServers": {
"swiss-caselaw": {
"url": "https://mcp.opencaselaw.ch/mcp"
}
}
}{
"mcpServers": {
"swiss-caselaw": {
"httpUrl": "https://mcp.opencaselaw.ch/mcp"
}
}
}[mcp_servers.swiss-caselaw]
url = "https://mcp.opencaselaw.ch/mcp"Citer cette source
Vous rédigez un article ou un comparatif ? Cette fiche distingue les informations du registre et nos mesures. Citez le lien permanent et la date du test ; un résultat OK ne constitue pas un audit de sécurité ni une garantie de disponibilité.
OpenCaseLaw — Swiss Caselaw, Statutes & Doctrine · L’Atlas · Test du
[OpenCaseLaw — Swiss Caselaw, Statutes & Doctrine — L’Atlas](https://latlas.dev/mcp/ch.opencaselaw/swiss-caselaw)Source : Registre officiel MCP · relevé le 3 déc. 2026. L’Atlas n’ajoute aucune donnée qui ne vienne de cette source ou de ses propres tests.