Entscheidsuche MCP Server
Provides search capabilities for court decisions using Elasticsearch query syntax, allowing for complex queries against the entscheidsuche.ch legal database
Click on "Deploy Server".
Wait a few minutes for the server to deploy. Once ready, it will show a "Started" state.
In the chat, type
@followed by the MCP server name and your instructions, e.g., "@Entscheidsuche MCP Server search for recent Swiss Federal Court decisions on data protection violations"
That's it! The server will respond to your query, and you can continue using it as needed.
Here is a step-by-step guide with screenshots.
Entscheidsuche MCP Server
Note : this is a legacy project, that was created on 21.07.2025. As of 25.04.2026 there is now an official entscheidsuche MCP server at https://github.com/entscheidsuche/entscheidsuche-mcp. This legacy project is for archive read only.
A Model Context Protocol (MCP) server for searching and accessing Swiss legal case law through the Entscheidsuche API. This server enables legal professionals to efficiently research court decisions from Swiss federal and cantonal courts.
Features
Tools
Search Case Law (
search_case_law): Search through Swiss court decisions using natural language queriesGet Document (
get_document): Retrieve full document content in JSON, HTML, or PDF formatList Courts (
list_courts): Get information about available courts and their document counts
Resources
Court Status (
entscheidsuche://courts/status): Real-time information about court document collections
Prompts
Legal Research (
legal_research): Template for conducting comprehensive legal researchCase Analysis (
case_analysis): Template for analyzing specific legal cases
Related MCP server: Legal Court MCP Server
Installation
Clone or download this project
Install dependencies:
npm installBuild the project:
npm run build
Usage
With Claude Desktop
Add the following to your Claude Desktop configuration file:
macOS/Linux: ~/Library/Application Support/Claude/claude_desktop_config.json
Windows: %APPDATA%\Claude\claude_desktop_config.json
{
"mcpServers": {
"entscheidsuche": {
"command": "node",
"args": ["/absolute/path/to/entscheidsuche-mcp/build/index.js"]
}
}
}With MCP Inspector
Test the server using the MCP Inspector:
npx @modelcontextprotocol/inspector node build/index.jsExample Searches
Basic Legal Research
Use the search tool to find cases on specific topics:
"Datenschutz DSGVO" (Data protection)
"Arbeitsrecht Kündigung" (Employment law termination)
"Mietrecht Mietzinserhöhung" (Rental law rent increases)
Advanced Queries
The search supports Elasticsearch query syntax:
"exact phrase"for exact matchesfield:valuefor field-specific searchesterm1 AND term2for boolean operations
Document Retrieval
Once you find a relevant case, use the signature and spider name to retrieve the full document:
Signature: e.g., "CH_BGer_2023_1C_123_2023"
Spider: e.g., "CH_BGer" (Swiss Federal Court)
API Endpoints Used
This server interfaces with:
https://entscheidsuche.ch/_search.php- Elasticsearch search endpointhttps://entscheidsuche.ch/docs/- Document repositoryhttps://entscheidsuche.ch/status- Court status information
Legal Information
This tool provides access to publicly available Swiss court decisions through the Entscheidsuche service. Please note:
Always verify legal information through official sources
This tool is for research purposes only
Consult qualified legal professionals for legal advice
Respect the terms of service of entscheidsuche.ch
Development
Scripts
npm run build- Build the TypeScript projectnpm run dev- Build and run the servernpm run watch- Watch for changes and rebuild
Project Structure
src/
index.ts # Main server implementation
build/ # Compiled JavaScript output
package.json # Project dependencies and scripts
tsconfig.json # TypeScript configurationContributing
Feel free to submit issues and enhancement requests. When contributing:
Follow the existing code style
Add appropriate error handling
Update documentation as needed
Test your changes with the MCP Inspector
License
MIT License - see LICENSE file for details.
Acknowledgments
Entscheidsuche.ch for providing the open API
Model Context Protocol for the MCP framework
Swiss courts for making decisions publicly available
Available Tools
3 toolsget_documentGet Legal Document ContentC
Retrieve the full content of a specific legal document
Inputs: signature (required), format, spider.
list_courtsList Available CourtsB
Get information about available courts and their document counts
Inputs: no named parameters.
search_case_lawSearch Swiss Case LawC
Search for Swiss court decisions using Entscheidsuche database
Inputs: query (required), from, size.
Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections.
Loading tool schema changelog…
TDQS
Scored across 3 tools
Each tool has a clearly distinct purpose: get_document retrieves specific document content, list_courts provides metadata about courts, and search_case_law performs searches across the database. There is no overlap in functionality, making tool selection straightforward for an agent.
All tool names follow a consistent verb_noun pattern (get_document, list_courts, search_case_law) with clear, descriptive verbs. There are no deviations in naming conventions, making the set predictable and easy to understand.
With only 3 tools, the server feels somewhat thin for a legal document search domain. While the tools cover core operations (retrieve, list, search), more comprehensive coverage might include tools for filtering, advanced search, or document metadata management, suggesting a borderline appropriateness.
The tools provide basic CRUD-like operations (get, list, search) for legal documents and courts, but there are notable gaps. For example, there is no tool for updating or deleting documents, managing user queries, or handling advanced search parameters, which could limit agent effectiveness in complex workflows.
Maintenance
Related MCP Connectors
MCP server unifying ERPs, CRMs, APIs and knowledge base for Claude, ChatGPT and Gemini.
Slovak court decisions as MCP tools. 12,000+ decisions, GDPR-compliant, pseudonymized, SLA-backed.
MCP server providing access to the Scorecard API to evaluate and optimize LLM systems.
Related MCP Servers
- AlicenseNot gradedqualityNot gradedmaintenanceProvides 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.-
- AlicenseAqualityDmaintenanceMCP Server providing AI agents access to over 3 million US court decisions via CourtListener and EU legislation via EUR-Lex, with tools for searching cases, citations, judges, and court information.6MIT
- AlicenseAqualityBmaintenanceAn MCP server connecting AI models to the Swiss Federal Parliament via the Curia Vista OData API, enabling queries of motions, votes, members, sessions, and debate transcripts without authentication.735 PyPI2MIT
- AlicenseAqualityAmaintenanceMCP server for searching Swiss court decisions from federal and cantonal courts via entscheidsuche.ch. Enables full-text search, law reference lookup, and filtering by canton, court level, and date without API keys.820 PyPI1MIT