Skip to main content
Glama

Server Details

Search Swiss federal legislation: laws, articles, amendments via the Fedlex SPARQL endpoint.

If you are the author of this connector, you can claim ownership. Claimed connector authors can inspect health checks, view analytics, and manage their listing.
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

A4.2/5.0

Scored across 4 tools

Disambiguation5/5

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.

Naming Consistency5/5

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.

Tool Count5/5

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.

Completeness4/5

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 tools
get_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

    Related MCP Servers

    Try in Browser

    Glama MCP Gateway

    Add one secure layer between your agents and this server.