jonashertner/opencaselaw
Open Swiss case law and legislation
What it solves
Without it, Swiss federal and cantonal case law and legislation must be gathered piecemeal, and citation chains between cases are hard to trace.
- 1M+ decisions since 1875
- Citation graph across cases
- MCP, REST, CLI, Parquet
Works with
- claude-desktop
- cursor
- windsurf
- cli
Install
claude mcp add --transport http swiss-caselaw https://mcp.opencaselaw.ch pip install mcp pydantic huggingface-hub pyarrow fastapi pip install mcp pydantic huggingface-hub pyarrow claude mcp add swiss-caselaw -- /path/to/caselaw-repo-1/.venv/bin/python3 /path/to/caselaw-repo-1/mcp_server.py Copy-ready config
{
"mcpServers": {
"opencaselaw": {
"url": "https://mcp.opencaselaw.ch"
}
}
} {
"mcpServers": {
"swiss-caselaw": {
"httpUrl": "https://mcp.opencaselaw.ch"
}
}
} {
"mcpServers": {
"swiss-caselaw": {
"command": "/path/to/caselaw-repo-1/.venv/bin/python3",
"args": [
"/path/to/caselaw-repo-1/mcp_server.py"
]
}
}
} Security flags
- Needs API key: No
- Runs locally: Yes
- Network access: Yes
- Needs root: No
Maintenance
| Last commit | 2026-12-05(0d) |
|---|---|
| Stars | 83 |
| Open issues | 34 |
| License | MIT |
| Archived | No |
| Data fetched | 2026-12-05 |
Source excerpt
Verbatim README excerpt, unedited, so you can check the summary above.
Open Swiss case law and legislation for legal research and AI.