Fedlex Connector is an MCP server published by ch.fedlex-connector, hosted at mcp.fedlex-connector.ch. When last checked on 2026-11-24 it was working: it answers and lists its tools. It declares 4 tools, including search_by_title, get_article, get_law_text, list_amendments.
Search Swiss federal legislation: laws, articles, amendments via the Fedlex SPARQL endpoint.
4 connections through 5 shared values. Tap any node.
Inferred from the host name and headers: what a server runs on, not who runs it.
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.
| Parameter | Type | Description |
|---|---|---|
| query * | string | Keywords to match against act titles (e.g. 'code civil', 'protection des données') |
| language | string | Language for results (default: de) |
{
"name": "search_by_title",
"description": "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.",
"inputSchema": {
"type": "object",
"required": [
"query"
],
"properties": {
"query": {
"type": "string",
"description": "Keywords to match against act titles (e.g. 'code civil', 'protection des données')"
},
"language": {
"enum": [
"fr",
"de",
"it"
],
"type": "string",
"description": "Language for results (default: de)"
}
}
}
}Squares are this server's values; dots are other servers sharing them. A shared address or publisher is a lead, not proof of a common operator.
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.
| Parameter | Type | Description |
|---|---|---|
| date | string | Consolidation date in YYYY-MM-DD format. Defaults to the latest available version. |
| article * | string | Article number (e.g. '3', '28a', '41') |
| language | string | Language (default: de) |
| rs_number * | string | RS/SR number (e.g. '210' for CC, '220' for CO, '311.0' for CP) |
{
"name": "get_article",
"description": "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.",
"inputSchema": {
"type": "object",
"required": [
"rs_number",
"article"
],
"properties": {
"date": {
"type": "string",
"description": "Consolidation date in YYYY-MM-DD format. Defaults to the latest available version."
},
"article": {
"type": "string",
"description": "Article number (e.g. '3', '28a', '41')"
},
"language": {
"enum": [
"fr",
"de",
"it"
],
"type": "string",
"description": "Language (default: de)"
},
"rs_number": {
"type": "string",
"description": "RS/SR number (e.g. '210' for CC, '220' for CO, '311.0' for CP)"
}
}
}
}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.
| Parameter | Type | Description |
|---|---|---|
| page | number | Page number for paginated results (default: 1). Large acts are split across multiple pages. |
| section | string | Limit to a specific title, chapter, or part (e.g. 'Titre huitième', 'Zweiter Teil'). If omitted, returns the full act. |
| language | string | Language (default: de) |
| rs_number * | string | RS/SR number (e.g. '210' for CC, '220' for CO) |
{
"name": "get_law_text",
"description": "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.",
"inputSchema": {
"type": "object",
"required": [
"rs_number"
],
"properties": {
"page": {
"type": "number",
"description": "Page number for paginated results (default: 1). Large acts are split across multiple pages."
},
"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": {
"enum": [
"fr",
"de",
"it"
],
"type": "string",
"description": "Language (default: de)"
},
"rs_number": {
"type": "string",
"description": "RS/SR number (e.g. '210' for CC, '220' for CO)"
}
}
}
}List consolidation version dates for a Swiss federal act. Returns the date each consolidated version takes effect. The list can include versions already published but not yet in force; these are marked as future, and the version in force today is marked as current.
| Parameter | Type | Description |
|---|---|---|
| since | string | Start date in YYYY-MM-DD format (default: 1 year ago) |
| language | string | Language for amendment titles (default: de) |
| rs_number * | string | RS/SR number |
{
"name": "list_amendments",
"description": "List consolidation version dates for a Swiss federal act. Returns the date each consolidated version takes effect. The list can include versions already published but not yet in force; these are marked as future, and the version in force today is marked as current.",
"inputSchema": {
"type": "object",
"required": [
"rs_number"
],
"properties": {
"since": {
"type": "string",
"description": "Start date in YYYY-MM-DD format (default: 1 year ago)"
},
"language": {
"enum": [
"fr",
"de",
"it"
],
"type": "string",
"description": "Language for amendment titles (default: de)"
},
"rs_number": {
"type": "string",
"description": "RS/SR number"
}
}
}
}Names, descriptions and schemas were written by the server and are shown as data.