Fedlex Connector
Server Details
Search Swiss federal legislation: laws, articles, amendments via the Fedlex SPARQL endpoint.
- Status
- Healthy
- Uptime
- 100.0% over the last 24 hours
- Last Tested
- Transport
- Streamable HTTP · MCP 2025-11-25
- URL
- Repository
- JayTheSkier/fedlex-connector
- GitHub Stars
- 8
- Server Listing
- Fedlex Connector
- ChatGPT
- –
- Claude
- –
TDQS
Scored across 4 tools
Each tool has a clearly distinct purpose, and the descriptions explicitly resolve the main potential overlap between get_article and get_law_text by stating when to use each. search_by_title and list_amendments serve clearly separate lookup and versioning roles.
All four tools follow a consistent snake_case verb_noun pattern: get_article, get_law_text, list_amendments, search_by_title. The convention is predictable throughout.
Four tools is a well-scoped surface for a Fedlex connector, with each tool covering a distinct retrieval need. There is no obvious filler or redundancy.
The set covers title search, full act or section retrieval, exact article lookup, and amendment version dates, which handles core Swiss law retrieval workflows. Minor gaps remain, such as full-text/content search across laws and fetching a specific historical consolidated version by date.
Available Tools
4 toolsget_articleAInspect
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.
Inputs: article (required), rs_number (required), date, language.
get_law_textAInspect
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.
Inputs: rs_number (required), page, section, language.
list_amendmentsAInspect
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.
Inputs: rs_number (required), since, language.
search_by_titleAInspect
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.
Inputs: query (required), language.
Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections.
Loading tool schema changelog…
Related MCP Connectors
Search Swiss parliamentary business, votes, debates, members, and declared interests.
Swiss federal law (Fedlex) and political data (LINDAS) for agents, every answer with sources
Search EU legislation, CJEU case law, and treaties; traverse CELLAR graph; browse EuroVoc concepts.
Temporal search and comparison for official Luxembourg and reviewed EU law, with provenance.
Related MCP Servers
- FlicenseNot gradedqualityDmaintenanceEnables querying Swiss federal legislation through live SPARQL and local SQLite-backed tools, including law search, full-text provisions, definitions, historical versions, citation graphs, and EU references across acts and ordinances.1-
- AlicenseAqualityCmaintenanceMCP server for Swiss federal legislation metadata via Fedlex, enabling search and retrieval of act details with ELI URIs, SR numbers, and multilingual support.325 PyPIApache 2.0
- AlicenseAqualityCmaintenanceEnables searching and retrieving Czech legal acts from the e-Sbirka database via SPARQL, including metadata and full consolidated text with verifiable citations.363 PyPI2Apache 2.0
- AlicenseNot gradedqualityAmaintenanceSearch EU legislation, CJEU case law, and treaties; traverse the CELLAR relationship graph; resolve EuroVoc concepts via MCP.579 npm13Apache 2.0
Glama MCP Gateway
Add one secure layer between your agents and this server.