Skip to content

Fedlex Connector

by fedlex-connector.ch · remote · no sign-in to list tools · v1.0.0 · published by ch.fedlex-connector

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

Read only

4 tools: 4 only read.

Scanned Oct 21, 2026

No check matched anything in the tool definitions. No finding is not a safety guarantee. How the checks work.

claude mcp add --transport http fedlex-connector https://mcp.fedlex-connector.ch/

Tools

Open a tool for its reasons and full description. Descriptions are the publisher's own words, shown as they are.

4 tools

Only reads 4Claude Code: allow
  • get_articleRetrieve a single article when you already know the EXACT article number (e.g.No findings

    Why it is in this group

    • The name "get_article" says "get": a word for reading.
    Description, as the server wrote it
    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_textRetrieve the official consolidated text of a Swiss federal act (or a specific title/chapter) directly from Fedlex (fedlex.admin.ch).No findings

    Why it is in this group

    • The name "get_law_text" says "get": a word for reading.
    Description, as the server wrote it
    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.
  • list_amendmentsList consolidation version dates for a Swiss federal act.No findings

    Why it is in this group

    • The name "list_amendments" says "list": a word for reading.
    Description, as the server wrote it
    List consolidation version dates for a Swiss federal act. Returns the dates each consolidated version took effect.
  • search_by_titleSearch Swiss federal legislation titles in the Classified Compilation (RS/SR) on Fedlex.No findings

    Why it is in this group

    • The name "search_by_title" says "search": a word for reading.
    Description, as the server wrote it
    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.

This is not a safety rating, and no finding is not a safety guarantee. The groups and findings come from fixed checks of the tool definitions the server returned on the date shown, not from its code or what it does when called. How the checks work.

Install

Pinned to version 1.0.0. Values in angle brackets are yours to fill in.

claude mcp add --transport http fedlex-connector https://mcp.fedlex-connector.ch/

Run in a terminal.

Claude Code permissions

Allow the reads, ask before a change, deny the deletes. Paste into .claude/settings.json.

.claude/settings.json
{
  "permissions": {
    "allow": [
      "mcp__fedlex-connector__search_by_title",
      "mcp__fedlex-connector__get_article",
      "mcp__fedlex-connector__get_law_text",
      "mcp__fedlex-connector__list_amendments"
    ],
    "ask": [],
    "deny": []
  }
}

Tools that only read are allowed, tools that change things ask first, tools that delete or cancel are denied. It assumes the server is installed as fedlex-connector. Review it before you use it.