IA · serveur MCP
Connecter des agents IA
Le serveur MCP public d'OpenCaseLaw donne aux modèles de langage un accès direct à plus de 1’050’000 décisions judiciaires suisses, au graphe de citations, aux lois fédérales et aux actes cantonaux. 42 outils spécialisés, aucune inscription, aucune clé API.
§01 Betriebsmodi
Zwei Betriebsmodi
Remote empfohlen
Immédiatement disponible, toujours à jour. Aucun téléchargement requis. Endpoint serveur :
https://mcp.opencaselaw.ch
Lokal offline
Volle Kontrolle, funktioniert offline. ~65 GB Speicher, einmalige Einrichtung ca. 30–60 Minuten. Siehe README.
§02 Einrichtung
Einrichtung nach Client
Endpunkt https://mcp.opencaselaw.ch · Streamable HTTP (empfohlen) und SSE · keine Authentifizierung · Werkzeuge sind nur-lesend.
Claude.ai (Web) & Claude Desktop
Customize (Anpassen · Personnaliser · Personalizza) → Connectors → „+" → „Add custom connector" → URL einfügen. Alternativ direkt: claude.ai/settings/connectors. Verfügbar in Free (max. 1 Connector), Pro, Max, Team, Enterprise. Bei Team/Enterprise muss zuerst der Owner unter Organization Settings → Connectors → Add → Custom → Web freischalten.
https://mcp.opencaselaw.ch
Claude Code (CLI)
claude mcp add --transport http swiss-caselaw https://mcp.opencaselaw.ch
ChatGPT (Business / Enterprise / Edu)
Settings → Connectors → „Create" (ggf. Advanced settings → Developer mode aktivieren). Name „Swiss Caselaw" + URL einfügen, Auth: None. Nur ChatGPT-Web auf Business / Enterprise / Edu; Modell muss MCP-Tool-Calls unterstützen.
https://mcp.opencaselaw.ch
Cursor
Settings → Features → MCP → „+ Add new MCP server", oder in ~/.cursor/mcp.json:
{
"mcpServers": {
"swiss-caselaw": {
"url": "https://mcp.opencaselaw.ch"
}
}
}Gemini CLI
CLI-Befehl oder ~/.gemini/settings.json. Die Web-App gemini.google.com unterstützt aktuell keine eigenen MCP-Server — nur Gemini CLI, Gemini Enterprise, Android Studio und Firebase Studio.
gemini mcp add --transport http swiss-caselaw https://mcp.opencaselaw.ch
Microsoft Copilot Studio
Agent → Tools → Add a tool → New tool → „Model Context Protocol". Server-Name „Swiss Caselaw" + URL eintragen, Auth: None. Nur Streamable HTTP (SSE seit August 2025 nicht mehr unterstützt).
https://mcp.opencaselaw.ch
Andere MCP-Clients
Funktioniert mit jedem MCP-fähigen Client (Continue, Zed, Cody, Windsurf, …) über Streamable HTTP an https://mcp.opencaselaw.ch. SSE ist ebenfalls unter /sse erreichbar, aber MCP-spec-seitig veraltet.
§03 Tools
Aperçu des 42 outils publics (+ 2 outils locaux d'administration)
Chaque outil est optimisé pour un cas d'usage de recherche spécifique. Schémas complets via tools/list du protocole MCP, regroupés ici par fonction.
Entscheide suchen & abrufen
- search_decisions
- get_decision
- get_decisions
- get_case_brief
- list_courts
- get_statistics
Entscheidstruktur (Bund)
- get_decision_structure
- get_erwaegung
- get_regeste
- find_relevant_erwaegung
Zitationsgraph
- find_citations
- find_appeal_chain
- find_leading_cases
- analyze_legal_trend
Gesetzestext
- get_law
- search_laws
- get_legislation
- search_legislation
- browse_legislation_changes
- get_article_history
- get_article_purpose
Doktrin & Kommentare
- get_doctrine
- get_commentary
- search_commentaries
Rechtswissenschaft (Open Access)
- search_scholarship
- get_scholarship
- get_scholarship_full_text
- list_scholarship_sources
- find_scholarship_citing_statute
- find_scholarship_citing_decision
Materialien (Botschaften)
- get_materialien
- search_materialien
- search_botschaft
Verifikation & Zitation
- check_claim_support
- attest_response
- cite
Verwaltungspraxis (Bund)
- search_practice
- get_practice
Drafting & Studium
- generate_exam_question
- draft_mock_decision
ChatGPT Deep Research (Aliase)
- search
- fetch
Lokal-Modus (Wartung)
- update_database
- check_update_status
§04 Technisches
Détails techniques
- Transport : Server-Sent Events (SSE) + Streamable HTTP, compatible avec tous les clients MCP courants
- TLS via Let's Encrypt, rate-limiting nginx, endpoint de santé : /health
- 4× workers uvicorn derrière un load balancer, failover automatique
- Backend : 990 000+ décisions dans SQLite FTS5 avec ranking BM25+RRF, graphe de citations de 8,9 M d'arêtes (8,3 M résolues)
- Données issues de sources publiques (tribunaux fédéraux, juridictions cantonales, Fedlex, LexFind), mises à jour quotidiennement