Skip to content
Agentmart
Submit a tool

Fedlex Connector

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

Connector by fedlex-connector.chOfficial · Domain verified by the MCP Registry

IndexedMITRemote (HTTP)★ 7
Write a review

Install

Works with Claude Code, VS Code, Cursor, Windsurf. Read the repository before you give any tool access to your data.

npx agentmarket install connector/fedlex-connector-ch-fedlex-connector

Asks which of your tools to add it to (Claude Code, Codex, Cursor, VS Code, Windsurf, Gemini CLI, Claude Desktop) and shows the change first. See https://agentmart.dev/cli.

Remote endpoint

  • https://mcp.fedlex-connector.ch/ Remote (HTTP)

Get the weekly diff

The weekly diff: one email a week with new agent tools, notable updates and grade changes, plus security alerts for tools you follow. Double opt-in, one-click unsubscribe.

We use your email only for this newsletter. Privacy

About

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

No reviews yet. Installed it? Reviews come from verified installers only. How reviews work

Permissions

What this server can do and what it asks for, from its tool list and install config. Checked Oct 25, 2026.

Tools
4 read · 0 write · 0 deleteRead-only
Secrets
None asked for
Install scripts
Nothing to install (hosted)
Runs as
Hosted (remote endpoint)

Tools by what they do 4

From the running server's own tool list (tools/list) on Oct 25, 2026.

Read 4 · Look things up without changing anything.

  • get_article
  • get_law_text
  • list_amendments
  • search_by_title

Network hosts it talks to 1

  • mcp.fedlex-connector.ch · found in remote endpoint, install command

Tools (4)

As the server listed them on Oct 25, 2026. Descriptions are the server’s own words; hidden characters are shown as [U+…].

  • 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.

  • 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.

  • list_amendments

    List consolidation version dates for a Swiss federal act. Returns the dates each consolidated version took effect.

  • 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.

Compare and alternatives

    Featured in

    Signals

    Stars
    7
    Forks
    3
    Open issues
    0
    Last commit
    Oct 7, 2026 (21 days ago)
    Last release
    Apr 9, 2026 (6 months ago)

    From GitHub (fetched Oct 24, 2026).

    Details

    Registry name
    ch.fedlex-connector/fedlex-connector
    Version
    1.0.0
    Auth
    Auth not stated
    License
    MIT
    First seen
    Oct 24, 2026
    Last checked
    Oct 24, 2026
    Cite this page

    Fedlex Connector MCP server. Agent Mart. https://agentmart.dev/connectors/fedlex-connector-ch-fedlex-connector (last updated 2026-10-24)