OpenCaseLaw — Swiss Caselaw, Statutes & Doctrine
ch.opencaselaw/swiss-caselaw · Website · Repository
1M+ Swiss court decisions, statutes & doctrine with citation graph (DE/FR/IT). CC0, free, 42 tools.
On 2026-11-30 03:04 UTC, the BOTERNITY MCP Index scored OpenCaseLaw — Swiss Caselaw, Statutes & Doctrine (ch.opencaselaw/swiss-caselaw) 81/100 (grade B); 42 tools, 28769 tokens for tools/list; healthy in 57 % of 7 checks over 30 days. Source: https://boternity.com/mcp-index/server?name=ch.opencaselaw%2Fswiss-caselaw
Free to reuse under CC BY 4.0 with a link. Permanent link: this page · JSON (status, score and the last 30 checks) · key numbers of the whole index.
Score breakdown
| Reliability initialize, ping, response time | 30 / 30 |
| Protocol conformance protocol revision, server info, instructions | 18 / 20 |
| Tool definitions descriptions, documented and typed parameters, annotations | 33 / 40 |
| Context cost tokens that tools/list adds to every agent's context | 0 / 10 |
Tools this server declares
42 tools listed by the server at the check of 2026-11-30.
analyze_legal_trend— Year-by-year decision counts showing jurisprudence evolution. Use with a statute reference (law_code + article), a text query, or both. Returns yearly counts with visual bar chart. Years are decision years: the latest one or two keep rising (parameters: article, court, date_from, date_to, law_code, query · read-only)attest_response— MANDATORY FINAL-STEP AUDIT of your draft answer. Checks five hallucination classes: (1) every case citation (BGE/BGer/BVGer/BStGer/BPatGer/MKGE, FR/IT forms) exists and any pinpoint (E. X.Y) resolves to a real Erwägung; (2) every 'Art. X LA (parameters: audit_grounding, audit_quotes, draft_text* · read-only)browse_legislation_changes— Browse recent legislation changes for a canton or federal level. Shows new laws, amendments, and abrogations with dates. (parameters: canton, language · read-only)check_claim_support— Verify whether a Swiss court decision actually supports a legal claim. Uses an independent Sonnet judge to compare the claim against verbatim text from the decision (Erwägung if pinpoint given, else Regeste, else first portion of full text) (parameters: claim*, decision_id*, pinpoint · read-only)cite— 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 (parameters: language, pinpoint, reference* · read-only)draft_mock_decision— Build a research-only mock decision outline from user facts. Combines relevant Swiss case law retrieval with statute references. If possible, enriches statutes with Fedlex text excerpts. IMPORTANT: The tool may return clarification question (parameters: clarifications, deciding_court, facts*, fedlex_urls, limit, preferred_language, question, statute_references · read-only)fetch— 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 d (parameters: id* · read-only)find_appeal_chain— Trace the appeal chain (Instanzenzug) for a decision. Shows prior instances (lower courts) and subsequent instances (appeals to higher courts). Reconstructs the full procedural path, e.g. Bezirksgericht → Obergericht → Bundesgericht. Uses t (parameters: decision_id*, min_confidence · read-only)find_citations— Given a decision_id, show what it cites and what cites it. Uses the reference graph database with 9.65M citation edges. Returns resolved citations with confidence scores and unresolved references. (parameters: decision_id*, direction, limit, min_confidence, offset · read-only)find_leading_cases— Find the most-cited decisions for a topic or statute. Authority ranking based on citation graph, so recent decisions rank low (not yet cited); for the newest use search_decisions(sort='date_desc'). A free-text topic ranks decisions whose re (parameters: article, court, date_from, date_to, include_pinpoint, law_code, limit, query · read-only)find_relevant_erwaegung— 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 (parameters: claim*, decision_id*, top_k · read-only)find_scholarship_citing_decision— Find OA legal scholarship that cites a specific Swiss court decision. Reverse direction of the scholarship↔caselaw bridge: given a decision_id (e.g. 'bge_BGE_140_III_86' or 'bger_4A_571_2008'), return open-access publications that cite it i (parameters: decision_id*, limit · read-only)find_scholarship_citing_statute— Find OA legal scholarship that cites a given Swiss statute article. Sourced from article-anchored commentaries (OnlineKommentar / OpenLegalCommentary) PLUS full-text citation extraction across the open-access journal corpus (~90k statute re (parameters: article, limit, sr_number* · read-only)generate_exam_question— Generate a Swiss law exam practice question (Fallbearbeitung) based on a real BGE. Returns a fact pattern (Sachverhalt) from a real court decision and a hidden analysis (applicable statutes, leading case, legal test, correct outcome). Workf (parameters: exclude_ids, topic* · read-only)get_article_history— Chronological story of a single statute article: current text + every linked Botschaft (enacted + amendments) + leading court interpretations + doctrinal commentary, all ordered by date. Combines statutes.db, materialien.db, reference_graph (parameters: article*, language, leading_cases_limit, sr_number* · read-only)get_article_purpose— 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 (parameters: article*, language, max_paragraphs, sr_number* · read-only)get_case_brief— Structured case brief: regeste, Sachverhalt, key Erwägungen (first 12 only — for orientation, NOT a pinpoint ranking), Dispositiv, statutes, citation authority, related cases. Accepts BGE ref, decision_id, or docket. To pinpoint which Erwäg (parameters: case* · read-only)get_commentary— Look up a commentary on a Swiss federal law article: OnlineKommentar.ch (CC-BY-4.0; BV, OR, ZGB, StGB, StPO, ZPO, DSG, SchKG and more) and, for the BV, OpenLegalCommentary.ch (CC BY-SA 4.0; AI-generated, de/fr/it), which yields to OnlineKom (parameters: abbreviation, article, canton, language, sr_number · read-only)get_decision— Fetch a single court decision with full text. Look up by decision_id (e.g., bger_6B_1234_2025), docket number (e.g., 6B_1234/2025), or partial match. Full text is truncated at 200,000 characters for very long decisions. Set full_text=false (parameters: decision_id*, full_text · read-only)get_decision_structure— Structured decision fields: Sachverhalt (facts), Erwägungen as numbered paragraphs ('1', '1.1', '2.3'), Dispositiv (ruling), Regeste (BGE only). Federal decisions only; for cantonal use get_decision. Returns excerpts; for verbatim full text (parameters: decision_id* · read-only)get_decisions— 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 (parameters: decision_ids*, full_text, max_chars_per_decision · read-only)get_doctrine— Get statute text + leading cases + doctrinal timeline + Federal Council Botschaft (legislative intent) + scholarly commentary for a Swiss law article or legal concept. ALWAYS USE THIS for questions about the purpose, intent, or ratio legis (parameters: query* · read-only)get_erwaegung— 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. Ret (parameters: decision_id*, e_number* · read-only)get_law— AUTHORITATIVE LOOKUP for the text of any Swiss law article — federal OR cantonal. Federal (canton='CH', default): Fedlex mirror, all federal acts (OR, ZGB, StGB, ZPO, StPO, BV, SchKG, BGG, DBG, KVG …) in DE/FR/IT; names match in any languag (parameters: abbreviation, article, as_of, canton, language, sr_number, systematic_number · read-only)get_legislation— Retrieve the FULL TEXT and article list of a specific Swiss law, federal or cantonal, by LexFind ID or SR/systematic number. For federal laws in the Fedlex mirror this is instant (local SQLite). For cantonal laws, the law is downloaded from (parameters: canton, include_versions, language, lexfind_id, systematic_number · read-only)get_materialien— Look up Materialien for a Swiss federal law article. Returns: `sources` = per-article digests of legislative intent (BV and BGFA only); `botschaft_documents` = the Bundesblatt documents that concern the article (Botschaften, Berichte, Stell (parameters: article, doc_type, law_code* · read-only)get_practice— Retrieve a single federal administrative-practice document by its doc_id (e.g. 'estv_ks_ks_nr_28', 'sem_weisungen_weisungen-aug-d', 'bsv_weisungen_6930_v20_de', 'seco_alv_avig_ale_de', 'un_uhri_3f3a9db7-5e9a-416f-ad28-8c8f97a8322c_en'). Ret (parameters: doc_id*, max_chars, offset · read-only)get_regeste— Get the official Regeste (head-note) of a Swiss court decision. The Regeste is the court's own formulation of the legal rule established — for BGEs especially, this is the canonical citation target. Often references specific Erwägungen via (parameters: decision_id* · read-only)get_scholarship— 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. (parameters: pub_id* · read-only)get_scholarship_full_text— Fetch the full text of an OA legal publication by pub_id, on demand. Cached after first fetch so subsequent calls are instant. License-gated: only records under CC-BY-* (except CC-BY-ND), OA-Swiss-federal, or OA-author-permitted-reuse are e (parameters: pub_id* · read-only)
Other tools: get_statistics, list_courts, list_scholarship_sources, search, search_botschaft, search_commentaries, search_decisions, search_laws, search_legislation, search_materialien, search_practice, search_scholarship
Tool names and descriptions are the server's own words, copied from its tools/list answer at the dated check (descriptions cut at 240 characters, 12 parameters, 30 documented tools at most). BOTERNITY never calls these tools and does not verify what they do. Parameters marked * are required.
Add it to your client
Address (Streamable HTTP): https://mcp.opencaselaw.ch/mcp. The check of 2026-11-30 (UTC) connected to this address without any credential.
Claude (claude.ai, Claude Desktop): add a custom connector and paste the address https://mcp.opencaselaw.ch/mcp (docs).
ChatGPT: add the address https://mcp.opencaselaw.ch/mcp as a connector (docs).
Claude Code, in a terminal (options: claude mcp add --help):
claude mcp add --transport http swiss-caselaw https://mcp.opencaselaw.ch/mcpCursor, in ~/.cursor/mcp.json (all projects) or .cursor/mcp.json (one project) (docs):
{
"mcpServers": {
"swiss-caselaw": {
"url": "https://mcp.opencaselaw.ch/mcp"
}
}
}VS Code, in .vscode/mcp.json (docs):
{
"servers": {
"swiss-caselaw": {
"type": "http",
"url": "https://mcp.opencaselaw.ch/mcp"
}
}
}Generated from the Streamable HTTP address this server publishes in the official MCP Registry (the address the Index check connects to) and from the request headers its registry entry declares as required. Values in capitals are placeholders: get the real ones from the publisher. Nothing here is run against the server. Whether each client can complete the connection is measured just below.
Works with Claude, ChatGPT, Cursor and VS Code?
| Client | Verdict | Why |
|---|---|---|
| Claude | Ready | Answered a standard MCP initialize over Streamable HTTP without sign-in on 2026-11-30; Claude accepts servers that need no sign-in. client docs |
| ChatGPT | Ready | Answered a standard MCP initialize over Streamable HTTP without sign-in on 2026-11-30; ChatGPT accepts servers that need no sign-in. client docs |
| Cursor | Ready | Answered a standard MCP initialize over Streamable HTTP without sign-in on 2026-11-30; Cursor accepts servers that need no sign-in. client docs |
| VS Code | Ready | Answered a standard MCP initialize over Streamable HTTP without sign-in on 2026-11-30; VS Code accepts servers that need no sign-in. client docs |
How verdicts are made: measured continuously, never guessed. All servers that work with each client.
Badges for your README, updated after each new check with the verdicts above:
[](https://boternity.com/mcp-index/server?name=ch.opencaselaw%2Fswiss-caselaw#clients)
[](https://boternity.com/mcp-index/server?name=ch.opencaselaw%2Fswiss-caselaw#clients)
[](https://boternity.com/mcp-index/server?name=ch.opencaselaw%2Fswiss-caselaw#clients)
[](https://boternity.com/mcp-index/server?name=ch.opencaselaw%2Fswiss-caselaw#clients)
Availability
57 % over 7 checks. Last check 2026-11-30.
What the last check found
- 32 of 42 tools without outputSchema
- tools/list costs about 28769 tokens of every agent's context
- unknown method returns error -32602 instead of -32601
Badge for your README
[](https://boternity.com/mcp-index/server?name=ch.opencaselaw%2Fswiss-caselaw)
This measurement is signed by boternity.com (Ed25519, key 450c02fbfb29dba9, digest sha256:0287a793ada86430…), in the badge and in the JSON. Anyone can check a copy.
Get alerted when it goes down
Free: leave an e-mail or a webhook and we tell you when this server goes down and when it is back. Without a subscription nobody is told, even when it is followed on the MCP weather.
Or follow it in a feed reader: Atom feed · JSON Feed (first seen, became unavailable, back online, tool definitions changed; checks of the last 30 days).
Endpoint: https://mcp.opencaselaw.ch/mcp. Scores are automatic and may be wrong. Owners can ask for removal via support.