{"data":{"name":"ch.opencaselaw/swiss-caselaw","title":"OpenCaseLaw — Swiss Caselaw, Statutes & Doctrine","description":"1M+ Swiss court decisions, statutes & doctrine with citation graph (DE/FR/IT). CC0, free, 42 tools.","version":"1.3.0","websiteUrl":"https://opencaselaw.ch","repositoryUrl":"https://github.com/jonashertner/caselaw-repo-1","remotes":[{"url":"https://mcp.opencaselaw.ch/mcp","type":"streamable-http"},{"url":"https://mcp.opencaselaw.ch/sse","type":"sse"}],"packages":[],"status":"active","isLatest":true,"publishedAt":"2026-07-30T23:19:08.326Z","updatedAt":"2026-07-30T23:19:08.326Z","source":"official-registry","verification":"official","confidence":100,"stars":null,"sources":[{"stars":null,"title":"OpenCaseLaw — Swiss Caselaw, Statutes & Doctrine","source":"official-registry","sourceId":"ch.opencaselaw/swiss-caselaw","updatedAt":"2026-07-30T23:19:08.326Z","confidence":100,"websiteUrl":"https://opencaselaw.ch","description":"1M+ Swiss court decisions, statutes & doctrine with citation graph (DE/FR/IT). CC0, free, 42 tools.","verification":"official","repositoryUrl":"https://github.com/jonashertner/caselaw-repo-1"}],"toolIndex":{"tools":[{"serverName":"ch.opencaselaw/swiss-caselaw","endpointFingerprint":"8f4dd83cffa1af14c54601205078e3b216837b02b9e0e55d906d384690b63c23","name":"analyze_legal_trend","title":"Analyze legal trend","description":"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.","inputSchema":{"type":"object","properties":{"query":{"type":"string","description":"Optional text query (FTS search)"},"law_code":{"type":"string","description":"Optional law code (e.g., BV, OR, EMRK). Requires article."},"article":{"type":"string","description":"Article number (requires law_code)"},"court":{"type":"string","description":"Optional court filter"},"date_from":{"type":"string","description":"Optional start date (YYYY-MM-DD)"},"date_to":{"type":"string","description":"Optional end date (YYYY-MM-DD)"}}},"annotations":{"readOnlyHint":true,"destructiveHint":false,"openWorldHint":false},"definitionHash":"a8dc2eca98d132b65bad130a7e3c30a3669cb7caf1aca0403f2a4126a1757587","schemaStatus":"valid","origin":"official-registry","observedAt":"2026-11-14T15:46:05.520Z","metadataTrust":"untrusted"},{"serverName":"ch.opencaselaw/swiss-caselaw","endpointFingerprint":"8f4dd83cffa1af14c54601205078e3b216837b02b9e0e55d906d384690b63c23","name":"attest_response","title":"Attest response","description":"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.","inputSchema":{"type":"object","properties":{"draft_text":{"type":"string","description":"Your draft response text."},"audit_grounding":{"type":"boolean","description":"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). Adds ~3 s and one Sonnet call (~$0.005). Set to true for any answer with ≥2 citations or where a wrong proposition would mislead a Swiss lawyer."},"audit_quotes":{"type":"boolean","default":true,"description":"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 footnote fix). Pass false when the draft quotes material that is not a decision or a statute (party submissions, witness statements, contracts) to keep those quotes out of the audit."}},"required":["draft_text"]},"annotations":{"readOnlyHint":true,"destructiveHint":false,"openWorldHint":false},"definitionHash":"4941cb9479be8538786de2c69dbb6cd5ebb3943be76d4002e7d33f5a1484c69b","schemaStatus":"valid","origin":"official-registry","observedAt":"2026-11-14T15:46:05.520Z","metadataTrust":"untrusted"},{"serverName":"ch.opencaselaw/swiss-caselaw","endpointFingerprint":"8f4dd83cffa1af14c54601205078e3b216837b02b9e0e55d906d384690b63c23","name":"browse_legislation_changes","title":"Browse legislation changes","description":"Browse recent legislation changes for a canton or federal level. Shows new laws, amendments, and abrogations with dates.","inputSchema":{"type":"object","properties":{"canton":{"type":"string","description":"Canton code (CH for federal, ZH, BE, etc.). Default: CH.","default":"CH"},"language":{"type":"string","description":"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.","enum":["de","fr","it"]}}},"annotations":{"readOnlyHint":true,"destructiveHint":false,"openWorldHint":false},"definitionHash":"9a4696346e7be1267b57566d5399b10fae75cdf5440d02d679485c5cd185d000","schemaStatus":"valid","origin":"official-registry","observedAt":"2026-11-14T15:46:05.520Z","metadataTrust":"untrusted"},{"serverName":"ch.opencaselaw/swiss-caselaw","endpointFingerprint":"8f4dd83cffa1af14c54601205078e3b216837b02b9e0e55d906d384690b63c23","name":"check_claim_support","title":"Check claim support","description":"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.","inputSchema":{"type":"object","properties":{"claim":{"type":"string","description":"The legal proposition you want to verify (e.g., 'A landlord is liable for fire-police violations under Art. 256 OR.')."},"decision_id":{"type":"string","description":"Decision you intend to cite as authority."},"pinpoint":{"type":"string","description":"Optional Erwägung number ('2.3'). If given, only that paragraph is judged; more precise verdict."}},"required":["claim","decision_id"]},"annotations":{"readOnlyHint":true,"destructiveHint":false,"openWorldHint":false},"definitionHash":"29e65091820f0b5f4eea66cf2c8e9d3fb2cd38773f5c631e1c6891810c466475","schemaStatus":"valid","origin":"official-registry","observedAt":"2026-11-14T15:46:05.520Z","metadataTrust":"untrusted"},{"serverName":"ch.opencaselaw/swiss-caselaw","endpointFingerprint":"8f4dd83cffa1af14c54601205078e3b216837b02b9e0e55d906d384690b63c23","name":"cite","title":"Canonical citation","description":"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.","inputSchema":{"type":"object","properties":{"reference":{"type":"string","description":"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":{"type":"string","description":"Optional Erwägung/consid. number ('2.3', '5.2.1'). Included in the citation and as a #e-2-3 URL anchor."},"language":{"type":"string","enum":["de","fr","it"],"description":"Primary language for the citation_string field (all three variants always returned). Default: de."}},"required":["reference"]},"annotations":{"readOnlyHint":true,"destructiveHint":false,"openWorldHint":false},"definitionHash":"dd4968cbb7bc8fe4cffe734903f892c37e169974a24c7ee7ba561727e900773a","schemaStatus":"valid","origin":"official-registry","observedAt":"2026-11-14T15:46:05.520Z","metadataTrust":"untrusted"},{"serverName":"ch.opencaselaw/swiss-caselaw","endpointFingerprint":"8f4dd83cffa1af14c54601205078e3b216837b02b9e0e55d906d384690b63c23","name":"draft_mock_decision","title":"Draft mock decision","description":"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.","inputSchema":{"type":"object","properties":{"facts":{"type":"string","description":"Detailed facts of the hypothetical or real case."},"question":{"type":"string","description":"Optional legal question to decide."},"preferred_language":{"type":"string","description":"Output/analysis language preference.","enum":["de","fr","it","rm","en"]},"deciding_court":{"type":"string","description":"Hypothetical deciding court (e.g., bger, bvger)."},"statute_references":{"type":"array","description":"Optional explicit statute list. Each item: {law_code, article, paragraph?}.","items":{"type":"object","properties":{"law_code":{"type":"string"},"article":{"type":"string"},"paragraph":{"type":"string"}},"required":["law_code","article"]}},"fedlex_urls":{"type":"array","description":"Optional Fedlex URLs used to fetch statute text. Useful when no built-in URL mapping is available.","items":{"type":"string"}},"clarifications":{"type":"array","description":"Optional answers to prior clarification questions. Each item: {id, answer}. The tool withholds conclusion until high-priority clarifications are answered.","items":{"type":"object","properties":{"id":{"type":"string"},"answer":{"type":"string"}},"required":["id","answer"]}},"limit":{"type":"integer","description":"Number of case-law exemplars (default 8, max 20).","default":8}},"required":["facts"]},"annotations":{"readOnlyHint":true,"destructiveHint":false,"openWorldHint":false},"definitionHash":"91fafaafa4a9a945e2416cfb3ad3f4e552bc7b2ee8a461ab0e57dbb9b2912f10","schemaStatus":"valid","origin":"official-registry","observedAt":"2026-11-14T15:46:05.520Z","metadataTrust":"untrusted"},{"serverName":"ch.opencaselaw/swiss-caselaw","endpointFingerprint":"8f4dd83cffa1af14c54601205078e3b216837b02b9e0e55d906d384690b63c23","name":"fetch","title":"Fetch decision (basic)","description":"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`.","inputSchema":{"type":"object","properties":{"id":{"type":"string","description":"Decision id from a search result (decision_id, docket, or BGE reference)."}},"required":["id"]},"annotations":{"readOnlyHint":true,"destructiveHint":false,"openWorldHint":false},"definitionHash":"cd6268769761a68d9bb59d6b4754b7fe32b535cc778669694654d8875b778679","schemaStatus":"valid","origin":"official-registry","observedAt":"2026-11-14T15:46:05.520Z","metadataTrust":"untrusted"},{"serverName":"ch.opencaselaw/swiss-caselaw","endpointFingerprint":"8f4dd83cffa1af14c54601205078e3b216837b02b9e0e55d906d384690b63c23","name":"find_appeal_chain","title":"Find appeal chain","description":"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.","inputSchema":{"type":"object","properties":{"decision_id":{"type":"string","description":"Decision ID (e.g., bger_6B_1_2025)"},"min_confidence":{"type":"number","description":"Minimum confidence score (0-1, default 0.3)","default":0.3}},"required":["decision_id"]},"annotations":{"readOnlyHint":true,"destructiveHint":false,"openWorldHint":false},"definitionHash":"a7c07f2f0ea86fb5e09b94f736b241d43c46c9502439428fe7bce9b43e059bc8","schemaStatus":"valid","origin":"official-registry","observedAt":"2026-11-14T15:46:05.520Z","metadataTrust":"untrusted"},{"serverName":"ch.opencaselaw/swiss-caselaw","endpointFingerprint":"8f4dd83cffa1af14c54601205078e3b216837b02b9e0e55d906d384690b63c23","name":"find_citations","title":"Find citations","description":"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.","inputSchema":{"type":"object","properties":{"decision_id":{"type":"string","description":"Decision ID (e.g., bger_6B_1_2025)"},"direction":{"type":"string","description":"Citation direction: 'both' (default), 'outgoing', or 'incoming'","enum":["both","outgoing","incoming"],"default":"both"},"min_confidence":{"type":"number","description":"Minimum confidence score for resolved citations (0-1, default 0.3)","default":0.3},"limit":{"type":"integer","description":"Max citations per direction per page (default 50, max 200)","default":50},"offset":{"type":"integer","description":"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).","default":0}},"required":["decision_id"]},"annotations":{"readOnlyHint":true,"destructiveHint":false,"openWorldHint":false},"definitionHash":"9df0f7383e20f0feecebc5b1f6fc273cb69d739d2d6c052d72da24eeb80c2ae9","schemaStatus":"valid","origin":"official-registry","observedAt":"2026-11-14T15:46:05.520Z","metadataTrust":"untrusted"},{"serverName":"ch.opencaselaw/swiss-caselaw","endpointFingerprint":"8f4dd83cffa1af14c54601205078e3b216837b02b9e0e55d906d384690b63c23","name":"find_leading_cases","title":"Find leading cases","description":"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. <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.","inputSchema":{"type":"object","properties":{"query":{"type":"string","description":"Optional text query to filter by topic (FTS search)"},"law_code":{"type":"string","description":"Optional law code (e.g., BV, OR, ZGB, EMRK, StGB)"},"article":{"type":"string","description":"Optional article number (requires law_code)"},"court":{"type":"string","description":"Optional court filter (e.g., bger, bge, bvger)"},"date_from":{"type":"string","description":"Optional start date (YYYY-MM-DD)"},"date_to":{"type":"string","description":"Optional end date (YYYY-MM-DD)"},"limit":{"type":"integer","description":"Max results (default 20, max 100)","default":20},"include_pinpoint":{"type":"boolean","description":"Attach a pinpoint Erwägung citation to the top 3 leading cases when a confident match exists. Defaults true.","default":true}}},"annotations":{"readOnlyHint":true,"destructiveHint":false,"openWorldHint":false},"definitionHash":"c0f97916600f11c7450539db91ede1f0dafebbdacb9db828dcea0e79d1529f87","schemaStatus":"valid","origin":"official-registry","observedAt":"2026-11-14T15:46:05.520Z","metadataTrust":"untrusted"},{"serverName":"ch.opencaselaw/swiss-caselaw","endpointFingerprint":"8f4dd83cffa1af14c54601205078e3b216837b02b9e0e55d906d384690b63c23","name":"find_relevant_erwaegung","title":"Find relevant Erwägung","description":"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.","inputSchema":{"type":"object","properties":{"decision_id":{"type":"string","description":"decision_id, BGE reference, or docket number. Must be a federal decision (structured Erwägungen)."},"claim":{"type":"string","description":"Free-text legal claim or proposition the user wants to verify against the decision. The more specific, the higher the confidence."},"top_k":{"type":"integer","description":"Number of top matches to return (default 3, max 10).","default":3}},"required":["decision_id","claim"]},"annotations":{"readOnlyHint":true,"destructiveHint":false,"openWorldHint":false},"definitionHash":"c752152055d5623f6083b4dbfcf8cc2291ae81fecdbb2634298da9f380da6f72","schemaStatus":"valid","origin":"official-registry","observedAt":"2026-11-14T15:46:05.520Z","metadataTrust":"untrusted"},{"serverName":"ch.opencaselaw/swiss-caselaw","endpointFingerprint":"8f4dd83cffa1af14c54601205078e3b216837b02b9e0e55d906d384690b63c23","name":"find_scholarship_citing_decision","title":"Scholarship citing decision","description":"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.","inputSchema":{"type":"object","properties":{"decision_id":{"type":"string","description":"Canonical decision_id (e.g. 'bge_BGE_140_III_86', 'bger_4A_571_2008')."},"limit":{"type":"integer","description":"Maximum results (1-100, default 20).","default":20}},"required":["decision_id"]},"annotations":{"readOnlyHint":true,"destructiveHint":false,"openWorldHint":false},"definitionHash":"59e0631611ed447ceb5388ecd9ed060f8b2bca6eab55863feabf912a988fa8d0","schemaStatus":"valid","origin":"official-registry","observedAt":"2026-11-14T15:46:05.520Z","metadataTrust":"untrusted"},{"serverName":"ch.opencaselaw/swiss-caselaw","endpointFingerprint":"8f4dd83cffa1af14c54601205078e3b216837b02b9e0e55d906d384690b63c23","name":"find_scholarship_citing_statute","title":"Scholarship citing statute","description":"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).","inputSchema":{"type":"object","properties":{"sr_number":{"type":"string","description":"Swiss SR number (e.g. '220' for OR, '210' for ZGB)."},"article":{"type":"string","description":"Article number (e.g. '41'). Omit for all articles of the law."},"limit":{"type":"integer","description":"Maximum results (1-100, default 20).","default":20}},"required":["sr_number"]},"annotations":{"readOnlyHint":true,"destructiveHint":false,"openWorldHint":false},"definitionHash":"fa4aab6e3e558a4b5b6668b491708c1cd3202151d274d51e7af4437925180ffe","schemaStatus":"valid","origin":"official-registry","observedAt":"2026-11-14T15:46:05.520Z","metadataTrust":"untrusted"},{"serverName":"ch.opencaselaw/swiss-caselaw","endpointFingerprint":"8f4dd83cffa1af14c54601205078e3b216837b02b9e0e55d906d384690b63c23","name":"generate_exam_question","title":"Generate exam question","description":"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.","inputSchema":{"type":"object","properties":{"topic":{"type":"string","description":"Legal area, statute, or concept. Examples: 'Haftpflichtrecht', 'Art. 41 OR', 'Mietrecht', 'Strafrecht', 'Vertragsrecht'."},"exclude_ids":{"type":"array","items":{"type":"string"},"description":"decision_ids already used in this session — avoids repetition."}},"required":["topic"]},"annotations":{"readOnlyHint":true,"destructiveHint":false,"openWorldHint":false},"definitionHash":"8e36a9342f0c75b1298c26023ae7fd62b9ce369520edef726a3585ede1e4eadd","schemaStatus":"valid","origin":"official-registry","observedAt":"2026-11-14T15:46:05.520Z","metadataTrust":"untrusted"},{"serverName":"ch.opencaselaw/swiss-caselaw","endpointFingerprint":"8f4dd83cffa1af14c54601205078e3b216837b02b9e0e55d906d384690b63c23","name":"get_article_history","title":"Article history","description":"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.","inputSchema":{"type":"object","properties":{"sr_number":{"type":"string","description":"SR number of the federal law, e.g. '220' for OR."},"article":{"type":"string","description":"Article number, e.g. '41' for Art. 41 OR."},"language":{"type":"string","enum":["de","fr","it"],"default":"de"},"leading_cases_limit":{"type":"integer","default":5,"description":"Max leading cases (default 5, max 15)."}},"required":["sr_number","article"]},"annotations":{"readOnlyHint":true,"destructiveHint":false,"openWorldHint":false},"definitionHash":"1fb6e9eaa7b4be1ad0de2098a6f17b828a55a0650fff47c207a4b2dc86e33626","schemaStatus":"valid","origin":"official-registry","observedAt":"2026-11-14T15:46:05.520Z","metadataTrust":"untrusted"},{"serverName":"ch.opencaselaw/swiss-caselaw","endpointFingerprint":"8f4dd83cffa1af14c54601205078e3b216837b02b9e0e55d906d384690b63c23","name":"get_article_purpose","title":"Article purpose (ratio legis)","description":"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.","inputSchema":{"type":"object","properties":{"sr_number":{"type":"string","description":"SR (Systematische Rechtssammlung) number of the law, e.g. '220' for OR (Obligationenrecht), '101' for BV, '311.0' for StGB."},"article":{"type":"string","description":"Article number, e.g. '41' for Art. 41 OR. Letter-suffixed forms like '41a' supported."},"language":{"type":"string","enum":["de","fr","it"],"default":"de","description":"Botschaft language (defaults to German)."},"max_paragraphs":{"type":"integer","default":8,"description":"Maximum paragraphs per Botschaft (default 8, max 20)."}},"required":["sr_number","article"]},"annotations":{"readOnlyHint":true,"destructiveHint":false,"openWorldHint":false},"definitionHash":"ff59eb6baa43800d5b944e03461b467cbd97d3aeebbcbb6e862c2a740a0cc108","schemaStatus":"valid","origin":"official-registry","observedAt":"2026-11-14T15:46:05.520Z","metadataTrust":"untrusted"},{"serverName":"ch.opencaselaw/swiss-caselaw","endpointFingerprint":"8f4dd83cffa1af14c54601205078e3b216837b02b9e0e55d906d384690b63c23","name":"get_case_brief","title":"Case brief","description":"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.","inputSchema":{"type":"object","properties":{"case":{"type":"string","description":"Any case reference: BGE ref ('BGE 133 III 121', '133 III 121'), decision_id ('bge_BGE_133_III_121'), or docket number."}},"required":["case"]},"annotations":{"readOnlyHint":true,"destructiveHint":false,"openWorldHint":false},"definitionHash":"1c18db0c8435d625195490d367478c0d73c54110d367fd4f6a28cd6d5c4bd192","schemaStatus":"valid","origin":"official-registry","observedAt":"2026-11-14T15:46:05.520Z","metadataTrust":"untrusted"},{"serverName":"ch.opencaselaw/swiss-caselaw","endpointFingerprint":"8f4dd83cffa1af14c54601205078e3b216837b02b9e0e55d906d384690b63c23","name":"get_commentary","title":"Get commentary","description":"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.","inputSchema":{"type":"object","properties":{"abbreviation":{"type":"string","description":"Law abbreviation (e.g., 'OR', 'BV', 'ZGB', 'StGB'). Preferred over sr_number."},"sr_number":{"type":"string","description":"SR number of the law (e.g., '220' for OR). Use if abbreviation unknown."},"article":{"type":"string","description":"Article number (e.g., '41', '8'). Omit to list available articles."},"language":{"type":"string","description":"Preferred language (de, en, fr, it). Falls back to de if unavailable.","default":"de"},"canton":{"type":"string","description":"Two-letter canton code for a cantonal act (e.g. 'SH' with abbreviation 'VRG' or 'JG'). Omit for federal law."}}},"annotations":{"readOnlyHint":true,"destructiveHint":false,"openWorldHint":false},"definitionHash":"15c89608c3f07e7c3131d7395e053f95915d8735551558743250570225fc5b73","schemaStatus":"valid","origin":"official-registry","observedAt":"2026-11-14T15:46:05.520Z","metadataTrust":"untrusted"},{"serverName":"ch.opencaselaw/swiss-caselaw","endpointFingerprint":"8f4dd83cffa1af14c54601205078e3b216837b02b9e0e55d906d384690b63c23","name":"get_decision","title":"Get decision","description":"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.","inputSchema":{"type":"object","properties":{"decision_id":{"type":"string","description":"Decision ID, docket number, or partial docket"},"full_text":{"type":"boolean","description":"Include full text in response (default true). Set false to get only metadata and regeste.","default":true}},"required":["decision_id"]},"annotations":{"readOnlyHint":true,"destructiveHint":false,"openWorldHint":false},"definitionHash":"1828b3a23cee326393502d8430b9c197a7852b6ec0d8609ced124c981bf5073e","schemaStatus":"valid","origin":"official-registry","observedAt":"2026-11-14T15:46:05.520Z","metadataTrust":"untrusted"},{"serverName":"ch.opencaselaw/swiss-caselaw","endpointFingerprint":"8f4dd83cffa1af14c54601205078e3b216837b02b9e0e55d906d384690b63c23","name":"get_decision_structure","title":"Decision structure","description":"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.","inputSchema":{"type":"object","properties":{"decision_id":{"type":"string","description":"decision_id ('bger_5A_42_2026', 'bge_140 III 86'), BGE reference, or docket number."}},"required":["decision_id"]},"annotations":{"readOnlyHint":true,"destructiveHint":false,"openWorldHint":false},"definitionHash":"0cef5c83ee943ff14705d7e5e3ac2ce4bd3ea1e64df5a326ebb400ede1ee4406","schemaStatus":"valid","origin":"official-registry","observedAt":"2026-11-14T15:46:05.520Z","metadataTrust":"untrusted"},{"serverName":"ch.opencaselaw/swiss-caselaw","endpointFingerprint":"8f4dd83cffa1af14c54601205078e3b216837b02b9e0e55d906d384690b63c23","name":"get_decisions","title":"Get decisions (batch)","description":"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.","inputSchema":{"type":"object","properties":{"decision_ids":{"type":"array","items":{"type":"string"},"minItems":1,"maxItems":10,"description":"Decision ids, docket numbers or BGE references (e.g. ['bge_BGE_140_III_86', '6B_1234/2025'])."},"full_text":{"type":"boolean","default":false,"description":"Include an excerpt of each decision's full text (default false — Regeste + metadata only)."},"max_chars_per_decision":{"type":"integer","default":20000,"description":"Per-decision text cap when full_text is true (default 20,000; total response stays under connector limits)."}},"required":["decision_ids"]},"annotations":{"readOnlyHint":true,"destructiveHint":false,"openWorldHint":false},"definitionHash":"414e8f52c9eda3350107f55bb1ab344ec76dbf8bab27bcef46bba8d0485a6eed","schemaStatus":"valid","origin":"official-registry","observedAt":"2026-11-14T15:46:05.520Z","metadataTrust":"untrusted"},{"serverName":"ch.opencaselaw/swiss-caselaw","endpointFingerprint":"8f4dd83cffa1af14c54601205078e3b216837b02b9e0e55d906d384690b63c23","name":"get_doctrine","title":"Get doctrine","description":"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.","inputSchema":{"type":"object","properties":{"query":{"type":"string","description":"Statute article ('Art. 41 OR', 'Art. 8 BV') or legal concept ('Tierhalterhaftung', 'culpa in contrahendo'). German preferred."}},"required":["query"]},"annotations":{"readOnlyHint":true,"destructiveHint":false,"openWorldHint":false},"definitionHash":"5e28d67611ed1f21abadf751810e2219d3a0603074fd5fd0fe4f25a0e4b67e82","schemaStatus":"valid","origin":"official-registry","observedAt":"2026-11-14T15:46:05.520Z","metadataTrust":"untrusted"},{"serverName":"ch.opencaselaw/swiss-caselaw","endpointFingerprint":"8f4dd83cffa1af14c54601205078e3b216837b02b9e0e55d906d384690b63c23","name":"get_erwaegung","title":"Get Erwägung (verbatim)","description":"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', …","inputSchema":{"type":"object","properties":{"decision_id":{"type":"string","description":"decision_id, BGE reference, or docket number."},"e_number":{"type":"string","description":"Erwägung number to retrieve (e.g. '2', '2.3', '5.2.1'). Leading 'E.' is stripped if present."}},"required":["decision_id","e_number"]},"annotations":{"readOnlyHint":true,"destructiveHint":false,"openWorldHint":false},"definitionHash":"a7a0c271e9ed5a404232cadf452bed7b72da7d08fd5af059f08ed72a267eb38b","schemaStatus":"valid","origin":"official-registry","observedAt":"2026-11-14T15:46:05.520Z","metadataTrust":"untrusted"},{"serverName":"ch.opencaselaw/swiss-caselaw","endpointFingerprint":"8f4dd83cffa1af14c54601205078e3b216837b02b9e0e55d906d384690b63c23","name":"get_law","title":"Get law","description":"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').","inputSchema":{"type":"object","properties":{"sr_number":{"type":"string","description":"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":{"type":"string","description":"Alias for sr_number — the cantonal-friendly name (LS / systematic number), matching get_legislation. Either field works."},"abbreviation":{"type":"string","description":"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. Cantonal: 'ZH/StG' or 'StG/ZH' (the canton is part of the name; many cantonal acts have no abbreviation — use sr_number or search_laws)."},"article":{"type":"string","description":"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":{"type":"string","description":"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).","enum":["de","fr","it"],"default":"de"},"canton":{"type":"string","description":"Two-letter canton code (ZH, BE, LU, …) or 'CH' for federal. Default 'CH' preserves backward compat.","default":"CH"},"as_of":{"type":"string","pattern":"^(\\d{4}-\\d{2}-\\d{2}|\\d{1,2}\\.\\d{1,2}\\.\\d{4})$","description":"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 only (rejected for cantons). Fedlex publishes machine-readable text for most acts only for editions of the 2010s and later; an older edition returns an error naming the formats Fedlex has for it."}}},"annotations":{"readOnlyHint":true,"destructiveHint":false,"openWorldHint":false},"definitionHash":"3fb07af8a31d5ff6c5341d7b8832a80a2db7556a15d38e36e9b1b95a820a8c15","schemaStatus":"valid","origin":"official-registry","observedAt":"2026-11-14T15:46:05.520Z","metadataTrust":"untrusted"},{"serverName":"ch.opencaselaw/swiss-caselaw","endpointFingerprint":"8f4dd83cffa1af14c54601205078e3b216837b02b9e0e55d906d384690b63c23","name":"get_legislation","title":"Get legislation","description":"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.","inputSchema":{"type":"object","properties":{"lexfind_id":{"type":"integer","description":"LexFind ID of the law (from search_legislation results). Positive integer; omit it when unknown rather than passing 0."},"systematic_number":{"type":"string","description":"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":{"type":"string","description":"Canton for systematic number lookup (default CH). Required for cantonal laws.","default":"CH"},"include_versions":{"type":"boolean","description":"Include full version history (default false).","default":false},"language":{"type":"string","description":"Result language: de, fr, it.","enum":["de","fr","it"],"default":"de"}}},"annotations":{"readOnlyHint":true,"destructiveHint":false,"openWorldHint":false},"definitionHash":"302e83388d5ecaabec2547c3a7451ee52ab099a7705cf8bec67772d50d2ca360","schemaStatus":"valid","origin":"official-registry","observedAt":"2026-11-14T15:46:05.520Z","metadataTrust":"untrusted"}],"endpoints":[{"endpointFingerprint":"e495243af8b9c6a6bc2317ce05fc3367f8e20669c80751c5715e08cbb8f5824e","protocol":"sse","status":"unsupported","toolCount":0,"observedAt":"2026-10-20T20:43:10.133Z"},{"endpointFingerprint":"8f4dd83cffa1af14c54601205078e3b216837b02b9e0e55d906d384690b63c23","protocol":"streamable-http","status":"indexed","toolCount":42,"observedAt":"2026-11-14T15:46:05.520Z"}],"authentication":"unknown"},"connectionConfigurations":{"status":"ready","authentication":"not embedded","clients":{"Claude Desktop":{"mcpServers":{"ch.opencaselaw/swiss-caselaw":{"url":"https://mcp.opencaselaw.ch/mcp"}}},"Cursor":{"mcpServers":{"ch.opencaselaw/swiss-caselaw":{"url":"https://mcp.opencaselaw.ch/mcp"}}},"VS Code":{"servers":{"ch.opencaselaw/swiss-caselaw":{"type":"http","url":"https://mcp.opencaselaw.ch/mcp"}}}}},"resourceType":"mcp-server","callable":true,"runtime":{"callable":true,"protocols":["mcp"]},"interfaces":[{"protocol":"mcp","transport":"streamable-http","url":"https://mcp.opencaselaw.ch/mcp"},{"protocol":"mcp","transport":"sse","url":"https://mcp.opencaselaw.ch/sse"}],"profile":{"apiVersion":"1","schemaVersion":"1","id":"mcp-server:ch.opencaselaw%2Fswiss-caselaw","resourceType":"mcp-server","canonicalUrl":"https://www.agentsjunction.com/api/v1/servers/ch.opencaselaw%2Fswiss-caselaw","name":"ch.opencaselaw/swiss-caselaw","description":"1M+ Swiss court decisions, statutes & doctrine with citation graph (DE/FR/IT). CC0, free, 42 tools.","interfaces":[{"protocol":"mcp","transport":"streamable-http","url":"https://mcp.opencaselaw.ch/mcp"},{"protocol":"mcp","transport":"sse","url":"https://mcp.opencaselaw.ch/sse"}],"capabilities":[],"identity":{"source":"official-registry","websiteUrl":"https://opencaselaw.ch","repositoryUrl":"https://github.com/jonashertner/caselaw-repo-1","version":"1.3.0"},"verification":{"state":"official","confidence":100},"operations":{"resourceType":"mcp-server","name":"ch.opencaselaw/swiss-caselaw","status":"online","lastCheckedAt":"2026-11-20T05:18:40.028Z","lastSuccessfulCheck":"2026-11-20T05:18:40.028Z","latencyMs":441,"consecutiveFailures":0,"isStale":false,"checks":{"endpointReachable":true,"protocolValid":true,"agentCardValid":null,"mcpHandshakeValid":true},"lastSeen":null,"lastSuccessfulInteraction":null,"lastHealthCheck":"2026-11-20T05:18:40.028Z","source":{"type":"health-check","url":null},"observedAt":"2026-11-20T05:18:40.028Z"},"security":null,"timestamps":{"createdAt":"2026-07-30T23:19:08.326Z","updatedAt":"2026-07-30T23:19:08.326Z","observedAt":"2026-11-20T05:18:40.028Z"},"compatibility":{"serverVersion":"1.3.0","protocolVersions":[{"protocol":"mcp","version":null}]}}}}