Fedlex Connector
ch.fedlex-connector/fedlex-connector
MCP server OK 4 tools
Search Swiss federal legislation: laws, articles, amendments via the Fedlex SPARQL endpoint.
Technical sheet
- Author
- fedlex-connector.ch (registry namespace)
- Repository
- github.com/JayTheSkier/fedlex-connector
- Site
- fedlex-connector.ch
- Version
- 1.0.0
- Transport
- Streamable HTTP
- Authentication
- None (observed by our test)
- Server address
- https://mcp.fedlex-connector.ch/ Streamable HTTP
- Tools
- 4
- Categories
- —
- Last updated
- 9 Apr 2026
- Published
- 9 Apr 2026
Verified author and popularity
Entry not claimed yet. Is it your project? Claim it
Not “Popular” for now Removed automatically as soon as the criteria are no longer met.
- Distinct visitors of this entry over 30 days: 0 (30 needed) not yet
- or install configs copied over 30 days: 0 (5 needed) not yet
- and a successful test less than 14 days old: tested 28 Nov 2026 met
Badge updates by itself. Always “tested on …”, never “certified”. How it works
[](https://latlas.dev/en/mcp/ch.fedlex-connector/fedlex-connector)<a href="https://latlas.dev/en/mcp/ch.fedlex-connector/fedlex-connector"><img src="https://latlas.dev/badge/statut/mcp/ch.fedlex-connector/fedlex-connector.svg?lang=en" alt="Status on L’Atlas" height="20"></a>Badge for your README
Free, for every entry. It links back to this entry and shows “tested OK” as long as our latest test succeeded.
[](https://latlas.dev/en/mcp/ch.fedlex-connector/fedlex-connector)<a href="https://latlas.dev/en/mcp/ch.fedlex-connector/fedlex-connector"><img src="https://latlas.dev/badge/fiche/ch.fedlex-connector/fedlex-connector.svg?lang=en" alt="Listed on L’Atlas" height="20"></a>Our tests
Every week: initialize then tools/list, without credentials, never calling a tool. Method
- Address
- https://mcp.fedlex-connector.ch/
- Last result
- OK 28 Nov 2026, 08:10
- Response time
- 986 ms (initialize + tools/list)
- Protocol version
- 2025-11-25
- Announced name
- fedlex-connector 1.0.0
- Tools
- 4
History
| Date | Result | Response | Tools |
|---|---|---|---|
| 28 Nov 2026, 08:10 | OK | 986 ms | 4 |
Exposed tools (4, from tools/list, 28 Nov 2026)
search_by_title
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 | Required | Description |
|---|---|---|---|
| query | string | yes | Keywords to match against act titles (e.g. 'code civil', 'protection des données') |
| language | enum: "fr" | "de" | "it" | no | Language for results (default: de) |
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.
| Parameter | Type | Required | Description |
|---|---|---|---|
| rs_number | string | yes | RS/SR number (e.g. '210' for CC, '220' for CO, '311.0' for CP) |
| article | string | yes | Article number (e.g. '3', '28a', '41') |
| language | enum: "fr" | "de" | "it" | no | Language (default: de) |
| date | string | no | Consolidation date in YYYY-MM-DD format. Defaults to the latest available version. |
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.
| Parameter | Type | Required | Description |
|---|---|---|---|
| rs_number | string | yes | RS/SR number (e.g. '210' for CC, '220' for CO) |
| section | string | no | 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" | no | Language (default: de) |
| page | number | no | Page number for paginated results (default: 1). Large acts are split across multiple pages. |
list_amendments
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 | Required | Description |
|---|---|---|---|
| rs_number | string | yes | RS/SR number |
| since | string | no | Start date in YYYY-MM-DD format (default: 1 year ago) |
| language | enum: "fr" | "de" | "it" | no | Language for amendment titles (default: de) |
Client compatibility
Based on the transports each client documents as supported; this is not a live test inside the client.
| Client | Documented transports | This server | Source |
|---|---|---|---|
| Claude Code | stdio Streamable HTTP SSE | transport accepted | doc |
| Claude (claude.ai, Claude Desktop, Cowork) | stdio Streamable HTTP SSE | transport accepted | doc |
| ChatGPT (serveurs MCP personnalisés / plugins) | Streamable HTTP SSE | transport accepted | doc |
| Cursor | stdio Streamable HTTP SSE | transport accepted | doc |
| VS Code (GitHub Copilot) | stdio Streamable HTTP SSE | transport accepted | doc |
| Windsurf (documentation redirigée vers Devin Local / Devin CLI) | stdio Streamable HTTP SSE | transport accepted | doc |
| Gemini CLI | stdio Streamable HTTP SSE | transport accepted | doc |
| OpenAI Codex (CLI, extension IDE, app) | stdio Streamable HTTP | transport accepted | doc |
Ready-to-copy configs
Remote address used: https://mcp.fedlex-connector.ch/. Formats taken from each client’s documentation.
claude mcp add --transport http fedlex-connector https://mcp.fedlex-connector.ch/Customize > Connectors > + Add > Add custom connector ; Name : fedlex-connector ; URL : https://mcp.fedlex-connector.ch/chatgpt.com/plugins > + > Add custom MCP server ; Name : fedlex-connector ; Server URL : https://mcp.fedlex-connector.ch/ ; Create as a plugin{
"mcpServers": {
"fedlex-connector": {
"url": "https://mcp.fedlex-connector.ch/"
}
}
}{
"mcpServers": {
"fedlex-connector": {
"type": "http",
"url": "https://mcp.fedlex-connector.ch/",
"tools": ["*"]
}
}
}{
"mcpServers": {
"fedlex-connector": {
"url": "https://mcp.fedlex-connector.ch/"
}
}
}{
"mcpServers": {
"fedlex-connector": {
"httpUrl": "https://mcp.fedlex-connector.ch/"
}
}
}[mcp_servers.fedlex-connector]
url = "https://mcp.fedlex-connector.ch/"Cite this source
Writing an article or comparison? This entry distinguishes registry information from our measurements. Cite the permanent link and the test date; an OK result is not a security audit or an availability guarantee.
Fedlex Connector · L’Atlas · Tested on
[Fedlex Connector — L’Atlas](https://latlas.dev/en/mcp/ch.fedlex-connector/fedlex-connector)Source : Registre officiel MCP · retrieved 3 Dec 2026. L’Atlas adds no data beyond this source and its own tests.