Fedlex Mcp

devops-infra MCP Server

MCP server for Swiss federal law (Fedlex) — search the SR, monitor legal changes, and query BBl/treaties via Claude Desktop or Claude.ai

VerifiedInstall Ready
devops-infradevops-infra
5 views2 stars2 forksMIT

Why This Matters

Discovered via github-topic:mcp and last synced 3mo ago.

VerifiedInstall Ready
Source
github-topic:mcp
Stars
2
Last synced
3mo ago
Install
Instructions detected

Install

1. Install the package

uvx fedlex-mcp

2. Add to claude_desktop_config.json

{
  "mcpServers": {
    "fedlex-mcp": {
      "command": "npx",
      "args": [
        "fedlex-mcp"
      ]
    }
  }
}

Config file location: ~/Library/Application Support/Claude/claude_desktop_config.json (macOS) / %APPDATA%\Claude\claude_desktop_config.json (Windows)

16
Tools
0
Resources
0
Prompts
Standard I/O
Transport

Available Tools (16)

fedlex_get_law_by_sr

Get a law by its SR number (e.g. `235.1` = Data Protection Act)

Code

Language

fedlex_get_law_history

All versions of a law (version history)

rm

Romansh

fedlex_search_treaties

→ More use cases by audience → --- ## Architecture ``` +-------------------+ +------------------------------+ +--------------------------+

Phase

Scope

Query

Tool

fedlex_get_recent_publications

Latest publications from the Official Compilation (AS)

de

German (default, most complete coverage)

fedlex_get_upcoming_changes

Laws entering into force soon (legal monitoring)

fr

French

fedlex_search_gazette

Search the Federal Gazette (BBl)

it

Italian

Tool

Description

fedlex_search_laws

Search the Systematic Compilation (SR) by keyword in title

Stdio

SSE