J
jonashertner/opencaselaw
Open Swiss legal corpus + MCP server: 1M+ court decisions (1875–today), 21k laws, 10M-edge citation graph, 42…
SECURITY.md ✓
在 GitHub 查看 ↗链接已于 2026-11-12 核查 · HTTP 200 · 打开的是厂商自己的官网
安装与配置
取自该仓库的安装命令
pip install mcp
解析自我们于 2026-10-26 抓取的该仓库 README;我们未执行过。
这条是仓库自己写的安装方式,不是 MCP 客户端配置,所以不生成 JSON。
配置项的键名以你的客户端为准:客户端与 CLI
- ★ 数取值
- 78 ★ · jonashertner/opencaselaw · 取自 GitHub 搜索 API · (2026-11-13 20:00:50 核对)
- 来源明细
- 从该仓库的 GitHub 页面直接读取 · 条目类型:开源项目
- 收录与活跃
- 收录于 2026-10-21 · 最近见到 2026-11-14 · 共见到 28 次 · 被 1 个来源列出
- 评分构成
- 综合分 103 · 78 ★ · 1 个来源 · repo
- 安装
pip install mcp
常见问题(答案都来自我们的记录)
怎么安装?
该仓库给出的安装命令是
pip install mcp。我们的记录里它是仓库自己提供的;不保证在你的客户端上直接可用。它适合谁 / 用来做什么?
我们把它归在这些标签下: 开源项目。标签来自条目自身,不是我们强加的分类。
谁维护它、还在更新吗?
仓库
jonashertner/opencaselaw;我们收录于 2026-10-21;最近见到 2026-11-14。这里没有"官方认证"或"质量评级"——我们只记录来源与时间。# OpenCaseLaw
以下摘录自该仓库的 README(片段) · 在 GitHub 读完整 README →
Open Swiss case law and legislation for legal research and AI.
1M+ decisions · all 26 cantons · 1875–today · citation graph · MCP + REST + CLI + Parquet · CC0 data · MIT code
Try the search ·
Chat with your AI ·
Automate research ·
Download the dataset ·
API documentation
## What you can do
Find Swiss decisions across federal and cantonal courts, in German, French and Italian.
Trace citations between cases and identify the leading decisions on a question.
Query case law and legislation from Claude, ChatGPT-compatible clients, or any MCP client.
Save repeatable research scripts, inspect citation resolution, and preserve selected evidence with the research CLI.
Download the corpus for legal NLP, retrieval and graph research.
## Connect in 30 seconds
json
"mcpServers": {
"opencaselaw": {
"url": "https://mcp.opencaselaw.ch/mcp"
No sign-up, no API key, read-only. 42 tools; setup guides for individual
clients are at opencaselaw.ch/mcp.
Using Anthropic's Claude for Legal plugin?
A Swiss playbook that makes its contract-review and NDA-triage skills work under
Swiss law, every article verified against the statute mirror, is at
opencaselaw.ch/claude/legal.local.md;
see the setup guide.
## Automate research
ocl is a small command-line client over the public research API, made for
two jobs a chat window does badly: checking the citations in a draft, and
keeping the evidence behind a memo in a folder you can share. It is on PyPI
as opencaselaw-cli:
bash
pipx install opencaselaw-cli # or: uv tool install opencaselaw-cli
ocl citations resolve 'BGE 136 III 513' '4A747/2012' 'BGE 999 III 1'
ocl bundle create 'Rachekündigung Art. 336 OR' --max-results 10 --passage 2 --law OR:336 --out evidence
The first prints, per reference, whether the decision exists, which one it
is, and whether a requested Erwägung exists. The second saves the selected
decisions, passages and statute articles into a folder with a plain-language
INDEX.md and a hashed manifest.json. Everything comes back from the
service unchanged: citation strings, passage text, source links. Search is
bounded, and a citation check establishes existence, not that an authority
supports a proposition. See the CLI guide.
Use MCP for conversations, the CLI or
REST API for automation, and
Parquet for corpus-scale analysis.
## A real result
Question. When is a dismissal in retaliation for an employee asserting a
claim abusive under Swiss law?
One call — searchdecisions("missbräuchliche Kündigung Rachekündigung")
returns 129 decisions, the leading one first:
> BGE 136 III 513 (7 October 2010)
> Art. 336 OR; missbräuchliche Kündigung. Der Arbeitnehmer ist vor einer
> Rachekündigung nur geschützt (Art. 336 Abs. 1 lit. d OR), sofern er nach
> Treu und Glauben annehmen kann, dass die von ihm geltend gemachten
> Ansprüche berechtigt sind. Es ist nicht erforderlich, dass sie tatsächlich
> begründet sind.
The Regeste is returned verbatim from the stored official head-note, and the
citation string comes from a stored field — tools never construct citations.
That contract is what makes the answer checkable rather than plausible.
Reproduce it:
bash
curl -sG https://mcp.opencaselaw.ch/api/decisions \
--data-urlencode "q=missbräuchliche Kündigung Rachekündigung" \
1M+ decisions · all 26 cantons · 1875–today · citation graph · MCP + REST + CLI + Parquet · CC0 data · MIT code
Try the search ·
Chat with your AI ·
Automate research ·
Download the dataset ·
API documentation
## What you can do
Find Swiss decisions across federal and cantonal courts, in German, French and Italian.
Trace citations between cases and identify the leading decisions on a question.
Query case law and legislation from Claude, ChatGPT-compatible clients, or any MCP client.
Save repeatable research scripts, inspect citation resolution, and preserve selected evidence with the research CLI.
Download the corpus for legal NLP, retrieval and graph research.
## Connect in 30 seconds
json
"mcpServers": {
"opencaselaw": {
"url": "https://mcp.opencaselaw.ch/mcp"
No sign-up, no API key, read-only. 42 tools; setup guides for individual
clients are at opencaselaw.ch/mcp.
Using Anthropic's Claude for Legal plugin?
A Swiss playbook that makes its contract-review and NDA-triage skills work under
Swiss law, every article verified against the statute mirror, is at
opencaselaw.ch/claude/legal.local.md;
see the setup guide.
## Automate research
ocl is a small command-line client over the public research API, made for
two jobs a chat window does badly: checking the citations in a draft, and
keeping the evidence behind a memo in a folder you can share. It is on PyPI
as opencaselaw-cli:
bash
pipx install opencaselaw-cli # or: uv tool install opencaselaw-cli
ocl citations resolve 'BGE 136 III 513' '4A747/2012' 'BGE 999 III 1'
ocl bundle create 'Rachekündigung Art. 336 OR' --max-results 10 --passage 2 --law OR:336 --out evidence
The first prints, per reference, whether the decision exists, which one it
is, and whether a requested Erwägung exists. The second saves the selected
decisions, passages and statute articles into a folder with a plain-language
INDEX.md and a hashed manifest.json. Everything comes back from the
service unchanged: citation strings, passage text, source links. Search is
bounded, and a citation check establishes existence, not that an authority
supports a proposition. See the CLI guide.
Use MCP for conversations, the CLI or
REST API for automation, and
Parquet for corpus-scale analysis.
## A real result
Question. When is a dismissal in retaliation for an employee asserting a
claim abusive under Swiss law?
One call — searchdecisions("missbräuchliche Kündigung Rachekündigung")
returns 129 decisions, the leading one first:
> BGE 136 III 513 (7 October 2010)
> Art. 336 OR; missbräuchliche Kündigung. Der Arbeitnehmer ist vor einer
> Rachekündigung nur geschützt (Art. 336 Abs. 1 lit. d OR), sofern er nach
> Treu und Glauben annehmen kann, dass die von ihm geltend gemachten
> Ansprüche berechtigt sind. Es ist nicht erforderlich, dass sie tatsächlich
> begründet sind.
The Regeste is returned verbatim from the stored official head-note, and the
citation string comes from a stored field — tools never construct citations.
That contract is what makes the answer checkable rather than plausible.
Reproduce it:
bash
curl -sG https://mcp.opencaselaw.ch/api/decisions \
--data-urlencode "q=missbräuchliche Kündigung Rachekündigung" \
收录徽章(可选)
想把收录标记放进 README 就复制这行,可选,不影响收录。
[](https://anclum.com/zh/s/jonashertner-opencaselaw/)
- 来源
- github · https://github.com/jonashertner/opencaselaw
- 按领域浏览
- 开源项目
- Traction
- 78 ★
- 收录于
- 今天
- 安全策略
- 该仓库根目录有
SECURITY.md(我们只核文件存在,未核内容)
同类推荐
所属领域与标签
每个标签都能点进去看同类的全部条目。数字是当前库里的真实条数。