AITeamGuide

AITeamGuide Hub · MCP server

OpenCaseLaw (Swiss case law MCP)

A free, read-only MCP server and open dataset of Swiss court decisions and federal and cantonal laws, so an assistant can search case law in German, French and Italian and follow the citations between decisions.

MCP server★ 75 starsMITLegalResearch

View on GitHub

Short answer: how to install OpenCaseLaw (Swiss case law MCP)

OpenCaseLaw (Swiss case law MCP) is an MIT-licensed, open-source MCP server on GitHub (jonashertner/opencaselaw) with 75 stars as of October 31, 2026. Its last push was on October 31, 2026. To install it in Claude Code, run claude mcp add --transport http opencaselaw https://mcp.opencaselaw.ch/mcp. It's a remote server, so you can also add https://mcp.opencaselaw.ch/mcp as a custom connector in Claude. It works with Claude Desktop, Claude Code, Cursor, Any MCP client; steps for each are below.

Key facts

Type
MCP server
Jobs it fits
Research Swiss case law; Check the citations in a legal draft
Fields
Legal, Research
Works with
Claude Desktop, Claude Code, Cursor, Any MCP client
GitHub
jonashertner/opencaselaw
Licence
MIT
Stars
75 as of October 31, 2026
Last updated
October 31, 2026 (last push to GitHub)
Author
@jonashertner
Submitted by
@aiteamguide
Added to the Hub
October 27, 2026

Swiss law only. The project reports that its citation graph resolves about 94% of references, which measures coverage, not accuracy, so check key authorities yourself.

Install / Use it

MITRemote MCP server

Download ZIP View source

Cursor

Add to Cursor

Or paste into ~/.cursor/mcp.json

{
  "mcpServers": {
    "opencaselaw": {
      "url": "https://mcp.opencaselaw.ch/mcp"
    }
  }
}

Claude Code

Run in your terminal

claude mcp add --transport http opencaselaw https://mcp.opencaselaw.ch/mcp

Claude

This is a remote server. In Claude, add it as a custom connector with this URL:

Remote MCP server URL

https://mcp.opencaselaw.ch/mcp

VS Code

Add to VS Code

Or from the command line

code --add-mcp '{"name":"opencaselaw","type":"http","url":"https://mcp.opencaselaw.ch/mcp"}'

ChatGPT

Remote server: add it in ChatGPT as a custom connector (developer mode) with this URL. Availability depends on your ChatGPT plan.

Remote MCP server URL

https://mcp.opencaselaw.ch/mcp

Codex

Run in your terminal

codex mcp add opencaselaw --url https://mcp.opencaselaw.ch/mcp

Safety: Runs code from a third-party repo. Review the source and the permissions before installing.

Commands and configs are taken from the project's README and re-wrapped in each app's documented format. If they differ, the README wins.

Prefer a ready-made product?

Commercial agents for the same job, with real prices: CoCounsel Legal, Harvey, all legal ai agents, all research agents.

Get new open-source AI tools like OpenCaseLaw (Swiss case law MCP) in one weekly email

One email a week: new open-source agents, skills, MCP servers and playbooks from the Hub, plus AI agent price changes and new free plans. Free; unsubscribe anytime.

Free, no signup needed: the AI agent pricing cheat sheet, the cheapest listed plan for every job on one printable page.

Not sure yet? Read the latest issue first.

More from the Hub

Summary written by AITeamGuide in our own words. GitHub numbers come from the public GitHub API and refresh daily. Maintainer and want a correction or removal? Tell us. Got something similar? Submit it to the Hub.