OpenCaseLaw — Swiss Caselaw, Statutes & Doctrine
MCP server by jonashertner Verified · opencaselaw.ch
OpenCaseLaw gives AI assistants search over Swiss court decisions and statutes in German, French and Italian. It is built for legal research and includes a citation graph across the corpus.
Install OpenCaseLaw — Swiss Caselaw, Statutes & Doctrine
Built from the published package, never by AI.
claude mcp add --transport http opencaselaw-swiss-caselaw-statutes-doctr https://mcp.opencaselaw.ch/mcpRun in your terminal. Add --scope user to use it in every project.
Step-by-step: install OpenCaseLaw — Swiss Caselaw, Statutes & Doctrine in Claude Code
{
"mcpServers": {
"opencaselaw-swiss-caselaw-statutes-doctr": {
"url": "https://mcp.opencaselaw.ch/mcp"
}
}
}Settings, Developer, Edit config. Paste into claude_desktop_config.json and restart.
Step-by-step: install OpenCaseLaw — Swiss Caselaw, Statutes & Doctrine in Claude Desktop
{
"mcpServers": {
"opencaselaw-swiss-caselaw-statutes-doctr": {
"url": "https://mcp.opencaselaw.ch/mcp"
}
}
}Add to ~/.cursor/mcp.json (all projects) or .cursor/mcp.json (this project).
Step-by-step: install OpenCaseLaw — Swiss Caselaw, Statutes & Doctrine in Cursor
{
"servers": {
"opencaselaw-swiss-caselaw-statutes-doctr": {
"url": "https://mcp.opencaselaw.ch/mcp"
}
}
}Add to .vscode/mcp.json. VS Code uses "servers", not "mcpServers".
Step-by-step: install OpenCaseLaw — Swiss Caselaw, Statutes & Doctrine in VS Code
{
"mcpServers": {
"opencaselaw-swiss-caselaw-statutes-doctr": {
"serverUrl": "https://mcp.opencaselaw.ch/mcp"
}
}
}Add to ~/.gemini/config/mcp_config.json (all projects) or .agents/mcp_config.json (this project).
Step-by-step: install OpenCaseLaw — Swiss Caselaw, Statutes & Doctrine in Antigravity CLI
https://mcp.opencaselaw.ch/mcpIn ChatGPT: Settings, Connectors, Add custom connector, then paste this URL. Works in any client that supports remote servers.
Step-by-step: install OpenCaseLaw — Swiss Caselaw, Statutes & Doctrine in ChatGPT
MCP servers run with your permissions and can read what you give them access to. Some need an API key: check the README and add it under env in the opencaselaw-swiss-caselaw-statutes-doctr block.
About
OpenCaseLaw is a remote MCP server that gives AI assistants access to Swiss court decisions, federal and cantonal statutes, and legal commentary. The source describes over 1 million decisions from 1875 to today, covering all 26 cantons in German, French and Italian. It also includes a citation graph that links decisions to each other and to statute articles.
Clients connect by adding the server URL to their MCP configuration. The source says there is no sign-up, no API key, and access is read-only. The project also offers a research CLI, a REST API and daily CC0 Parquet downloads. It is aimed at law students, independent researchers and people outside large firms. The data is CC0 and the code is MIT licensed.
Written from the project's README and checked against it.
Tools it gives your assistant
search_decisionsNatural-language search of Swiss court decisions, with the leading decision ranked first.find_leading_casesFinds leading decisions on a legal question, ranked by citation authority.find_citationsLists citation links between decisions in both directions.find_appeal_chainResolves the appeal chain of a decision (Instanzenzug).analyze_legal_trendShows how case law on a topic has developed over time.get_decision_structureSplits a decision into Sachverhalt, Erwägungen, Dispositiv and Regeste.get_erwaegungReturns a single Erwägung of a decision by its citation and number.get_regesteReturns the official head-note of a BGer, BVGer or BStGer decision.search_botschaftSearches verbatim Bundesblatt legislative materials by topic.get_article_purposeReturns the verbatim Botschaft text for a specific statute article.
What you need
- An MCP-compatible client, such as Claude or any MCP client
Try asking
- Search Swiss decisions on missbräuchliche Kündigung Rachekündigung
- Find leading BGE cases on Art. 336 OR and list their key points
- Show the Botschaft text explaining the purpose of Art. 336 OR
Good to know
- Access is read-only.
- Coverage is not complete where portals restrict access.
- Citation graph figures report resolution coverage, not precision.
- Some cantonal decisions may be published unredacted upstream.
Security check
ANo download-and-run commands, hidden instructions or signs of sending keys out were found.
Checked automatically: README.md. This looks for known risky patterns and is not a full audit. How grades work
Alternatives to OpenCaseLaw — Swiss Caselaw, Statutes & Doctrine
All alternatives →Connects a Zotero research library to AI assistants such as Claude and ChatGPT through the Model Context Protocol. It lets the assistant search, read, annotate and add papers, in local mode or through the web API. Built for researchers who want their references available in chat.
AgentDB is a vector memory database for AI agents. It stores embeddings, indexes and learning state in one file and exposes 41 MCP tools to clients such as Claude Code, Cursor and Cline.
Genkitx MCP is listed as a Genkit plugin for Model Context Protocol interoperability. The source is the main Genkit framework README and does not describe this plugin, so its features cannot be confirmed.
QMD is an on-device search engine for markdown notes, meeting transcripts and documentation. It combines BM25 keyword search, vector search and LLM reranking, and exposes an MCP server for AI assistants.
RuVector is a Rust native vector database that gives AI agents persistent memory and local semantic retrieval. Its npm package includes an MCP server for MCP compatible clients, and it suits developers building agent memory in Node.js, Python, or Rust.
Gives AI coding agents persistent memory, so each new session starts where the last one left off. Works with Claude Code, Codex, Cursor, OpenCode and 11 more agents.
Compare with Zotero MCP, Agentdb or Genkitx MCP
OpenCaseLaw — Swiss Caselaw, Statutes & Doctrine: common questions
Is OpenCaseLaw free to use?
The source describes the service as free, with CC0 data and MIT licensed code. The remote MCP server needs no sign-up or API key.
Which courts and languages does it cover?
The source says it covers 118 court and source collections across all 26 cantons, in German, French and Italian. Some ECtHR judgments are in English.
Does a citation check prove that a case supports a point?
No. The source says a citation check establishes that a decision exists, not that an authority supports a proposition.
How do I install OpenCaseLaw — Swiss Caselaw, Statutes & Doctrine?
In Claude Code run claude mcp add --transport http opencaselaw-swiss-caselaw-statutes-doctr https://mcp.opencaselaw.ch/mcp. For Claude Desktop, Cursor and VS Code, paste the config shown above and restart. See the install guides.
Is OpenCaseLaw — Swiss Caselaw, Statutes & Doctrine the official server?
OpenCaseLaw — Swiss Caselaw, Statutes & Doctrine is published by opencaselaw.ch from its verified domain in the official MCP Registry.
Is OpenCaseLaw — Swiss Caselaw, Statutes & Doctrine free?
The code is published under the MIT licence. The service it connects to may have its own pricing.
Is OpenCaseLaw — Swiss Caselaw, Statutes & Doctrine safe to use?
It scores 83 of 100. Grades: maintenance A, licence A, quality B. Security check: grade A, no risky patterns found in the files checked. Review the code before you install. How grades work.
What are alternatives to OpenCaseLaw — Swiss Caselaw, Statutes & Doctrine?
Similar MCP servers: Zotero MCP, Agentdb, Genkitx MCP, Qmd.
Does OpenCaseLaw — Swiss Caselaw, Statutes & Doctrine work with ChatGPT?
Yes. Add its server URL in ChatGPT as a custom connector. See MCP in ChatGPT.
