L'Atlas / MCP servers / Fedlex Connector
MCP server

Fedlex Connector

ch.fedlex-connector/fedlex-connector

MCP server OK 4 tools

Get a review See pricing

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

MarkdownREADME.md
[![Status on L’Atlas](https://latlas.dev/badge/statut/mcp/ch.fedlex-connector/fedlex-connector.svg?lang=en)](https://latlas.dev/en/mcp/ch.fedlex-connector/fedlex-connector)
HTML
<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

Listed on L’Atlas

Free, for every entry. It links back to this entry and shows “tested OK” as long as our latest test succeeded.

MarkdownREADME.md
[![Listed on L’Atlas](https://latlas.dev/badge/fiche/ch.fedlex-connector/fedlex-connector.svg?lang=en)](https://latlas.dev/en/mcp/ch.fedlex-connector/fedlex-connector)
HTML
<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

DateResultResponseTools
28 Nov 2026, 08:10OK986 ms4

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.

ParameterTypeRequiredDescription
querystringyesKeywords to match against act titles (e.g. 'code civil', 'protection des données')
languageenum: "fr" | "de" | "it"noLanguage 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.

ParameterTypeRequiredDescription
rs_numberstringyesRS/SR number (e.g. '210' for CC, '220' for CO, '311.0' for CP)
articlestringyesArticle number (e.g. '3', '28a', '41')
languageenum: "fr" | "de" | "it"noLanguage (default: de)
datestringnoConsolidation 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.

ParameterTypeRequiredDescription
rs_numberstringyesRS/SR number (e.g. '210' for CC, '220' for CO)
sectionstringnoLimit to a specific title, chapter, or part (e.g. 'Titre huitième', 'Zweiter Teil'). If omitted, returns the full act.
languageenum: "fr" | "de" | "it"noLanguage (default: de)
pagenumbernoPage 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.

ParameterTypeRequiredDescription
rs_numberstringyesRS/SR number
sincestringnoStart date in YYYY-MM-DD format (default: 1 year ago)
languageenum: "fr" | "de" | "it"noLanguage 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.

ClientDocumented transportsThis serverSource
Claude Codestdio Streamable HTTP SSEtransport accepteddoc
Claude (claude.ai, Claude Desktop, Cowork)stdio Streamable HTTP SSEtransport accepteddoc
ChatGPT (serveurs MCP personnalisés / plugins)Streamable HTTP SSEtransport accepteddoc
Cursorstdio Streamable HTTP SSEtransport accepteddoc
VS Code (GitHub Copilot)stdio Streamable HTTP SSEtransport accepteddoc
Windsurf (documentation redirigée vers Devin Local / Devin CLI)stdio Streamable HTTP SSEtransport accepteddoc
Gemini CLIstdio Streamable HTTP SSEtransport accepteddoc
OpenAI Codex (CLI, extension IDE, app)stdio Streamable HTTPtransport accepteddoc

Ready-to-copy configs

Remote address used: https://mcp.fedlex-connector.ch/. Formats taken from each client’s documentation.

Claude Code
claude mcp add --transport http fedlex-connector https://mcp.fedlex-connector.ch/
Claude (claude.ai, Claude Desktop, Cowork)
Customize > Connectors > + Add > Add custom connector ; Name : fedlex-connector ; URL : https://mcp.fedlex-connector.ch/
ChatGPT (serveurs MCP personnalisés / plugins)
chatgpt.com/plugins > + > Add custom MCP server ; Name : fedlex-connector ; Server URL : https://mcp.fedlex-connector.ch/ ; Create as a plugin
Cursor.cursor/mcp.json (projet) ou ~/.cursor/mcp.json (global)
{
  "mcpServers": {
    "fedlex-connector": {
      "url": "https://mcp.fedlex-connector.ch/"
    }
  }
}
VS Code (GitHub Copilot).mcp.json à la racine du workspace, ou ~/.copilot/mcp-config.json ($COPILOT_HOME/mcp-config.json)
{
  "mcpServers": {
    "fedlex-connector": {
      "type": "http",
      "url": "https://mcp.fedlex-connector.ch/",
      "tools": ["*"]
    }
  }
}
Windsurf (documentation redirigée vers Devin Local / Devin CLI).devin/mcp_config.json (projet), .devin/mcp_config.local.json (local), ~/.config/devin/mcp_config.json (utilisateur)
{
  "mcpServers": {
    "fedlex-connector": {
      "url": "https://mcp.fedlex-connector.ch/"
    }
  }
}
Gemini CLI~/.gemini/settings.json (utilisateur) ou .gemini/settings.json (projet)
{
  "mcpServers": {
    "fedlex-connector": {
      "httpUrl": "https://mcp.fedlex-connector.ch/"
    }
  }
}
OpenAI Codex (CLI, extension IDE, app)~/.codex/config.toml (ou .codex/config.toml pour un projet de confiance)
[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

Markdown
[Fedlex Connector — L’Atlas](https://latlas.dev/en/mcp/ch.fedlex-connector/fedlex-connector)
Test methodology and limitations

Source : Registre officiel MCP · retrieved 3 Dec 2026. L’Atlas adds no data beyond this source and its own tests.