Browse · Decisions
Swiss court decisions
The largest open dataset of Swiss court decisions from all federal courts and 26 cantons — plus direct access to 5,516 federal laws and 15,722 cantonal enactments. Search instantly with AI or download the full dataset.
Loading
Access the Data
Search with AI
Search over 1,050,000 Swiss court decisions in natural language. Find relevant cases, trace citations between decisions, analyze legal trends, and draft research memos.
Remote (recommended)
Instant, always current. No download needed.
Claude Desktop
Settings → Connectors → Add →
Settings → Connectors → Add →
https://mcp.opencaselaw.ch
Claude Code
claude mcp add swiss-caselaw \
--transport sse \
https://mcp.opencaselaw.ch
ChatGPT (Pro/Team/Enterprise)
Settings → Apps → Advanced settings → enable Developer mode → Create app → name "Swiss Caselaw", paste URL below, auth: None. In chat: + → Developer mode → select app. Recommended with GPT-5.3 (GPT-5.4 does not currently support MCP tool invocation).
Settings → Apps → Advanced settings → enable Developer mode → Create app → name "Swiss Caselaw", paste URL below, auth: None. In chat: + → Developer mode → select app. Recommended with GPT-5.3 (GPT-5.4 does not currently support MCP tool invocation).
https://mcp.opencaselaw.ch/sse
Gemini CLI
// ~/.gemini/settings.json
{ "mcpServers": {
"swiss-caselaw": {
"url": "https://mcp.opencaselaw.ch"
}
}}
Claude: Pro, Max, Team, or Enterprise (Desktop) / any plan (Code). ChatGPT: Plus, Pro, Team, Enterprise, or Edu. Gemini CLI: free.
Local (offline)
Full control, works offline. ~65 GB disk, 30–60 min setup.
Works with any MCP client. Local mode includes database update tools.
What you can do after connecting:
- Search decisions in natural language — by keyword, topic, statute, or legal concept
- Look up any decision by docket number — with full text and metadata
- Retrieve the current text of 5,516 federal laws (~133,468 articles, DE/FR/IT) — and search 15,722 cantonal enactments
- View statistics and coverage across all federal and cantonal courts
- Find leading cases for any law or legal area, ranked by citation count
- Trace citation networks — see what a decision cites and what cites it
- Analyze how jurisprudence on a topic has evolved year by year
- Draft research memos from case facts — with relevant case law and statutes
Download
Download the full dataset as Parquet files
from datasets import load_dataset
ds = load_dataset("voilaj/swiss-caselaw")
REST API
Query via HuggingFace Datasets Server API
GET /rows?dataset=voilaj/swiss-caselaw
&config=default&split=train
&offset=0&length=10
Web UI
Local chat interface — ask questions in natural language, get answers with cited decisions. Runs on your machine with Claude, OpenAI, Gemini, or local models via Ollama (no API key needed).
git clone github.com/jonashertner/caselaw-repo-1
cd caselaw-repo-1
./scripts/run_web_local.sh
Coverage
Decisions per Year
Language Distribution
Federal Courts
| Court | Decisions | Languages |
|---|
Cantonal Courts
| Court | Canton | Decisions |
|---|
Cantons
Browse
Scraper Health
| Court | Status | New | Duration |
|---|