Entscheidsuche MCP Server
An MCP server providing standardized access to Swiss court decisions through the entscheidsuche.ch API, allowing LLMs to search, retrieve, and analyze legal documents from Swiss jurisdictions.
self-tech-labs
README
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
- Open Claude for Desktop's settings
- Add the following to your
claude_desktop_config.json
:
{
"mcpServers": {
"entscheidsuche": {
"command": "node",
"args": ["/absolute/path/to/entscheidsuche-mcp-server/build/index.js"]
}
}
}
- Restart Claude for Desktop
- 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/collectionsentscheidsuche://scraper/{scraperId}
- Gets details about a specific scraperentscheidsuche://document/{documentId}
- Accesses metadata for a specific document
Tools
search-decisions
- Search for court decisions using Elasticsearch query syntaxget-document-content
- Retrieve the content of a specific documentlist-courts
- List available courts by cantonget-document-urls
- Get direct URLs for a document's PDF and HTML versions
Prompts
search-legal-precedents
- Find relevant precedents on a specific legal topiccompare-jurisdictions
- Compare rulings on a specific legal issue across different cantonscourt-decisions
- Retrieve recent decisions from a specific court
Example Queries
Search for copyright cases in Zurich
Can you find Swiss court decisions about copyright infringement in Zurich from the last 5 years?
Compare cantonal approaches to a legal issue
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?
Searching by keyword and legal concept
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.
Analyzing legal trends
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.
Specialized Legal Research
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?
Analyzing multiple related cases
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
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.
Recommended Servers
Crypto Price & Market Analysis MCP Server
A Model Context Protocol (MCP) server that provides comprehensive cryptocurrency analysis using the CoinCap API. This server offers real-time price data, market analysis, and historical trends through an easy-to-use interface.
MCP PubMed Search
Server to search PubMed (PubMed is a free, online database that allows users to search for biomedical and life sciences literature). I have created on a day MCP came out but was on vacation, I saw someone post similar server in your DB, but figured to post mine.
dbt Semantic Layer MCP Server
A server that enables querying the dbt Semantic Layer through natural language conversations with Claude Desktop and other AI assistants, allowing users to discover metrics, create queries, analyze data, and visualize results.
mixpanel
Connect to your Mixpanel data. Query events, retention, and funnel data from Mixpanel analytics.

Sequential Thinking MCP Server
This server facilitates structured problem-solving by breaking down complex issues into sequential steps, supporting revisions, and enabling multiple solution paths through full MCP integration.

Nefino MCP Server
Provides large language models with access to news and information about renewable energy projects in Germany, allowing filtering by location, topic (solar, wind, hydrogen), and date range.
Vectorize
Vectorize MCP server for advanced retrieval, Private Deep Research, Anything-to-Markdown file extraction and text chunking.
Mathematica Documentation MCP server
A server that provides access to Mathematica documentation through FastMCP, enabling users to retrieve function documentation and list package symbols from Wolfram Mathematica.
kb-mcp-server
An MCP server aimed to be portable, local, easy and convenient to support semantic/graph based retrieval of txtai "all in one" embeddings database. Any txtai embeddings db in tar.gz form can be loaded
Research MCP Server
The server functions as an MCP server to interact with Notion for retrieving and creating survey data, integrating with the Claude Desktop Client for conducting and reviewing surveys.