Fedlex Connector

Search Swiss federal legislation: laws, articles, amendments via the Fedlex SPARQL endpoint.

使うべきか

品質と安全性

A
説明の品質
90%
スキーマの完全性
100%
命名の品質
100%
ポイズニングのリスク
80%
権限の一致
100%
プロトコルへの準拠
100%

検出事項(2)

  • HIGHTool poisoning patterns detected
  • LOWTool description contains negative instruction about its own useget_article 内

ツール定義とプロトコルへの準拠に関する自動分析に基づいています。

コンテキストコスト

~682トークン数(ツール定義)
~1.2 KB一般的なレスポンスサイズ
注意への影響は中程度(128k コンテキストの 0.53%)

これは、サーバーのツールがモデルのコンテキストに読み込まれるたびに消費されるおおよそのトークン数です。数が多いほど、ほかのタスクに使える注意が減ります。

インストール

ワンクリックインストール

これを `claude_desktop_config.json` ファイルに追加してください:

{
  "mcpServers": {
    "fedlex-connector": {
      "url": "https://mcp.fedlex-connector.ch/"
    }
  }
}

リモートエンドポイント

https://mcp.fedlex-connector.ch/streamable-http

できること

ツール一覧

ツール(4)

🟢 読み取り専用🟡 書き込み🔴 削除⚪ 不明
🟢search_by_title(query, language)

Search Swiss federal legislation titles in the Classified Compilation (RS/SR) on Fedlex. Use to find the RS number of a law when you know its name but not its number. Searches titles only, not article content. Returns only acts currently in force.

入力スキーマ

{
  "type": "object",
  "properties": {
    "query": {
      "type": "string",
      "description": "Keywords to match against act titles (e.g. 'code civil', 'protection des données')"
    },
    "language": {
      "type": "string",
      "enum": [
        "fr",
        "de",
        "it"
      ],
      "description": "Language for results (default: de)"
    }
  },
  "required": [
    "query"
  ]
}
🟢get_article(rs_number, article, language, date)

Retrieve a single article when you already know the EXACT article number (e.g. from a cross-reference). Do NOT call this tool repeatedly to search for provisions — use get_law_text instead to fetch the full act or a section and locate relevant articles in the text.

入力スキーマ

{
  "type": "object",
  "properties": {
    "rs_number": {
      "type": "string",
      "description": "RS/SR number (e.g. '210' for CC, '220' for CO, '311.0' for CP)"
    },
    "article": {
      "type": "string",
      "description": "Article number (e.g. '3', '28a', '41')"
    },
    "language": {
      "type": "string",
      "enum": [
        "fr",
        "de",
        "it"
      ],
      "description": "Language (default: de)"
    },
    "date": {
      "type": "string",
      "description": "Consolidation date in YYYY-MM-DD format. Defaults to the latest available version."
    }
  },
  "required": [
    "rs_number",
    "article"
  ]
}
🟢get_law_text(rs_number, section, language, page)

Retrieve the official consolidated text of a Swiss federal act (or a specific title/chapter) directly from Fedlex (fedlex.admin.ch). This is the PRIMARY tool for answering Swiss law questions — always start here. Fetch the full act or a specific section, then locate relevant provisions in the returned text. Prefer this over get_article unless you already know the exact article number.

入力スキーマ

{
  "type": "object",
  "properties": {
    "rs_number": {
      "type": "string",
      "description": "RS/SR number (e.g. '210' for CC, '220' for CO)"
    },
    "section": {
      "type": "string",
      "description": "Limit to a specific title, chapter, or part (e.g. 'Titre huitième', 'Zweiter Teil'). If omitted, returns the full act."
    },
    "language": {
      "type": "string",
      "enum": [
        "fr",
        "de",
        "it"
      ],
      "description": "Language (default: de)"
    },
    "page": {
      "type": "number",
      "description": "Page number for paginated results (default: 1). Large acts are split across multiple pages."
    }
  },
  "required": [
    "rs_number"
  ]
}
🟢list_amendments(rs_number, since, language)

List consolidation version dates for a Swiss federal act. Returns the dates each consolidated version took effect.

入力スキーマ

{
  "type": "object",
  "properties": {
    "rs_number": {
      "type": "string",
      "description": "RS/SR number"
    },
    "since": {
      "type": "string",
      "description": "Start date in YYYY-MM-DD format (default: 1 year ago)"
    },
    "language": {
      "type": "string",
      "enum": [
        "fr",
        "de",
        "it"
      ],
      "description": "Language for amendment titles (default: de)"
    }
  },
  "required": [
    "rs_number"
  ]
}

推奨プロンプト

fetch_info
Fetch [information type] using Fedlex Connector
想定されるツール: get_article
search_research
Search for information about [topic] using Fedlex Connector
想定されるツール: search_by_title
find_specific
Find [specific item] using Fedlex Connector
想定されるツール: search_by_title
list_items
List all [items] available in Fedlex Connector
想定されるツール: list_amendments
retrieve_data
Get details about [item] from Fedlex Connector
想定されるツール: get_article

コミュニティ

このサーバーを評価する

エビデンス

最近の観測

検証済みバージョンは記録されていませんツール 4 件
検証済みバージョンは記録されていませんツール 4 件