Enables searching Swiss court decisions from the entscheidsuche.ch database using Elasticsearch query syntax, with tools for searching decisions, retrieving document content, listing courts by canton, and accessing document metadata.
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
Usage
With Claude for Desktop
Open Claude for Desktop's settings
Add the following to your
claude_desktop_config.json:
Restart Claude for Desktop
Start asking legal research questions!
With MCP Inspector
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
Compare cantonal approaches to a legal issue
Analyze a specific decision
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.