Entscheidsuche MCP Server

Entscheidsuche MCP Server

By self-tech-labs GitHub

-

Overview

What is Entscheidsuche MCP Server?

The Entscheidsuche MCP Server is a server designed to provide standardized access to Swiss court decisions through the Model Context Protocol (MCP), enabling legal research and analysis of documents from the entscheidsuche.ch database.

How to use the Entscheidsuche MCP Server?

To use the server, clone the repository, install dependencies, and build the server. You can then integrate it with applications like Claude for Desktop or use it with the MCP Inspector for legal research tasks.

Key features of the Entscheidsuche MCP Server?

  • Access to Swiss court decisions as searchable resources.
  • Tools for searching court decisions, retrieving documents, and listing courts by canton.
  • Prompts for common legal research tasks, such as finding precedents and comparing jurisdictions.

Use cases of the Entscheidsuche MCP Server?

  1. Searching for specific legal cases in Swiss courts.
  2. Analyzing trends in court decisions over time.
  3. Comparing legal approaches across different cantons in Switzerland.

FAQ from Entscheidsuche MCP Server?

  • Can I access all Swiss court decisions?

Yes, the server provides access to a wide range of Swiss court decisions through the entscheidsuche.ch API.

  • Is there a cost to use the server?

No, the server is free to use and open-source under the MIT License.

  • What programming language is the server built with?

The server is built using TypeScript.

Content

Entscheidsuche MCP Server

An MCP server for accessing the entscheidsuche.ch Swiss legal decision search API.

Overview

This server provides standardized access to Swiss court decisions through the Model Context Protocol (MCP). It allows LLMs like Claude to search, retrieve, and analyze legal documents from the entscheidsuche.ch database.

Features

  • Resources: Access Swiss court decisions as searchable resources
  • Tools: Search court decisions, retrieve documents, list courts by canton
  • Prompts: Templates for common legal research tasks

Installation

# Clone the repository
git clone [repository-url]
cd entscheidsuche-mcp-server

# Install dependencies
npm install

# Build the server
npm run build

Usage

With Claude for Desktop

  1. Open Claude for Desktop's settings
  2. Add the following to your claude_desktop_config.json:
{
  "mcpServers": {
    "entscheidsuche": {
      "command": "node",
      "args": ["/absolute/path/to/entscheidsuche-mcp-server/build/index.js"]
    }
  }
}
  1. Restart Claude for Desktop
  2. Start asking legal research questions!

With MCP Inspector

npx @modelcontextprotocol/inspector node /path/to/entscheidsuche-mcp-server/build/index.js

Available Capabilities

Resources

  • entscheidsuche://scrapers - Lists all available scrapers/collections
  • entscheidsuche://scraper/{scraperId} - Gets details about a specific scraper
  • entscheidsuche://document/{documentId} - Accesses metadata for a specific document

Tools

  • search-decisions - Search for court decisions using Elasticsearch query syntax
  • get-document-content - Retrieve the content of a specific document
  • list-courts - List available courts by canton
  • get-document-urls - Get direct URLs for a document's PDF and HTML versions

Prompts

  • search-legal-precedents - Find relevant precedents on a specific legal topic
  • compare-jurisdictions - Compare rulings on a specific legal issue across different cantons
  • court-decisions - Retrieve recent decisions from a specific court

Example Queries

Can you find Swiss court decisions about copyright infringement in Zurich from the last 5 years?
How do different Swiss cantons approach the legal issue of tenant rights in rental disputes?

Analyze a specific decision

Can you retrieve and analyze the decision with ID "ZH_VG-VB.2021.00042"?

Technical Details

  • Built with the MCP TypeScript SDK
  • Respects rate limits to be "kind to the entscheidsuche.ch server"
  • Handles proper authentication and error handling
  • Formats search results with key metadata (court, date, case number)

Contributing

Contributions are welcome! Please feel free to submit a Pull Request.

License

This project is licensed under the MIT License.

Acknowledgements

  • entscheidsuche.ch for providing the API
  • The Model Context Protocol team for their excellent SDK

Example MCP Queries for Entscheidsuche

This document provides examples of how to use the Entscheidsuche MCP server through Claude to research Swiss legal decisions.

Basic Searches

Finding cases on a specific topic

Find Swiss court decisions about intellectual property rights in the technology sector from the last 5 years.

Searching by canton

What are some important court decisions from the canton of Zurich (ZH) related to landlord-tenant disputes?
Can you find Swiss Federal Supreme Court cases discussing the concept of "good faith" (Treu und Glauben) in contract law?

Document Retrieval

Retrieving a specific document by ID

Can you retrieve and analyze the Swiss court decision with ID "CH_BGer-4A_283_2021"?

Getting document URLs

I'd like to access the original court decision for case number "ZH_OG-LB190025". Can you provide the PDF and HTML links?

Comparative Analysis

Comparing cantonal approaches

How do the cantons of Geneva (GE), Vaud (VD), and Zurich (ZH) differ in their approach to divorce settlements? Please search for relevant cases and compare.
Has there been an evolution in how Swiss courts have interpreted data protection rights over the last decade? Search for relevant cases and analyze the trend.

Finding precedent for a specific situation

I'm researching a case where an employee was terminated while on medical leave. Can you find Swiss court decisions that established precedent for similar situations?
Find the most significant Swiss court decisions related to pharmaceutical patent disputes and analyze how they've shaped the legal landscape in this area.

Advanced Prompt Usage

Using the compare-jurisdictions prompt

Using the compare-jurisdictions prompt, please analyze how different Swiss cantons approach the legal issue of "non-compete clauses" in employment contracts.
Using the search-legal-precedents prompt, find relevant Swiss legal precedents about "algorithmic decision making" and data protection, focusing on federal court decisions.

Using the court-decisions prompt

Using the court-decisions prompt, retrieve recent decisions from the Swiss Federal Supreme Court (Bundesgericht) within the last 2 years related to cryptocurrency regulation.
No tools information available.
No content found.