Skip to main content
Glama
self-tech-labs

Entscheidsuche MCP Server

申请 MCP 服务器

用于访问 entscheidsuche.ch 瑞士法律决策搜索 API 的 MCP 服务器。

概述

该服务器通过模型上下文协议 (MCP) 提供对瑞士法院判决的标准化访问。它允许像 Claude 这样的法学硕士 (LLM) 从 entscheidsuche.ch 数据库中搜索、检索和分析法律文件。

Related MCP server: Legal Court MCP Server

特征

  • 资源:访问瑞士法院判决作为可搜索的资源

  • 工具:搜索法院判决、检索文件、按州列出法院

  • 提示:常见法律研究任务的模板

安装

# Clone the repository
git clone [repository-url]
cd entscheidsuche-mcp-server

# Install dependencies
npm install

# Build the server
npm run build

用法

使用 Claude 桌面版

  1. 打开 Claude for Desktop 的设置

  2. 将以下内容添加到您的claude_desktop_config.json中:

{
  "mcpServers": {
    "entscheidsuche": {
      "command": "node",
      "args": ["/absolute/path/to/entscheidsuche-mcp-server/build/index.js"]
    }
  }
}
  1. 重启 Claude 桌面版

  2. 开始询问法律研究问题!

使用 MCP 检查器

npx @modelcontextprotocol/inspector node /path/to/entscheidsuche-mcp-server/build/index.js

可用功能

资源

  • entscheidsuche://scrapers - 列出所有可用的 scrapers/collections

  • entscheidsuche://scraper/{scraperId} - 获取特定抓取工具的详细信息

  • entscheidsuche://document/{documentId} - 访问特定文档的元数据

工具

  • search-decisions - 使用 Elasticsearch 查询语法搜索法院判决

  • get-document-content - 检索特定文档的内容

  • list-courts - 按州列出可用的法院

  • get-document-urls - 获取文档 PDF 和 HTML 版本的直接 URL

提示

  • search-legal-precedents - 查找特定法律主题的相关先例

  • compare-jurisdictions - 比较不同州对特定法律问题的裁决

  • court-decisions - 检索特定法院的最新判决

示例查询

苏黎世版权案件检索

Can you find Swiss court decisions about copyright infringement in Zurich from the last 5 years?

比较各州对某一法律问题的处理方式

How do different Swiss cantons approach the legal issue of tenant rights in rental disputes?

分析具体决策

Can you retrieve and analyze the decision with ID "ZH_VG-VB.2021.00042"?

技术细节

  • 使用 MCP TypeScript SDK 构建

  • 尊重速率限制,以“保护 entscheidsuche.ch 服务器”

  • 处理正确的身份验证和错误处理

  • 使用关键元数据(法院、日期、案件编号)格式化搜索结果

贡献

欢迎贡献代码!欢迎提交 Pull 请求。

执照

该项目已获得 MIT 许可。

致谢

Entscheidsuche 的 MCP 查询示例

本文档提供了如何通过 Claude 使用 Entscheidsuche MCP 服务器研究瑞士法律判决的示例。

基本搜索

查找特定主题的案例

Find Swiss court decisions about intellectual property rights in the technology sector from the last 5 years.

按州搜索

What are some important court decisions from the canton of Zurich (ZH) related to landlord-tenant disputes?

按关键字和法律概念搜索

Can you find Swiss Federal Supreme Court cases discussing the concept of "good faith" (Treu und Glauben) in contract law?

文档检索

通过 ID 检索特定文档

Can you retrieve and analyze the Swiss court decision with ID "CH_BGer-4A_283_2021"?

获取文档 URL

I'd like to access the original court decision for case number "ZH_OG-LB190025". Can you provide the PDF and HTML links?

比较分析

比较各州的做法

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.

分析法律趋势

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.

专业法律研究

寻找特定情况的先例

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?

分析多个相关案例

Find the most significant Swiss court decisions related to pharmaceutical patent disputes and analyze how they've shaped the legal landscape in this area.

高级提示用法

使用比较管辖区提示

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, find relevant Swiss legal precedents about "algorithmic decision making" and data protection, focusing on federal court decisions.

使用法院判决提示

Using the court-decisions prompt, retrieve recent decisions from the Swiss Federal Supreme Court (Bundesgericht) within the last 2 years related to cryptocurrency regulation.

Available Tools

3 tools
get_documentGet Legal Document ContentC

Retrieve the full content of a specific legal document

ParametersJSON Schema
NameRequiredDescriptionDefault
formatNoDocument format to retrievejson
signatureYesDocument signature (e.g., CH_BGer_005_5F-23-2025_2025-07-01)
spiderNoCourt/spider name (e.g., CH_BGer). If not provided, will be extracted from signature

TDQS

C2.9/5.0
Behavior2/5

Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?

With no annotations provided, the description carries full burden for behavioral disclosure. While 'Retrieve' implies a read operation, it doesn't disclose important behavioral aspects like authentication requirements, rate limits, error conditions, response format, or whether this is a simple fetch versus a complex operation. The description is minimal and lacks operational context.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness5/5

Is the description appropriately sized, front-loaded, and free of redundancy?

The description is extremely concise - a single sentence that directly states the tool's purpose. There's no wasted language, repetition, or unnecessary elaboration. It's front-loaded with the core functionality.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness2/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

For a tool with 3 parameters, no annotations, and no output schema, the description is insufficiently complete. It doesn't explain what constitutes a valid document signature, how the retrieved content is structured, error handling, or operational constraints. The minimal description leaves too many questions unanswered for effective tool usage.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters3/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

With 100% schema description coverage, the schema already documents all three parameters thoroughly. The description adds no parameter-specific information beyond what's in the schema - it doesn't explain the relationship between signature and spider parameters, provide examples of valid signatures, or clarify the format parameter's implications.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose4/5

Does the description clearly state what the tool does and how it differs from similar tools?

The description clearly states the action ('Retrieve') and resource ('full content of a specific legal document'), making the purpose immediately understandable. However, it doesn't differentiate from sibling tools like 'search_case_law' or 'list_courts' - it doesn't explain that this retrieves a single document by signature rather than searching or listing.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines2/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

The description provides no guidance about when to use this tool versus alternatives. There's no mention of prerequisites, when this tool is appropriate versus 'search_case_law', or any context about what constitutes a 'specific legal document' that can be retrieved.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.

list_courtsList Available CourtsB

Get information about available courts and their document counts

ParametersJSON Schema
NameRequiredDescriptionDefault

No parameters

TDQS

B3.1/5.0
Behavior2/5

Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?

No annotations are provided, so the description carries the full burden. It mentions 'Get information' but doesn't disclose behavioral traits such as whether this is a read-only operation, potential rate limits, authentication needs, or what format the information is returned in. The description is minimal and lacks essential context for safe invocation.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness5/5

Is the description appropriately sized, front-loaded, and free of redundancy?

The description is a single, efficient sentence that directly states the tool's purpose without any fluff or unnecessary details. It is front-loaded and appropriately sized for a simple tool with no parameters.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness2/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

Given the lack of annotations and output schema, the description is incomplete. It doesn't explain what 'information' includes (e.g., court names, IDs, document counts), how results are structured, or any limitations. For a tool that returns data, more context is needed to guide the agent effectively.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters4/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

The input schema has 0 parameters with 100% coverage, so no parameter documentation is needed. The description appropriately doesn't discuss parameters, and since there are none, it meets the baseline of 4 for not introducing confusion or redundancy.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose4/5

Does the description clearly state what the tool does and how it differs from similar tools?

The description clearly states the verb 'Get' and the resource 'information about available courts and their document counts', which is specific and actionable. However, it doesn't explicitly differentiate from sibling tools like 'search_case_law', which might also involve court information but with different functionality.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines2/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

The description provides no guidance on when to use this tool versus alternatives like 'search_case_law'. It lacks context about use cases, prerequisites, or exclusions, leaving the agent to infer usage based on the tool name and description alone.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.

search_case_lawSearch Swiss Case LawC

Search for Swiss court decisions using Entscheidsuche database

ParametersJSON Schema
NameRequiredDescriptionDefault
fromNoStarting position for pagination
queryYesSearch query for legal cases
sizeNoNumber of results to return (max 50)

TDQS

C2.9/5.0
Behavior2/5

Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?

With no annotations, the description carries full burden but only states the basic function. It lacks details on behavioral traits such as rate limits, authentication needs, error handling, or what the search returns (e.g., result format, metadata). This is inadequate for a search tool with no output schema.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness5/5

Is the description appropriately sized, front-loaded, and free of redundancy?

The description is a single, efficient sentence that directly states the tool's purpose without redundancy. It's front-loaded and wastes no words, making it easy to parse quickly.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness2/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

Given the complexity of a search tool with no annotations or output schema, the description is insufficient. It doesn't explain what the search returns, how results are structured, or any limitations, leaving gaps for the agent to understand the tool's behavior fully.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters3/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema description coverage is 100%, so the schema fully documents parameters like 'query' for search terms and 'from/size' for pagination. The description adds no additional meaning beyond implying a legal context, meeting the baseline for high schema coverage.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose4/5

Does the description clearly state what the tool does and how it differs from similar tools?

The description clearly states the action ('Search') and target resource ('Swiss court decisions') with the specific database ('Entscheidsuche'), making the purpose unambiguous. However, it doesn't explicitly differentiate from sibling tools like 'get_document' or 'list_courts', which might also retrieve legal information.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines2/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

No guidance is provided on when to use this tool versus alternatives. The description doesn't mention scenarios for searching case law compared to getting specific documents or listing courts, leaving the agent to infer usage from tool names alone.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.

Tool Schema Changelog

Recent tool additions, removals, and schema changes observed during successful MCP inspections. Dates show when Glama detected each change.

  1. 3 tool updatesv1.0.0
    • First observedget_document
    • First observedlist_courts
    • First observedsearch_case_law

TDQS

B3.3/5.0
Disambiguation5/5

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.

Naming Consistency5/5

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.

Tool Count3/5

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.

Completeness3/5

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

ActivityInactive
ResponsivenessUnresponsive

Resources

Unclaimed servers have limited discoverability.

Looking for Admin?

If you are the server author, to access and configure the admin panel.

Related MCP Connectors

Related MCP Servers

  • A
    license
    A
    quality
    A
    maintenance
    An 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.
    7
    MIT
  • A
    license
    A
    quality
    A
    maintenance
    MCP 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.
    8
    1
    MIT

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/self-tech-labs/entscheidsuche-MCP-server'

If you have feedback or need assistance with the MCP directory API, please join our Discord server