Entscheidsuche MCP Server
Provides access to Swiss court decisions through the entscheidsuche.ch API, enabling search, retrieval, and analysis of legal documents across different cantons and courts using natural language queries.
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.
推荐服务器
Baidu Map
百度地图核心API现已全面兼容MCP协议,是国内首家兼容MCP协议的地图服务商。
Playwright MCP Server
一个模型上下文协议服务器,它使大型语言模型能够通过结构化的可访问性快照与网页进行交互,而无需视觉模型或屏幕截图。
Magic Component Platform (MCP)
一个由人工智能驱动的工具,可以从自然语言描述生成现代化的用户界面组件,并与流行的集成开发环境(IDE)集成,从而简化用户界面开发流程。
Audiense Insights MCP Server
通过模型上下文协议启用与 Audiense Insights 账户的交互,从而促进营销洞察和受众数据的提取和分析,包括人口统计信息、行为和影响者互动。
VeyraX
一个单一的 MCP 工具,连接你所有喜爱的工具:Gmail、日历以及其他 40 多个工具。
graphlit-mcp-server
模型上下文协议 (MCP) 服务器实现了 MCP 客户端与 Graphlit 服务之间的集成。 除了网络爬取之外,还可以将任何内容(从 Slack 到 Gmail 再到播客订阅源)导入到 Graphlit 项目中,然后从 MCP 客户端检索相关内容。
Kagi MCP Server
一个 MCP 服务器,集成了 Kagi 搜索功能和 Claude AI,使 Claude 能够在回答需要最新信息的问题时执行实时网络搜索。
e2b-mcp-server
使用 MCP 通过 e2b 运行代码。
Neon MCP Server
用于与 Neon 管理 API 和数据库交互的 MCP 服务器
Exa MCP Server
模型上下文协议(MCP)服务器允许像 Claude 这样的 AI 助手使用 Exa AI 搜索 API 进行网络搜索。这种设置允许 AI 模型以安全和受控的方式获取实时的网络信息。