OpenCaseLaw — Swiss Caselaw, Statutes & Doctrine
by opencaselaw.ch · remote · no sign-in to list tools · v1.3.0 · published by ch.opencaselaw
1M+ Swiss court decisions, statutes & doctrine with citation graph (DE/FR/IT). CC0, free, 42 tools.
42 tools: 4 change things and 38 only read.
Scanned Oct 21, 2026
- Deletes or cancels0Claude Code: deny
- Can't be undone0Claude Code: ask
- Changes things4Claude Code: ask: see these tools
- Only reads38Claude Code: allow: see these tools
1 check matched something in the tool definitions. No finding is not a safety guarantee. How the checks work.
claude mcp add --transport http swiss-caselaw https://mcp.opencaselaw.ch/mcpFindings
Matches of fixed checks, with the text they matched.
The server marks "generate_exam_question" read-only (readOnlyHint: true), and its own name, description or input give the class "write".
What this check looks forMatched text
annotations: {"readOnlyHint":true,"destructiveHint":false,"openWorldHint":false}; The name "generate_exam_question" says "generate": a word for a change.
Tools
Open a tool for its reasons and full description. Descriptions are the publisher's own words, shown as they are.
42 tools
Changes things 4Claude Code: ask
attest_responseMANDATORY FINAL-STEP AUDIT of your draft answer.No findings
Why it is in this group
- Nothing in its name or description says what it does, so it is counted as a write.
- The server marks it read-only (readOnlyHint: true), but an annotation never lowers a class.
Description, as the server wrote it 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.
Annotations the server declares
- readOnlyHint: true
- destructiveHint: false
- openWorldHint: false
check_claim_supportVerify whether a Swiss court decision actually supports a legal claim.No findings
Why it is in this group
- Nothing in its name or description says what it does, so it is counted as a write.
- The server marks it read-only (readOnlyHint: true), but an annotation never lowers a class.
Description, as the server wrote it 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.
Annotations the server declares
- readOnlyHint: true
- destructiveHint: false
- openWorldHint: false
draft_mock_decisionBuild a research-only mock decision outline from user facts.No findings
Why it is in this group
- Nothing in its name or description says what it does, so it is counted as a write.
- The server marks it read-only (readOnlyHint: true), but an annotation never lowers a class.
Description, as the server wrote it 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.
Annotations the server declares
- readOnlyHint: true
- destructiveHint: false
- openWorldHint: false
generate_exam_questionGenerate a Swiss law exam practice question (Fallbearbeitung) based on a real BGE.1 finding
Why it is in this group
- The name "generate_exam_question" says "generate": a word for a change.
- The server marks it read-only (readOnlyHint: true), but an annotation never lowers a class.
Findings
- Warn
The server marks "generate_exam_question" read-only (readOnlyHint: true), and its own name, description or input give the class "write".
What this check looks forMatched text
annotations: {"readOnlyHint":true,"destructiveHint":false,"openWorldHint":false}; The name "generate_exam_question" says "generate": a word for a change.
Description, as the server wrote it 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.
Annotations the server declares
- readOnlyHint: true
- destructiveHint: false
- openWorldHint: false
Only reads 38Claude Code: allow
analyze_legal_trendYear-by-year decision counts showing jurisprudence evolution.No findings
Why it is in this group
- The name "analyze_legal_trend" says "analyze": a word for reading.
Description, as the server wrote it 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.
Annotations the server declares
- readOnlyHint: true
- destructiveHint: false
- openWorldHint: false
browse_legislation_changesBrowse recent legislation changes for a canton or federal level.No findings
Why it is in this group
- The name "browse_legislation_changes" says "browse": a word for reading.
Description, as the server wrote it Browse recent legislation changes for a canton or federal level. Shows new laws, amendments, and abrogations with dates.
Annotations the server declares
- readOnlyHint: true
- destructiveHint: false
- openWorldHint: false
citeGet the canonical Swiss citation string for a decision reference.No findings
Why it is in this group
- The description's first verb is "get": a word for reading.
Description, as the server wrote it 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.
Annotations the server declares
- readOnlyHint: true
- destructiveHint: false
- openWorldHint: false
fetchMinimal fetch tool following the deep-research search/fetch convention.No findings
Why it is in this group
- The name "fetch" says "fetch": a word for reading.
Description, as the server wrote it 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`.
Annotations the server declares
- readOnlyHint: true
- destructiveHint: false
- openWorldHint: false
find_appeal_chainTrace the appeal chain (Instanzenzug) for a decision.No findings
Why it is in this group
- The name "find_appeal_chain" says "find": a word for reading.
Description, as the server wrote it 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.
Annotations the server declares
- readOnlyHint: true
- destructiveHint: false
- openWorldHint: false
find_citationsGiven a decision_id, show what it cites and what cites it.No findings
Why it is in this group
- The name "find_citations" says "find": a word for reading.
Description, as the server wrote it 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.
Annotations the server declares
- readOnlyHint: true
- destructiveHint: false
- openWorldHint: false
find_leading_casesFind the most-cited decisions for a topic or statute.No findings
Why it is in this group
- The name "find_leading_cases" says "find": a word for reading.
Description, as the server wrote it Find the most-cited decisions for a topic or statute. Authority ranking based on citation graph; 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. <e_number>' 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.
Annotations the server declares
- readOnlyHint: true
- destructiveHint: false
- openWorldHint: false
find_relevant_erwaegungFind which Erwägung paragraph(s) match a legal claim.No findings
Why it is in this group
- The name "find_relevant_erwaegung" says "find": a word for reading.
Description, as the server wrote it 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 <mark>…</mark> (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.
Annotations the server declares
- readOnlyHint: true
- destructiveHint: false
- openWorldHint: false
find_scholarship_citing_decisionFind OA legal scholarship that cites a specific Swiss court decision.No findings
Why it is in this group
- The name "find_scholarship_citing_decision" says "find": a word for reading.
Description, as the server wrote it 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.
Annotations the server declares
- readOnlyHint: true
- destructiveHint: false
- openWorldHint: false
find_scholarship_citing_statuteFind OA legal scholarship that cites a given Swiss statute article.No findings
Why it is in this group
- The name "find_scholarship_citing_statute" says "find": a word for reading.
Description, as the server wrote it 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).
Annotations the server declares
- readOnlyHint: true
- destructiveHint: false
- openWorldHint: false
get_article_historyChronological story of a single statute article: current text + every linked Botschaft (enacted + amendments) + leading court interpretations + doctrinal commentary, all ordered by…No findings
Why it is in this group
- The name "get_article_history" says "get": a word for reading.
Description, as the server wrote it 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.
Annotations the server declares
- readOnlyHint: true
- destructiveHint: false
- openWorldHint: false
get_article_purposeReturn verbatim text from the Federal Council Botschaft (or Erläuterungsbericht) explaining the legislative purpose of a specific article.No findings
Why it is in this group
- The name "get_article_purpose" says "get": a word for reading.
Description, as the server wrote it 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 the LLM can quote with `bbl_citation, S. {page}` references. 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.
Annotations the server declares
- readOnlyHint: true
- destructiveHint: false
- openWorldHint: false
get_case_briefStructured case brief: regeste, Sachverhalt, key Erwägungen (first 12 only — for orientation, NOT a pinpoint ranking), Dispositiv, statutes, citation authority, related cases.No findings
Why it is in this group
- The name "get_case_brief" says "get": a word for reading.
Description, as the server wrote it 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.
Annotations the server declares
- readOnlyHint: true
- destructiveHint: false
- openWorldHint: false
get_commentaryLook up a scholarly legal commentary from OnlineKommentar.ch (CC-BY-4.0) for a Swiss federal law article.No findings
Why it is in this group
- The name "get_commentary" says "get": a word for reading.
Description, as the server wrote it Look up a scholarly legal commentary from OnlineKommentar.ch (CC-BY-4.0) for a Swiss federal law article. Without article: lists available commentaries for that law. With article: returns the full commentary text, authors, and citation. Covers 19 Swiss laws including BV, OR, ZGB, StGB, StPO, ZPO, DSG, SchKG, and more. 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.
Annotations the server declares
- readOnlyHint: true
- destructiveHint: false
- openWorldHint: false
get_decisionFetch a single court decision with full text.No findings
Why it is in this group
- The name "get_decision" says "get": a word for reading.
Description, as the server wrote it 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.
Annotations the server declares
- readOnlyHint: true
- destructiveHint: false
- openWorldHint: false
get_decision_structureStructured decision fields: Sachverhalt (facts), Erwägungen as numbered paragraphs ('1', '1.1', '2.3'), Dispositiv (ruling), Regeste (BGE only).No findings
Why it is in this group
- The name "get_decision_structure" says "get": a word for reading.
Description, as the server wrote it 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.
Annotations the server declares
- readOnlyHint: true
- destructiveHint: false
- openWorldHint: false
get_decisionsUse this tool to fetch SEVERAL decisions at once (1-10 ids) instead of calling get_decision repeatedly.No findings
Why it is in this group
- The name "get_decisions" says "get": a word for reading.
Description, as the server wrote it 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.
Annotations the server declares
- readOnlyHint: true
- destructiveHint: false
- openWorldHint: false
get_doctrineGet statute text + leading cases + doctrinal timeline + Federal Council Botschaft (legislative intent) + scholarly commentary for a Swiss law article or legal concept.No findings
Why it is in this group
- The name "get_doctrine" says "get": a word for reading.
Description, as the server wrote it 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.
Annotations the server declares
- readOnlyHint: true
- destructiveHint: false
- openWorldHint: false
get_erwaegungVerbatim text of ONE numbered Erwägung — the citable unit in Swiss practice (e.g.No findings
Why it is in this group
- The name "get_erwaegung" says "get": a word for reading.
Description, as the server wrote it 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', …
Annotations the server declares
- readOnlyHint: true
- destructiveHint: false
- openWorldHint: false
get_lawAUTHORITATIVE LOOKUP for the text of any Swiss law article — federal OR cantonal — from two local mirrors.No findings
Why it is in this group
- The name "get_law" says "get": a word for reading.
Description, as the server wrote it AUTHORITATIVE LOOKUP for the text of any Swiss law article — federal OR cantonal — from two local mirrors. Federal (canton='CH', default): Fedlex mirror, all federal acts (OR, ZGB, StGB, ZPO, StPO, BV, SchKG, BGG, DBG, AIG, BVG, 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, noted; as_of gives the old edition). Cantonal: LexFind mirror, every act of all 26 cantons in the canton's language; 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 dated Fedlex edition in force on that date (snapshot_date, in-force window, link); always tell the user the edition date. PDF-only editions carry `text_status` 'heading_only' / 'empty' = no article text recovered; say so and give the Fedlex link. Examples: get_law(abbreviation='BV', article='8'); get_law(canton='ZH', sr_number='554.5', article='1').
Annotations the server declares
- readOnlyHint: true
- destructiveHint: false
- openWorldHint: false
get_legislationRetrieve the FULL TEXT and article list of a specific Swiss law, federal or cantonal, by LexFind ID or SR/systematic number.No findings
Why it is in this group
- The name "get_legislation" says "get": a word for reading.
Description, as the server wrote it 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.
Annotations the server declares
- readOnlyHint: true
- destructiveHint: false
- openWorldHint: false
get_materialienLook up Materialien for a Swiss federal law article.No findings
Why it is in this group
- The name "get_materialien" says "get": a word for reading.
Description, as the server wrote it 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.
Annotations the server declares
- readOnlyHint: true
- destructiveHint: false
- openWorldHint: false
get_practiceRetrieve a single federal administrative-practice document by its doc_id (e.g.No findings
Why it is in this group
- The name "get_practice" says "get": a word for reading.
Description, as the server wrote it 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'). Returns full body text, title, date, issuing authority, and PDF URL. Use search_practice first to discover the doc_id.
Annotations the server declares
- readOnlyHint: true
- destructiveHint: false
- openWorldHint: false
get_regesteGet the official Regeste (head-note) of a Swiss court decision.No findings
Why it is in this group
- The name "get_regeste" says "get": a word for reading.
Description, as the server wrote it 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).
Annotations the server declares
- readOnlyHint: true
- destructiveHint: false
- openWorldHint: false
get_scholarshipFetch a single OA legal publication (article, dissertation, commentary, etc.) by its pub_id.No findings
Why it is in this group
- The name "get_scholarship" says "get": a word for reading.
Description, as the server wrote it 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.
Annotations the server declares
- readOnlyHint: true
- destructiveHint: false
- openWorldHint: false
get_scholarship_full_textFetch the full text of an OA legal publication by pub_id, on demand.No findings
Why it is in this group
- The name "get_scholarship_full_text" says "get": a word for reading.
Description, as the server wrote it 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.
Annotations the server declares
- readOnlyHint: true
- destructiveHint: false
- openWorldHint: false
get_statisticsGet aggregate statistics about the dataset.No findings
Why it is in this group
- The name "get_statistics" says "get": a word for reading.
Description, as the server wrote it Get aggregate statistics about the dataset. Optionally filter by court, canton, or year.
Annotations the server declares
- readOnlyHint: true
- destructiveHint: false
- openWorldHint: false
list_courtsList all available courts with decision counts, date ranges, and language coverage.No findings
Why it is in this group
- The name "list_courts" says "list": a word for reading.
Description, as the server wrote it List all available courts with decision counts, date ranges, and language coverage. Use this to discover what data is available.
Annotations the server declares
- readOnlyHint: true
- destructiveHint: false
- openWorldHint: false
list_scholarship_sourcesList the open-access legal scholarship sources currently indexed, with publication counts by source, type, and language.No findings
Why it is in this group
- The name "list_scholarship_sources" says "list": a word for reading.
Description, as the server wrote it 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.
Annotations the server declares
- readOnlyHint: true
- destructiveHint: false
- openWorldHint: false
searchMinimal search tool following the deep-research search/fetch convention.No findings
Why it is in this group
- The name "search" says "search": a word for reading.
Description, as the server wrote it 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.
Annotations the server declares
- readOnlyHint: true
- destructiveHint: false
- openWorldHint: false
search_botschaftRetrieve and quote the VERBATIM text of federal Materialien: Federal Council Botschaften, Berichte and Stellungnahmen des Bundesrates, parliamentary committee reports, Erlassentwür…No findings
Why it is in this group
- The name "search_botschaft" says "search": a word for reading.
Description, as the server wrote it 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`.
Annotations the server declares
- readOnlyHint: true
- destructiveHint: false
- openWorldHint: false
search_commentariesUse this tool ONLY for article-anchored commentary — doctrinal discussion tied to a specific statute article: OnlineKommentar.ch / OpenLegalCommentary.ch (federal law) and the Komm…No findings
Why it is in this group
- The name "search_commentaries" says "search": a word for reading.
Description, as the server wrote it 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.
Annotations the server declares
- readOnlyHint: true
- destructiveHint: false
- openWorldHint: false
search_decisionsUse this tool to find COURT DECISIONS (Rechtsprechung): 1,050,000+ Swiss federal and cantonal decisions plus ~2,800 ECtHR decisions concerning Switzerland.No findings
Why it is in this group
- The name "search_decisions" says "search": a word for reading.
Description, as the server wrote it Use this tool to find COURT DECISIONS (Rechtsprechung): 1,050,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. Most recent decisions: empty query + sort='date_desc' + court filter. Newly PUBLISHED decisions (alerts): published_from + sort='published_desc'. Not for statutes (search_laws), commentary (search_scholarship), or administrative guidance (search_practice).
Annotations the server declares
- readOnlyHint: true
- destructiveHint: false
- openWorldHint: false
search_lawsUse this tool to find STATUTE ARTICLES by topic — full-text over every locally indexed article, federal (Fedlex mirror) AND cantonal (LexFind mirror, all 26 cantons), interleaved.No findings
Why it is in this group
- The name "search_laws" says "search": a word for reading.
Description, as the server wrote it Use this tool to find STATUTE ARTICLES by topic — full-text over every locally indexed article, federal (Fedlex mirror) AND cantonal (LexFind mirror, all 26 cantons), 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.
Annotations the server declares
- readOnlyHint: true
- destructiveHint: false
- openWorldHint: false
search_legislationUse 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 …No findings
Why it is in this group
- The name "search_legislation" says "search": a word for reading.
Description, as the server wrote it 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.
Annotations the server declares
- readOnlyHint: true
- destructiveHint: false
- openWorldHint: false
search_materialienUse this tool for DIGESTED legislative history — per-article intent summaries and key arguments, not verbatim text.No findings
Why it is in this group
- The name "search_materialien" says "search": a word for reading.
Description, as the server wrote it 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 6,154 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.
Annotations the server declares
- readOnlyHint: true
- destructiveHint: false
- openWorldHint: false
search_practiceUse this tool when the question involves federal ADMINISTRATIVE PRACTICE (Verwaltungspraxis): Wegleitungen, Kreisschreiben, Weisungen, Rundschreiben — agency guidance, not court de…No findings
Why it is in this group
- The name "search_practice" says "search": a word for reading.
Description, as the server wrote it Use this tool when the question involves federal ADMINISTRATIVE PRACTICE (Verwaltungspraxis): Wegleitungen, Kreisschreiben, Weisungen, Rundschreiben — agency guidance, not court decisions. 9,900+ documents. Covered: BSV (AHV/IV/EL/EO/FamZ/BVG Wegleitungen, Kreisschreiben, Mitteilungen, every version), OAK BV (BVG Weisungen, Mitteilungen, drafts), WEKO (Bekanntmachungen, Erläuterungen, all versions), SECO (ArG commentary, AVIG-Praxis), BAG (KVG Kreisschreiben), SEM (Weisungen AIG/Asyl/BüG, Handbuch Asyl), BJ (SchKG Weisungen, Existenzminimum), FINMA, ESTV, BAFU; counts in the filter enums. Returns ranked excerpts with authority, number, date, PDF link. Superseded versions collapse to the newest per document; for past conduct pass include_superseded=true and take the version dated before the facts. NOT covered: cantonal administrations — Sozialhilfe (SKOS, cantonal Handbücher), Prämienverbilligung (IPV) — say so, do not imply absence of guidance. Pre-2017 federal decisions: search_decisions(court='ch_vb').
Annotations the server declares
- readOnlyHint: true
- destructiveHint: false
- openWorldHint: false
search_scholarshipUse this tool for open-access SCHOLARSHIP (Lehre): OA journal articles (sui generis et al.), OA legal commentaries (OnlineKommentar, OpenLegalCommentary — this tool SUBSUMES search…No findings
Why it is in this group
- The name "search_scholarship" says "search": a word for reading.
Description, as the server wrote it 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.
Annotations the server declares
- readOnlyHint: true
- destructiveHint: false
- openWorldHint: false
This is not a safety rating, and no finding is not a safety guarantee. The groups and findings come from fixed checks of the tool definitions the server returned on the date shown, not from its code or what it does when called. How the checks work.
Install
Pinned to version 1.3.0. Values in angle brackets are yours to fill in.
claude mcp add --transport http swiss-caselaw https://mcp.opencaselaw.ch/mcpRun in a terminal.
Claude Code permissions
Allow the reads, ask before a change, deny the deletes. Paste into .claude/settings.json.
{
"permissions": {
"allow": [
"mcp__swiss-caselaw__search",
"mcp__swiss-caselaw__fetch",
"mcp__swiss-caselaw__search_decisions",
"mcp__swiss-caselaw__get_decision",
"mcp__swiss-caselaw__get_decisions",
"mcp__swiss-caselaw__list_courts",
"mcp__swiss-caselaw__get_statistics",
"mcp__swiss-caselaw__find_citations",
"mcp__swiss-caselaw__find_appeal_chain",
"mcp__swiss-caselaw__find_leading_cases",
"mcp__swiss-caselaw__analyze_legal_trend",
"mcp__swiss-caselaw__get_case_brief",
"mcp__swiss-caselaw__get_decision_structure",
"mcp__swiss-caselaw__get_erwaegung",
"mcp__swiss-caselaw__find_relevant_erwaegung",
"mcp__swiss-caselaw__get_article_purpose",
"mcp__swiss-caselaw__search_botschaft",
"mcp__swiss-caselaw__get_article_history",
"mcp__swiss-caselaw__get_regeste",
"mcp__swiss-caselaw__cite",
"mcp__swiss-caselaw__get_doctrine",
"mcp__swiss-caselaw__get_law",
"mcp__swiss-caselaw__search_laws",
"mcp__swiss-caselaw__get_commentary",
"mcp__swiss-caselaw__search_commentaries",
"mcp__swiss-caselaw__search_scholarship",
"mcp__swiss-caselaw__get_scholarship",
"mcp__swiss-caselaw__find_scholarship_citing_statute",
"mcp__swiss-caselaw__find_scholarship_citing_decision",
"mcp__swiss-caselaw__list_scholarship_sources",
"mcp__swiss-caselaw__get_scholarship_full_text",
"mcp__swiss-caselaw__get_materialien",
"mcp__swiss-caselaw__search_materialien",
"mcp__swiss-caselaw__search_legislation",
"mcp__swiss-caselaw__get_legislation",
"mcp__swiss-caselaw__browse_legislation_changes",
"mcp__swiss-caselaw__search_practice",
"mcp__swiss-caselaw__get_practice"
],
"ask": [
"mcp__swiss-caselaw__draft_mock_decision",
"mcp__swiss-caselaw__check_claim_support",
"mcp__swiss-caselaw__attest_response",
"mcp__swiss-caselaw__generate_exam_question"
],
"deny": []
}
}Tools that only read are allowed, tools that change things ask first, tools that delete or cancel are denied. It assumes the server is installed as swiss-caselaw. Review it before you use it.