Fedlex Connector
ch.fedlex-connector/fedlex-connector
Serveur MCP OK 4 outils
Search Swiss federal legislation: laws, articles, amendments via the Fedlex SPARQL endpoint.
Fiche technique
- Auteur
- fedlex-connector.ch (espace de noms du registre)
- Dépôt
- github.com/JayTheSkier/fedlex-connector
- Site
- fedlex-connector.ch
- Version
- 1.0.0
- Transport
- Streamable HTTP
- Authentification
- Aucune (constatée par notre test)
- Adresse du serveur
- https://mcp.fedlex-connector.ch/ Streamable HTTP
- Outils
- 4
- Catégories
- —
- Dernière mise à jour
- 9 avr. 2026
- Publication
- 9 avr. 2026
Auteur vérifié et popularité
Fiche pas encore revendiquée. C’est votre projet ? Revendiquez-la
Pas « Populaire » pour l’instant Retiré tout seul dès que les critères ne sont plus remplis.
- Visiteurs distincts de la fiche sur 30 jours : 0 (il en faut 30) pas encore
- ou configurations d’installation copiées sur 30 jours : 0 (il en faut 5) pas encore
- et un test réussi de moins de 14 jours : testé le 28 nov. 2026 rempli
Badge à jour tout seul. Toujours « testé le … », jamais « certifié ». Comment ça marche
[](https://latlas.dev/mcp/ch.fedlex-connector/fedlex-connector)<a href="https://latlas.dev/mcp/ch.fedlex-connector/fedlex-connector"><img src="https://latlas.dev/badge/statut/mcp/ch.fedlex-connector/fedlex-connector.svg" alt="Statut sur L’Atlas" height="20"></a>Badge pour votre README
Gratuit, pour toute fiche. Il renvoie vers cette fiche et affiche « testé OK » tant que notre dernier test est réussi.
[](https://latlas.dev/mcp/ch.fedlex-connector/fedlex-connector)<a href="https://latlas.dev/mcp/ch.fedlex-connector/fedlex-connector"><img src="https://latlas.dev/badge/fiche/ch.fedlex-connector/fedlex-connector.svg" alt="Référencé sur L’Atlas" height="20"></a>Nos tests
Chaque semaine : initialize puis tools/list, sans identifiant, sans jamais appeler d’outil. Méthode
- Adresse
- https://mcp.fedlex-connector.ch/
- Dernier résultat
- OK 28 nov. 2026, 08:10
- Temps de réponse
- 986 ms (initialize + tools/list)
- Version du protocole
- 2025-11-25
- Nom annoncé
- fedlex-connector 1.0.0
- Outils
- 4
Historique
| Date | Résultat | Réponse | Outils |
|---|---|---|---|
| 28 nov. 2026, 08:10 | OK | 986 ms | 4 |
Outils exposés (4, réponse à 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.
| Paramètre | Type | Requis | Description |
|---|---|---|---|
| query | string | oui | Keywords to match against act titles (e.g. 'code civil', 'protection des données') |
| language | enum: "fr" | "de" | "it" | non | 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.
| Paramètre | Type | Requis | Description |
|---|---|---|---|
| rs_number | string | oui | RS/SR number (e.g. '210' for CC, '220' for CO, '311.0' for CP) |
| article | string | oui | Article number (e.g. '3', '28a', '41') |
| language | enum: "fr" | "de" | "it" | non | Language (default: de) |
| date | string | non | 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.
| Paramètre | Type | Requis | Description |
|---|---|---|---|
| rs_number | string | oui | RS/SR number (e.g. '210' for CC, '220' for CO) |
| section | string | non | 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" | non | Language (default: de) |
| page | number | non | 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.
| Paramètre | Type | Requis | Description |
|---|---|---|---|
| rs_number | string | oui | RS/SR number |
| since | string | non | Start date in YYYY-MM-DD format (default: 1 year ago) |
| language | enum: "fr" | "de" | "it" | non | Language for amendment titles (default: de) |
Compatibilité clients
Selon les transports que chaque client déclare accepter dans sa documentation officielle ; ce n’est pas un essai réel dans le client.
| Client | Transports documentés | Ce serveur | Source |
|---|---|---|---|
| Claude Code | stdio Streamable HTTP SSE | transport accepté | doc |
| Claude (claude.ai, Claude Desktop, Cowork) | stdio Streamable HTTP SSE | transport accepté | doc |
| ChatGPT (serveurs MCP personnalisés / plugins) | Streamable HTTP SSE | transport accepté | doc |
| Cursor | stdio Streamable HTTP SSE | transport accepté | doc |
| VS Code (GitHub Copilot) | stdio Streamable HTTP SSE | transport accepté | doc |
| Windsurf (documentation redirigée vers Devin Local / Devin CLI) | stdio Streamable HTTP SSE | transport accepté | doc |
| Gemini CLI | stdio Streamable HTTP SSE | transport accepté | doc |
| OpenAI Codex (CLI, extension IDE, app) | stdio Streamable HTTP | transport accepté | doc |
Configs prêtes à copier
Adresse distante utilisée : https://mcp.fedlex-connector.ch/. Formats repris de la documentation de chaque client.
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/"Citer cette source
Vous rédigez un article ou un comparatif ? Cette fiche distingue les informations du registre et nos mesures. Citez le lien permanent et la date du test ; un résultat OK ne constitue pas un audit de sécurité ni une garantie de disponibilité.
Fedlex Connector · L’Atlas · Test du
[Fedlex Connector — L’Atlas](https://latlas.dev/mcp/ch.fedlex-connector/fedlex-connector)Source : Registre officiel MCP · relevé le 3 déc. 2026. L’Atlas n’ajoute aucune donnée qui ne vienne de cette source ou de ses propres tests.