MCP server
Fedlex Connector Official
ch.fedlex-connector/fedlex-connector
Checked 26 Oct 2026, 08:29 UTC · Connected to it and listed its tools
Search Swiss federal legislation: laws, articles, amendments via the Fedlex SPARQL endpoint.
Working at last checkVerified publisher: fedlex-connector.chAbout 820 tokens per request once connected4 tools
https://mcp.fedlex-connector.ch/
At a glance
- Type
- MCP server
- Publisher
- fedlex-connector.ch (verified by the MCP Registry)
- Status
- Working at last check
- Tools
- 4
- Token cost
- About 820 tokens per request
- Sets up in
- Claude Code, Claude Desktop, Codex, Gemini CLI, Cursor, VS Code, Antigravity, ChatGPT, OpenAI API, Grok
- Last checked
- 26 Oct 2026, 08:29 UTC
Connect it to your agent
Opens the app, which shows the server and asks you to confirm. For other apps, copy the setup below.
Claude Code
claude mcp add --transport http fedlex-connector https://mcp.fedlex-connector.ch/
Claude Desktop
Settings → Connectors → Add custom connector, and paste the URL.
Codex (config.toml)
[mcp_servers.fedlex-connector] url = "https://mcp.fedlex-connector.ch/"
Gemini CLI
{"mcpServers":{"fedlex-connector":{"httpUrl":"https://mcp.fedlex-connector.ch/"}}}
Cursor
{"mcpServers":{"fedlex-connector":{"url":"https://mcp.fedlex-connector.ch/"}}}
VS Code
{"servers":{"fedlex-connector":{"type":"http","url":"https://mcp.fedlex-connector.ch/"}}}
Antigravity
agy mcp add fedlex-connector https://mcp.fedlex-connector.ch/
ChatGPT
Settings → Apps & Connectors → Advanced settings: turn on Developer mode, then Create a connector and paste the URL. Which plans can do this varies.
OpenAI API (Responses tools)
{"type":"mcp","server_label":"fedlex-connector","server_url":"https://mcp.fedlex-connector.ch/","require_approval":"always"}
Grok (xAI API tools)
{"type":"mcp","server_label":"fedlex-connector","server_url":"https://mcp.fedlex-connector.ch/"}
Tools
get_article~228 tokens
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.get_law_text~281 tokens
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 returnlist_amendments~143 tokens
List consolidation version dates for a Swiss federal act. Returns the dates each consolidated version took effect.search_by_title~168 tokens
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.
Browse
Related MCP servers
- OpenCaseLaw — Swiss Caselaw, Statutes & Doctrine
1M+ Swiss court decisions, statutes & doctrine with citation graph (DE/FR/IT). CC0, free, 42 tools. - OpenHelvetia Gateway
Swiss federal law (Fedlex) and political data (LINDAS) for agents, every answer with sources - Maxwell Directory (x402 + MCP)
Local providers worldwide, plus travel and public data. Free search; paid answers via x402. - Lebanese Legislation
Search and read Lebanese laws, articles, court rulings and the Official Gazette, verbatim. - UK company & compliance data
Companies House, Gazette notices, sanctions screening, LEIs and UK legislation. - UK Legislation Changes
Point-in-time amendment history for 528 UK law provisions: search, version history, changes. - Payments Law — EU payments legislation
EU payments legislation: PSD2, RTS-SCA, PSD3/PSR, DORA; provisions, definitions and text changes. - Legislation
U.S. bills, roll-call votes, legislators and 2026 elections for all 50 states, D.C. and Congress.
Badge for your README
[](https://aptlynx.net/servers/ch.fedlex-connector/fedlex-connector)
Listing text is written by the maker; AptLynx lists tools and does not vouch for them. Find another tool · Browse by topic · For agents