Fedlex Connector
Search Swiss federal legislation: laws, articles, amendments via the Fedlex SPARQL endpoint.
사용해야 할까요
품질 및 안전성
발견 사항 (2)
- HIGH
- LOWget_article에서
도구 정의와 프로토콜 준수에 대한 자동 분석을 기반으로 합니다.
컨텍스트 비용
이는 서버의 도구가 모델의 컨텍스트에 로드될 때마다 소비되는 대략적인 토큰 수입니다. 수치가 높을수록 다른 작업에 사용할 수 있는 주의가 줄어듭니다.
설치
원클릭 설치
`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"
]
}권장 프롬프트
get_articlesearch_by_titlesearch_by_titlelist_amendmentsget_article커뮤니티
증거