RITSL/entscheidsuche-MCP-server
Built by Metorial, the integration platform for agentic AI.
RITSL/entscheidsuche-MCP-server
Server Summary
Search court decisions
Retrieve legal documents
List courts by canton
Analyze legal documents
Utilize templates for legal research tasks
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.
search_case_law
): Search through Swiss court decisions using natural language queriesget_document
): Retrieve full document content in JSON, HTML, or PDF formatlist_courts
): Get information about available courts and their document countsentscheidsuche://courts/status
): Real-time information about court document collectionslegal_research
): Template for conducting comprehensive legal researchcase_analysis
): Template for analyzing specific legal casesnpm install
npm run build
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"]
}
}
}
Test the server using the MCP Inspector:
npx @modelcontextprotocol/inspector node build/index.js
Use the search tool to find cases on specific topics:
The search supports Elasticsearch query syntax:
"exact phrase"
for exact matchesfield:value
for field-specific searchesterm1 AND term2
for boolean operationsOnce you find a relevant case, use the signature and spider name to retrieve the full document:
This server interfaces with:
https://entscheidsuche.ch/_search.php
- Elasticsearch search endpointhttps://entscheidsuche.ch/docs/
- Document repositoryhttps://entscheidsuche.ch/status
- Court status informationThis tool provides access to publicly available Swiss court decisions through the Entscheidsuche service. Please note:
npm run build
- Build the TypeScript projectnpm run dev
- Build and run the servernpm run watch
- Watch for changes and rebuildsrc/
index.ts # Main server implementation
build/ # Compiled JavaScript output
package.json # Project dependencies and scripts
tsconfig.json # TypeScript configuration
Feel free to submit issues and enhancement requests. When contributing:
MIT License - see LICENSE file for details.