caselaw-repo-1

jonashertner/caselaw-repo-1
★ 53 stars Python AI/LLM Updated 3mo ago ✗ Risk
Open Swiss legal corpus + MCP server: 1M+ court decisions (1875–today), 21k laws, 10M-edge citation graph, 42 MCP tools. CC0 data, MIT code. Live at mcp.opencaselaw.ch
View on GitHub → 🛡️ Security & TRiSM Audit →

⚡ What This Server Does & Key Capabilities

The caselaw-repo-1 Model Context Protocol (MCP) server provides seamless integration between AI assistants (such as Claude Desktop, Cursor, and Claude Code) and Open Swiss legal corpus + MCP server: 1M+ court decisions (1875–today), 21k laws, 10M-edge citation graph, 42 MCP tools. CC0 data, MIT code. Live at mcp.opencaselaw.ch. By connecting this server, your AI agent gains specialized capabilities to inspect, query, and automate tasks within the AI/LLM domain.

Core Agent Capabilities

💡 Example Prompts to Ask Your AI Agent

Once installed in Claude Desktop or Cursor, try asking your assistant:

"Route this complex analysis task to the connected model and return a structured JSON report."
"Compare the reasoning outputs between two connected models and highlight any discrepancies."

Compatible AI Clients

🟣 Claude Desktop ⚡ Cursor IDE 💻 Claude Code CLI 🌊 Windsurf 🤖 Gemini CLI

Quick Install

Copy the config for your editor. Verify environment variables or setup notes in the README.

Add to claude_desktop_config.json:

{
  "mcpServers": {
    "caselaw-repo-1": {
      "command": "uvx",
      "args": [
        "caselaw-repo-1"
      ]
    }
  }
}

Or install with pip: pip install caselaw-repo-1

⚡
Building Production MCP Agents? PRO TOOLKITS
Get the Complete 31,400+ MCP Ecosystem Dataset ($29) or the FastMCP + TypeScript Starter Kit ($39) with turnkey Docker & Cloudflare deployment.

README Documentation

The complete machine-readable archive of Swiss case law and legislation — built for humans, designed for AI agents. **1,050,000+ decision records (~909,000 unique decisions after cross-identifier linkage) · 5,525 federal laws · 15,600 cantonal laws · 9.65 M resolved citation edges (10 M extracted) · 12.4 M statute references · 83,958 Botschaft amendment references (5,900+ verbatim Botschaften ingested, scaling) · daily RFC-6962 Merkle root + OpenTimestamps anchor (cryptographic provenance) ·

View Full Documentation & Updates on GitHub ↗

Tools (20)

ANTHROPIC_API_KEYGEMINI_API_KEYOPENAI_API_KEYabstract_deabstract_frabstract_itanalyze_legal_trendappeal_infoattest_responsebgebge_egmrbge_referencebgerbger_6B_1234_2025bpatgerbrowse_legislation_changesbstgerbvgercantonch_bundesrat

Topics

ai-agentscaselawcitation-graphdatasetlegal-datalegal-researchmcpmcp-servermodel-context-protocolopen-dataswiss-lawswitzerland
📊
Building AI Agents or Backtesting Quant Models?
Get the Polymarket Historical Dataset — 23.0M+ 15-minute price & orderbook snapshots across 18,400+ prediction markets. Clean CSV & SQLite download for backtesting & agent training.
Buy Dataset ($19) → View Sample →