{"apiVersion":"v1","directorySlug":"opencaselaw-mcp-1a450cc805","title":"OpenCaseLaw: the open record of Swiss law, rebuilt every day","description":"The open record of Swiss law: 1,050,000+ published court decisions since 1875, all federal and cantonal courts, plus 9,600+ European Court of Human Rights judgments and 21,000+ federal and cantonal laws. CC0, rebuilt every day, readable by humans and machines.","pageUrl":"https://www.mcpbundles.com/skills/opencaselaw-mcp-1a450cc805","connectPath":"importable","connectAction":"import_server","catalogListing":false,"bundleSlug":null,"listingKind":"remote_mcp","kind":"provider","transportUrl":"https://mcp.opencaselaw.ch/mcp","hostedMcpUrl":null,"toolCount":42,"toolInventoryStatus":"observed","refreshedAt":"2026-11-03T13:26:00.516172+00:00","registryName":"ch.opencaselaw/opencaselaw-mcp-1a450cc805","registryVersion":"2026.11.3","registryEligible":true,"tools":[{"name":"search","description":"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.","inputSchema":{"type":"object","required":["query"],"properties":{"limit":{"type":"integer","default":10},"query":{"type":"string"}}},"title":"Search decisions (basic)","annotations":{"readOnlyHint":true,"untrustedContentHint":true},"logicalName":"search","displayName":"Search decisions (basic)"},{"name":"fetch","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","required":["id"],"properties":{"id":{"type":"string"}}},"title":"Fetch decision (basic)","annotations":{"readOnlyHint":true,"untrustedContentHint":true},"logicalName":"fetch","displayName":"Fetch decision (basic)"},{"name":"search_decisions","description":"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.","inputSchema":{"type":"object","required":[],"properties":{"sort":{"enum":["relevance","date_desc","date_asc"],"type":"string"},"court":{"type":"string"},"limit":{"type":"integer","default":50},"query":{"type":"string","maxLength":4000},"canton":{"type":"string"},"fields":{"enum":["full","compact"],"type":"string"},"offset":{"type":"integer","default":0},"chamber":{"type":"string"},"date_to":{"type":"string"},"language":{"enum":["de","fr","it","rm","en"],"type":"string"},"date_from":{"type":"string"},"include_pinpoint":{"type":"boolean","default":true},"marked_for_publication":{"type":"boolean"}}},"title":"Search decisions","annotations":{"readOnlyHint":true,"untrustedContentHint":true},"logicalName":"search_decisions","displayName":"Search decisions"},{"name":"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","required":["decision_id"],"properties":{"full_text":{"type":"boolean","default":true},"decision_id":{"type":"string"}}},"title":"Get decision","annotations":{"readOnlyHint":true,"untrustedContentHint":true},"logicalName":"get_decision","displayName":"Get decision"},{"name":"get_decisions","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 r","inputSchema":{"type":"object","required":["decision_ids"],"properties":{"full_text":{"type":"boolean","default":false},"decision_ids":{"type":"array","items":{"type":"string"},"maxItems":10,"minItems":1},"max_chars_per_decision":{"type":"integer","default":20000}}},"title":"Get decisions (batch)","annotations":{"readOnlyHint":true,"untrustedContentHint":true},"logicalName":"get_decisions","displayName":"Get decisions (batch)"},{"name":"list_courts","description":"List all available courts with decision counts, date ranges, and language coverage. Use this to discover what data is available.","inputSchema":{"type":"object","properties":{}},"title":"List courts","annotations":{"readOnlyHint":true,"untrustedContentHint":true},"logicalName":"list_courts","displayName":"List courts"},{"name":"get_statistics","description":"Get aggregate statistics about the dataset. Optionally filter by court, canton, or year.","inputSchema":{"type":"object","properties":{"year":{"type":"integer"},"court":{"type":"string"},"canton":{"type":"string"}}},"title":"Corpus statistics","annotations":{"readOnlyHint":true,"untrustedContentHint":true},"logicalName":"get_statistics","displayName":"Corpus statistics"},{"name":"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","required":["decision_id"],"properties":{"limit":{"type":"integer","default":50},"offset":{"type":"integer","default":0},"direction":{"enum":["both","outgoing","incoming"],"type":"string","default":"both"},"decision_id":{"type":"string"},"min_confidence":{"type":"number","default":0.3}}},"title":"Find citations","annotations":{"readOnlyHint":true,"untrustedContentHint":true},"logicalName":"find_citations","displayName":"Find citations"},{"name":"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","required":["decision_id"],"properties":{"decision_id":{"type":"string"},"min_confidence":{"type":"number","default":0.3}}},"title":"Find appeal chain","annotations":{"readOnlyHint":true,"untrustedContentHint":true},"logicalName":"find_appeal_chain","displayName":"Find appeal chain"},{"name":"find_leading_cases","description":"Find the most-cited decisions for a topic or statute. Authority ranking based on citation graph. 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-q","inputSchema":{"type":"object","properties":{"court":{"type":"string"},"limit":{"type":"integer","default":20},"query":{"type":"string"},"article":{"type":"string"},"date_to":{"type":"string"},"law_code":{"type":"string"},"date_from":{"type":"string"},"include_pinpoint":{"type":"boolean","default":true}}},"title":"Find leading cases","annotations":{"readOnlyHint":true,"untrustedContentHint":true},"logicalName":"find_leading_cases","displayName":"Find leading cases"},{"name":"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.","inputSchema":{"type":"object","properties":{"court":{"type":"string"},"query":{"type":"string"},"article":{"type":"string"},"date_to":{"type":"string"},"law_code":{"type":"string"},"date_from":{"type":"string"}}},"title":"Analyze legal trend","annotations":{"readOnlyHint":true,"untrustedContentHint":true},"logicalName":"analyze_legal_trend","displayName":"Analyze legal trend"},{"name":"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","required":["facts"],"properties":{"facts":{"type":"string"},"limit":{"type":"integer","default":8},"question":{"type":"string"},"fedlex_urls":{"type":"array","items":{"type":"string"}},"clarifications":{"type":"array","items":{"type":"object","required":["id","answer"],"properties":{"id":{"type":"string"},"answer":{"type":"string"}}}},"deciding_court":{"type":"string"},"preferred_language":{"enum":["de","fr","it","rm","en"],"type":"string"},"statute_references":{"type":"array","items":{"type":"object","required":["law_code","article"],"properties":{"article":{"type":"string"},"law_code":{"type":"string"},"paragraph":{"type":"string"}}}}}},"title":"Draft mock decision","annotations":{"readOnlyHint":true,"untrustedContentHint":true},"logicalName":"draft_mock_decision","displayName":"Draft mock decision"},{"name":"get_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","required":["case"],"properties":{"case":{"type":"string"}}},"title":"Case brief","annotations":{"readOnlyHint":true,"untrustedContentHint":true},"logicalName":"get_case_brief","displayName":"Case brief"},{"name":"get_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 N","inputSchema":{"type":"object","required":["decision_id"],"properties":{"decision_id":{"type":"string"}}},"title":"Decision structure","annotations":{"readOnlyHint":true,"untrustedContentHint":true},"logicalName":"get_decision_structure","displayName":"Decision structure"},{"name":"get_erwaegung","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. e_number: '1', '4.1', '5.2.1', …","inputSchema":{"type":"object","required":["decision_id","e_number"],"properties":{"e_number":{"type":"string"},"decision_id":{"type":"string"}}},"title":"Get Erwägung (verbatim)","annotations":{"readOnlyHint":true,"untrustedContentHint":true},"logicalName":"get_erwaegung","displayName":"Get Erwägung (verbatim)"},{"name":"find_relevant_erwaegung","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","required":["decision_id","claim"],"properties":{"claim":{"type":"string"},"top_k":{"type":"integer","default":3},"decision_id":{"type":"string"}}},"title":"Find relevant Erwägung","annotations":{"readOnlyHint":true,"untrustedContentHint":true},"logicalName":"find_relevant_erwaegung","displayName":"Find relevant Erwägung"},{"name":"get_article_purpose","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 the LLM can quote with `bbl_citation, S. {page}` references. USE THIS when the user asks","inputSchema":{"type":"object","required":["sr_number","article"],"properties":{"article":{"type":"string"},"language":{"enum":["de","fr","it"],"type":"string","default":"de"},"sr_number":{"type":"string"},"max_paragraphs":{"type":"integer","default":8}}},"title":"Article purpose (ratio legis)","annotations":{"readOnlyHint":true,"untrustedContentHint":true},"logicalName":"get_article_purpose","displayName":"Article purpose (ratio legis)"},{"name":"search_botschaft","description":"Use this tool to retrieve and quote the VERBATIM text of Federal Council Botschaften (legislative messages). Where get_article_purpose answers 'why does Art. X exist?', this tool answers 'show me every Botschaft passage about TOPIC X'. Useful when the caller doesn't know which SR/article to ask for — e.g. starting from a concept like 'Vaterschaftsurlaub' or 'Klimaschutz'. Returns ranked passages (FTS5 BM25) with bbl_citation, page, section path, and an article anchor where the parser could ident","inputSchema":{"type":"object","required":["query"],"properties":{"limit":{"type":"integer","default":20},"query":{"type":"string"},"language":{"enum":["de","fr","it"],"type":"string"},"year_max":{"type":"integer"},"year_min":{"type":"integer"}}},"title":"Search Botschaft","annotations":{"readOnlyHint":true,"untrustedContentHint":true},"logicalName":"search_botschaft","displayName":"Search Botschaft"},{"name":"get_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","required":["sr_number","article"],"properties":{"article":{"type":"string"},"language":{"enum":["de","fr","it"],"type":"string","default":"de"},"sr_number":{"type":"string"},"leading_cases_limit":{"type":"integer","default":5}}},"title":"Article history","annotations":{"readOnlyHint":true,"untrustedContentHint":true},"logicalName":"get_article_history","displayName":"Article history"},{"name":"get_regeste","description":"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).","inputSchema":{"type":"object","required":["decision_id"],"properties":{"decision_id":{"type":"string"}}},"title":"Get Regeste","annotations":{"readOnlyHint":true,"untrustedContentHint":true},"logicalName":"get_regeste","displayName":"Get Regeste"},{"name":"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 pr","inputSchema":{"type":"object","required":["claim","decision_id"],"properties":{"claim":{"type":"string"},"pinpoint":{"type":"string"},"decision_id":{"type":"string"}}},"title":"Check claim support","annotations":{"readOnlyHint":true,"untrustedContentHint":true},"logicalName":"check_claim_support","displayName":"Check claim support"},{"name":"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_groundin","inputSchema":{"type":"object","required":["draft_text"],"properties":{"draft_text":{"type":"string"},"audit_quotes":{"type":"boolean","default":true},"audit_grounding":{"type":"boolean"}}},"title":"Attest response","annotations":{"readOnlyHint":true,"untrustedContentHint":true},"logicalName":"attest_response","displayName":"Attest response"},{"name":"cite","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 for","inputSchema":{"type":"object","required":["reference"],"properties":{"language":{"enum":["de","fr","it"],"type":"string"},"pinpoint":{"type":"string"},"reference":{"type":"string"}}},"title":"Canonical citation","annotations":{"readOnlyHint":true,"untrustedContentHint":true},"logicalName":"cite","displayName":"Canonical citation"},{"name":"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, doct","inputSchema":{"type":"object","required":["query"],"properties":{"query":{"type":"string"}}},"title":"Get doctrine","annotations":{"readOnlyHint":true,"untrustedContentHint":true},"logicalName":"get_doctrine","displayName":"Get doctrine"},{"name":"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 repea","inputSchema":{"type":"object","required":["topic"],"properties":{"topic":{"type":"string"},"exclude_ids":{"type":"array","items":{"type":"string"}}}},"title":"Generate exam question","annotations":{"readOnlyHint":true,"untrustedContentHint":true},"logicalName":"generate_exam_question","displayName":"Generate exam question"},{"name":"get_law","description":"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;","inputSchema":{"type":"object","properties":{"as_of":{"type":"string","pattern":"^(\\d{4}-\\d{2}-\\d{2}|\\d{1,2}\\.\\d{1,2}\\.\\d{4})$"},"canton":{"type":"string","default":"CH"},"article":{"type":"string"},"language":{"enum":["de","fr","it"],"type":"string","default":"de"},"sr_number":{"type":"string"},"abbreviation":{"type":"string"},"systematic_number":{"type":"string"}}},"title":"Get law","annotations":{"readOnlyHint":true,"untrustedContentHint":true},"logicalName":"get_law","displayName":"Get law"},{"name":"search_laws","description":"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 p","inputSchema":{"type":"object","required":["query"],"properties":{"limit":{"type":"integer","default":10},"query":{"type":"string"},"canton":{"type":"string"},"language":{"enum":["de","fr","it"],"type":"string"},"sr_number":{"type":"string"},"jurisdiction":{"enum":["all","federal","cantonal"],"type":"string","default":"all"}}},"title":"Search laws","annotations":{"readOnlyHint":true,"untrustedContentHint":true},"logicalName":"search_laws","displayName":"Search laws"},{"name":"get_commentary","description":"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. Where no commentary exists (most provisions: the corpus holds only the open-access OnlineKommentar.ch / OpenLegalCommentary.ch commentaries) the answer is flagged `found: false` /","inputSchema":{"type":"object","properties":{"article":{"type":"string"},"language":{"type":"string","default":"de"},"sr_number":{"type":"string"},"abbreviation":{"type":"string"}}},"title":"Get commentary","annotations":{"readOnlyHint":true,"untrustedContentHint":true},"logicalName":"get_commentary","displayName":"Get commentary"},{"name":"search_commentaries","description":"Use this tool ONLY for article-anchored commentary from OnlineKommentar.ch — doctrinal discussion tied to a specific statute article. For the full OA scholarship corpus (which includes OnlineKommentar) use search_scholarship. Searches commentary text, titles, and article numbers. Returns ranked results with snippets, authors, and links. Useful for finding doctrinal discussion of a legal concept across multiple laws.","inputSchema":{"type":"object","required":["query"],"properties":{"limit":{"type":"integer","default":10},"query":{"type":"string"},"language":{"type":"string"},"abbreviation":{"type":"string"}}},"title":"Search commentaries","annotations":{"readOnlyHint":true,"untrustedContentHint":true},"logicalName":"search_commentaries","displayName":"Search commentaries"},{"name":"search_scholarship","description":"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","inputSchema":{"type":"object","required":[],"properties":{"sort":{"enum":["relevance","year","year_asc"],"type":"string"},"limit":{"type":"integer","default":10},"query":{"type":"string"},"author":{"type":"string"},"source":{"type":"string"},"language":{"type":"string"},"pub_type":{"type":"string"},"year_max":{"type":"integer"},"year_min":{"type":"integer"}}},"title":"Search scholarship","annotations":{"readOnlyHint":true,"untrustedContentHint":true},"logicalName":"search_scholarship","displayName":"Search scholarship"},{"name":"get_scholarship","description":"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.","inputSchema":{"type":"object","required":["pub_id"],"properties":{"pub_id":{"type":"string"}}},"title":"Get scholarship record","annotations":{"readOnlyHint":true,"untrustedContentHint":true},"logicalName":"get_scholarship","displayName":"Get scholarship record"},{"name":"find_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","required":["sr_number"],"properties":{"limit":{"type":"integer","default":20},"article":{"type":"string"},"sr_number":{"type":"string"}}},"title":"Scholarship citing statute","annotations":{"readOnlyHint":true,"untrustedContentHint":true},"logicalName":"find_scholarship_citing_statute","displayName":"Scholarship citing statute"},{"name":"find_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","required":["decision_id"],"properties":{"limit":{"type":"integer","default":20},"decision_id":{"type":"string"}}},"title":"Scholarship citing decision","annotations":{"readOnlyHint":true,"untrustedContentHint":true},"logicalName":"find_scholarship_citing_decision","displayName":"Scholarship citing decision"},{"name":"list_scholarship_sources","description":"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.","inputSchema":{"type":"object","properties":{}},"title":"List scholarship sources","annotations":{"readOnlyHint":true,"untrustedContentHint":true},"logicalName":"list_scholarship_sources","displayName":"List scholarship sources"},{"name":"get_scholarship_full_text","description":"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.","inputSchema":{"type":"object","required":["pub_id"],"properties":{"pub_id":{"type":"string"}}},"title":"Scholarship full text","annotations":{"readOnlyHint":true,"untrustedContentHint":true},"logicalName":"get_scholarship_full_text","displayName":"Scholarship full text"},{"name":"get_materialien","description":"Look up Materialien for a Swiss federal law article. Returns up to three things: `sources` = per-article digests of legislative intent (BV and BGFA only — 167 articles); `botschaft_documents` = the Federal Council messages that concern this article, with BBl citation, title and Fedlex link (620 SR numbers, 19,809 article links); `amendment_refs` = the AS/BBl publication locators from the statute's own footnotes. Empty `sources` means no digest exists for that law, NOT that the law has no legisla","inputSchema":{"type":"object","required":["law_code"],"properties":{"article":{"type":"string"},"law_code":{"type":"string"}}},"title":"Get Materialien","annotations":{"readOnlyHint":true,"untrustedContentHint":true},"logicalName":"get_materialien","displayName":"Get Materialien"},{"name":"search_materialien","description":"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'. Prefer search_botschaft, which covers all 6,154 Federal Council messages verbatim, or get_materialien(law_code) for the messages linked to one statute.","inputSchema":{"type":"object","required":["query"],"properties":{"limit":{"type":"integer","default":10},"query":{"type":"string"},"law_code":{"type":"string"}}},"title":"Search Materialien","annotations":{"readOnlyHint":true,"untrustedContentHint":true},"logicalName":"search_materialien","displayName":"Search Materialien"},{"name":"search_legislation","description":"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 resu","inputSchema":{"type":"object","required":["query"],"properties":{"limit":{"type":"integer","default":20},"query":{"type":"string"},"canton":{"type":"string"},"language":{"enum":["de","fr","it"],"type":"string"},"active_only":{"type":"boolean","default":true},"fetch_top_n_texts":{"type":"integer","default":0},"search_in_content":{"type":"boolean","default":false}}},"title":"Search legislation","annotations":{"readOnlyHint":true,"untrustedContentHint":true},"logicalName":"search_legislation","displayName":"Search legislation"},{"name":"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 pa","inputSchema":{"type":"object","properties":{"canton":{"type":"string","default":"CH"},"language":{"enum":["de","fr","it"],"type":"string","default":"de"},"lexfind_id":{"type":"integer"},"include_versions":{"type":"boolean","default":false},"systematic_number":{"type":"string"}}},"title":"Get legislation","annotations":{"readOnlyHint":true,"untrustedContentHint":true},"logicalName":"get_legislation","displayName":"Get legislation"},{"name":"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","default":"CH"},"language":{"enum":["de","fr","it"],"type":"string"}}},"title":"Browse legislation changes","annotations":{"readOnlyHint":true,"untrustedContentHint":true},"logicalName":"browse_legislation_changes","displayName":"Browse legislation changes"},{"name":"search_practice","description":"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, Handbu","inputSchema":{"type":"object","required":["query"],"properties":{"limit":{"type":"integer","default":10},"query":{"type":"string"},"source":{"enum":["finma_rs","seco_arg","bafu_vollzug","estv_ks","estv_mwst","sem_weisungen","bsv_weisungen","seco_alv","bag_kvg","sem_handbuch_asyl","bj_schkg","weko_bekanntmachungen","oak_bv"],"type":"string"},"doc_type":{"enum":["wegleitung","rundschreiben","vollzugshilfe","kreisschreiben","rundschreiben_anhang","mwst_branchen_info","mwst_info","weisung","handbuch","mitteilung","nachtrag","rechtsprechung","richtlinie","weisung_anhang","konkordat","erlass","bekanntmachung","erlaeuterung","entwurf"],"type":"string"},"language":{"type":"string"},"issuing_authority":{"enum":["FINMA","SECO","ESTV","BAFU","SEM","BSV","BAG","BJ","WEKO","OAK BV"],"type":"string"},"include_superseded":{"type":"boolean","default":false}}},"title":"Search administrative practice","annotations":{"readOnlyHint":true,"untrustedContentHint":true},"logicalName":"search_practice","displayName":"Search administrative practice"},{"name":"get_practice","description":"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.","inputSchema":{"type":"object","required":["doc_id"],"properties":{"doc_id":{"type":"string"}}},"title":"Get administrative practice","annotations":{"readOnlyHint":true,"untrustedContentHint":true},"logicalName":"get_practice","displayName":"Get administrative practice"}],"toolSource":"directory_preview","agentAction":"both","installLinks":[{"id":"cursor","label":"Cursor","href":"cursor://anysphere.cursor-deeplink/mcp/install?name=OpenCaseLaw-the-open-record-of-Swiss-law-rebuilt-every-day&config=eyJ1cmwiOiAiaHR0cHM6Ly9tY3Aub3BlbmNhc2VsYXcuY2gvbWNwIn0%3D"},{"id":"vscode","label":"VS Code","href":"vscode:mcp/install?%7B%22name%22%3A%22OpenCaseLaw-the-open-record-of-Swiss-law-rebuilt-every-day%22%2C%22type%22%3A%22http%22%2C%22url%22%3A%22https%3A%2F%2Fmcp.opencaselaw.ch%2Fmcp%22%7D"},{"id":"vscode-insiders","label":"VS Code Insiders","href":"vscode-insiders:mcp/install?%7B%22name%22%3A%22OpenCaseLaw-the-open-record-of-Swiss-law-rebuilt-every-day%22%2C%22type%22%3A%22http%22%2C%22url%22%3A%22https%3A%2F%2Fmcp.opencaselaw.ch%2Fmcp%22%7D"},{"id":"claude-web","label":"Claude.ai","href":"https://claude.ai/customize/connectors?modal=add-custom-connector&connectorName=OpenCaseLaw%3A+the+open+record+of+Swiss+law%2C+rebuilt+every+day&connectorUrl=https%3A%2F%2Fmcp.opencaselaw.ch%2Fmcp"},{"id":"codex","label":"Codex","copyText":"codex mcp add \"OpenCaseLaw-the-open-record-of-Swiss-law-rebuilt-every-day\" --url \"https://mcp.opencaselaw.ch/mcp\""},{"id":"chatgpt","label":"ChatGPT","href":"https://www.mcpbundles.com/docs/integrations/chatgpt"}],"catalogUrl":"https://www.mcpbundles.com/api/directory/v1/servers/opencaselaw-mcp-1a450cc805","callUrl":"https://www.mcpbundles.com/api/directory/v1/servers/opencaselaw-mcp-1a450cc805/tools/{tool}","mcpServerUrl":"https://mcp.opencaselaw.ch/mcp","liveCatalogUrl":"https://www.mcpbundles.com/api/directory/v1/servers/opencaselaw-mcp-1a450cc805?live=1"}