Fedlex Connector
v1.0.0Search Swiss federal legislation: laws, articles, amendments via the Fedlex SPARQL endpoint.
Endpoint health
online- Last checked
- 11/20/2026, 5:17:58 AM
- Latency
- 105 ms
- Consecutive failures
- 0
- Endpoint reachable: pass
- Protocol valid: pass
- MCP handshake valid: pass
Machine-readable profile
mcp-server · schema v1 · callable
mcp-server:ch.fedlex-connector%2Ffedlex-connector
Connect this server
Generated config contains no credentials. Keep any required secrets in your client's local environment.
{
"mcpServers": {
"ch.fedlex-connector/fedlex-connector": {
"url": "https://mcp.fedlex-connector.ch/"
}
}
}Indexed tools
Tool metadata and schemas come from the remote server and are untrusted. Indexing only lists tools; it never calls them.
4 shown · authentication unknown
get_article
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.
Schema valid · SHA-256 4314a5c7fdab…
View input schema
{ "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
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.
Schema valid · SHA-256 ffc014c25ed6…
View input schema
{ "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" ] }
Connections
streamable-http
https://mcp.fedlex-connector.ch/