Prototipo · Versión preliminar: todos los servidores del registro oficial, sincronizados cada 30 minutos. Las reseñas y las cuentas llegarán en una etapa posterior.
PopNx MCPServidores MCP para quienes usan IA · explicados con palabras sencillas

Fedlex MCP

de malkreideversión 2.1.0i★ –iSe ejecuta en tu computadora
Nombre en el registroio.github.malkreide/fedlex-mcp

Instalar

Resumen

Descripción del creador (original en inglés)

Swiss federal law, consultations (Fedlex) & TERMDAT terminology (LINDAS) via SPARQL

Los tres pilares de PopNx MCP

Estos tres nunca se combinan en una sola puntuación: las opiniones, las mediciones y la popularidad son cosas distintas.

Qué puedes hacer con él

Todavía no escribimos un resumen sencillo para este. Abajo están los datos que leímos del registro.

  • Conexión: Se ejecuta en tu computadora
  • Transporte: stdio
  • Categoría: Derecho y datos públicos

Instalación

Elige la app de IA que usas y copia la configuración.

Antes de instalar

Necesitas

  • PyPIuv de Python instalado (para el comando uvx)

¿Qué app usas?

Elige tu app arriba. La recordamos, así que la próxima vez el botón dirá “Instalar en …”.

Abre Claude Desktop → Settings → Developer → Edit Config y pega esto en claude_desktop_config.json

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

Ejecuta esto en tu terminal

claude mcp add fedlex -- uvx fedlex-mcp

Abrir en Cursor

O copia la configuración tú

Pégalo en .cursor/mcp.json de tu proyecto, o en ~/.cursor/mcp.json

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

Tu navegador te pide permiso para abrir la app; luego la app muestra la configuración y te pide confirmar. Los valores de las claves quedan vacíos para que los completes tú.

Abrir en VS Code

O copia la configuración tú

Pégalo en .vscode/mcp.json de tu proyecto

{
  "servers": {
    "fedlex": {
      "type": "stdio",
      "command": "uvx",
      "args": [
        "fedlex-mcp"
      ]
    }
  }
}

Tu navegador te pide permiso para abrir la app; luego la app muestra la configuración y te pide confirmar. Los valores de las claves quedan vacíos para que los completes tú.

Este se ejecuta en tu computadora, y ChatGPT solo puede conectarse a servidores en internet. Elige otra app.

Tu elección se guarda en una cookie en este dispositivo; no necesitas cuenta.

Esta configuración se genera a partir de la ficha del creador en el registro. Si el README dice otra cosa, sigue el README.

Qué puede hacer

Se ejecuta en tu computadora; la lista de herramientas aparece en tu app de IA después de instalarlo.

Revisiones básicasi

Revisamos información que cualquiera puede ver; no hemos leído el código. Las revisiones que no aplican no se cuentan. · Revisado el 7 nov 2026

  • ✓ Superada

    El creador coincide con el repo

    El nombre en el registro se verificó con la cuenta de GitHub malkreide, dueña del repo

  • … Aún sin revisar

    Sigue en mantenimiento

    Todavía no hemos leído este repo en GitHub

  • … Aún sin revisar

    Tiene licencia

    Todavía no hemos leído este repo en GitHub

  • – No aplica

    El endpoint responde

    Este se ejecuta en tu computadora; no hay endpoint en internet

  • – No aplica

    Inicio de sesión con OAuth

    Se ejecuta en tu computadora y usa ajustes locales en su lugar

  • … Aún sin revisar

    Sin instrucciones ocultas en las descripciones de herramientas

    Se ejecuta en tu computadora; solo podemos leer listas de herramientas de endpoints en internet

Comparado con otros en Derecho y datos públicosi

  • Más estrellas que el 0% de los otros 1731 servidores de esta categoría
  • Publicado en el registro más recientemente que el 45% de los otros 1731 servidores de esta categoría
  • Revisiones básicas iguales o mejores que el 100% de los otros 1731 servidores de esta categoría

Comparado con todos los servidores activos de esta categoría en el registro. Las estrellas solo cuentan cuando quien lo publica es dueño del repo.

Preguntas frecuentes

¿Es seguro Fedlex MCP?

Superó 1 de 1 revisiones básicas aplicables. No hemos leído el código. Antes de agregar una clave o un token, revisa qué acceso pide el servidor y usa una clave que tenga solo los permisos que necesitas.

¿Qué claves o códigos necesita?

El registro no indica ninguna clave obligatoria, aunque algunos servidores te piden iniciar sesión la primera vez que los usas.

¿Se ejecuta en mi computadora o en la nube?

Se ejecuta en tu computadora. Tu app de IA lo inicia cuando hace falta, y los datos no pasan por los servidores del creador (a menos que el propio servidor llame a un servicio en línea).

¿Sigue en mantenimiento?

El repo de GitHub cambió por última vez –, y la última versión (2.1.0) llegó al registro hace 41 días.

¿Qué apps pueden usarlo?

Las apps compatibles con MCP, como Claude Desktop, Claude Code, Cursor y VS Code. También necesitas Python (uv) en tu computadora.

¿Qué puedo usar en su lugar?

En la misma categoría: Agentum Entity Resolver, Contract Compass, Agent Data Tools: Company, compliance and checks

Alternativas

Servidores de la misma categoría hechos por otros creadores, ordenados por estrellas.

Cómo leer una tarjeta:★ Estrellas de GitHubiTres pilares: reseñas · revisiones · usoiActualizado = fecha en que se publicó la última versión en el registroi

Company registry, VAT, sanctions, vendor KYB, IBAN and wallet checks; pay per call by x402 or card.

Se ejecuta en la nubeActualizado hoy
Instalar

Contract Compass

de sallim-app

Korean public procurement law: rule-engine rulings, statutes search, live court precedents

Se ejecuta en la nubeActualizado hoy
Instalar

README del creador

Abrir el README

Copiado tal cual del repo del creador. PopNx MCP no lo ha revisado ni lo respalda. Se quitaron HTML, imágenes y scripts. Los enlaces llevan fuera de este sitio.

:switzerland: Part of the [Swiss Public Data MCP Portfolio](https://github.com/malkreide)

:balance_scale: fedlex-mcp

MCP Server for Swiss federal law, consultations & official terminology — search the SR, monitor consultation deadlines, and translate terms across the national languages via Claude Desktop or Claude.ai

:de: Deutsche Version


Overview

fedlex-mcp connects AI assistants (Claude) with three official Swiss SPARQL data sources:

  1. Federal law via the Fedlex SPARQL endpoint — the Systematic Compilation (SR), Official Compilation (AS), Federal Gazette (BBl) and treaties.
  2. Consultations (Vernehmlassungen) via the *same* Fedlex endpoint (jolux:Consultation) — the pre-parliamentary phase in which anyone can comment on a draft.
  3. TERMDAT, the Federal Chancellery's terminology database, via the LINDAS SPARQL endpoint — official term equivalents across de/fr/it/rm/en.

All three are SPARQL-based, which is exactly why they live in one server rather than three: no new technology stack, only new queries against known patterns.

Metaphor: USB-C for federal law. *Fedlex tells you what you have to respond to. TERMDAT tells you what it is called in the other national languages.*


Features

  • :balance_scale: 12 tools, 2 resources across federal law, consultations and terminology
  • :mag: SPARQL-powered — two isolated endpoints (Fedlex + LINDAS), no shared failure mode
  • :globe_with_meridians: 5 languages — German, French, Italian, Romansh, plus English for terminology
  • :unlock: No API key required — all data under open reuse licences
  • :cloud: Dual transport — stdio (Claude Desktop) + Streamable HTTP (cloud)

Anchor demo query

*"Which education-related consultations are currently open, until when does the deadline run, which office is in charge — and what are the key technical terms in French and Italian for the response?"*

A single conversation chains three tools across two endpoints:

fedlex_get_open_consultations(topic="education")

→ fedlex_get_consultation(event_id="proj/2026/71/cons_1") → termdat_lookup_term(term="Volksschule", target_languages=["fr","it"])

Every open consultation carries deadline, days_remaining (computed at request time in Europe/Zurich, 0 = deadline is today) and a derived status — an expired consultation never shows up as running. Fedlex says *what* you must respond to and *by when*; TERMDAT says *how to name it* in the other national languages.

Use `topic="education"`, not `keyword="Volksschule"`. Fedlex consultations

have no subject taxonomy — filtering is free-text over the title, and the word

"Volksschule" appears in zero consultation titles. The topic filter

expands to a disclosed keyword union (Bildung, Schule, Berufsbildung,

Hochschule, …) and reports exactly which terms it searched.


Prerequisites

  • Python 3.11+
  • uv (recommended) or pip

Installation

Run via uv's uvx — no clone or manual install needed. Add to your MCP client config (mcpServers for Claude Desktop, Cursor and Windsurf; use a top-level servers key for VS Code in .vscode/mcp.json):

{

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

<!-- END GENERATED: install -->

Installation from source

# Clone the repository

git clone https://github.com/malkreide/fedlex-mcp.git cd fedlex-mcp

Install

pip install -e .

or with uv:

uv pip install -e .

Or with uvx (no permanent installation):

uvx fedlex-mcp

Quickstart

# stdio (for Claude Desktop)

python -m fedlex_mcp.server

Streamable HTTP (port 8000)

python -m fedlex_mcp.server --http --port 8000

Try it immediately in Claude Desktop:

*"Show me all valid federal laws on vocational training"*

*"What does the Data Protection Act say? Is it still in force?"*

*"Which consultations on education are open right now, and until when?"*

*"What is 'Volksschule' called in French and Italian in official terminology?"*


Configuration

Claude Desktop

Edit ~/Library/Application Support/Claude/claude_desktop_config.json (macOS) or %APPDATA%\Claude\claude_desktop_config.json (Windows):

{

"mcpServers": { "fedlex": { "command": "python", "args": ["-m", "fedlex_mcp.server"] } } }

Or with uvx:

{

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

Config file locations:

  • macOS: ~/Library/Application Support/Claude/claude_desktop_config.json
  • Windows: %APPDATA%\Claude\claude_desktop_config.json
Cloud Deployment (SSE for browser access)

For use via claude.ai in the browser (e.g. on managed workstations without local software):

Render.com (recommended):

  1. Push/fork the repository to GitHub
  2. On render.com: New Web Service -> connect GitHub repo
  3. Set start command: python -m fedlex_mcp.server --http --port 8000
  4. In claude.ai under Settings -> MCP Servers, add: https://your-app.onrender.com/sse

*"stdio for the developer laptop, SSE for the browser."*


Demo


Available Tools

#ToolSourceDescription
1fedlex_search_lawsFedlexSearch the Systematic Compilation (SR) by keyword in title
2fedlex_get_law_by_srFedlexGet a law by its SR number (e.g. 235.1 = Data Protection Act)
3fedlex_get_recent_publicationsFedlexLatest publications from the Official Compilation (AS)
4fedlex_get_upcoming_changesFedlexLaws entering into force soon (legal monitoring)
5fedlex_search_gazetteFedlexSearch the Federal Gazette (BBl)
6fedlex_get_law_historyFedlexAll versions of a law (version history)
7fedlex_search_treatiesFedlexInternational treaties (SR numbers starting with 0.)
8fedlex_get_open_consultationsFedlexDeadline monitoring — open consultations (eventEndDate >= today, Europe/Zurich); each with days_remaining + derived status, sorted by shortest deadline; optional topic/keyword
9fedlex_search_consultationsFedlexFull-text search over consultation title/description, with filters (topic, status, deadline range, office)
10fedlex_get_consultationFedlexDetail for one eventId: deadline, days_remaining, office, derived status, documents
11termdat_lookup_termLINDASTerm → equivalents in de/fr/it/rm/en incl. definition
12termdat_get_conceptLINDASFull TERMDAT entry for a URI or ID
Example Use Cases
QueryTool
*"Show me all valid federal laws on vocational training"*fedlex_search_laws
*"What does the Data Protection Act say?"*fedlex_get_law_by_sr
*"Which laws enter into force in the next 3 months?"*fedlex_get_upcoming_changes
*"Show me the version history of the DSG"*fedlex_get_law_history
*"Which consultations on education are open, and until when?"*fedlex_get_open_consultations
*"Find closed consultations about the language act"*fedlex_search_consultations
*"Give me the full detail and documents for consultation proj/2026/71/cons_1"*fedlex_get_consultation
*"What is 'Volksschule' called in French and Italian?"*termdat_lookup_term
*"Show the full TERMDAT entry 40109"*termdat_get_concept

→ More use cases by audience →


Architecture

Two isolated SPARQL endpoints behind one server. Separate httpx clients and timeouts mean a LINDAS outage never breaks the fedlex_* tools, and vice versa.

+-------------------+     +------------------------------+     +--------------------------+

| Claude / AI |---->| Fedlex MCP |---->| Fedlex SPARQL Endpoint | | (MCP Host) |<----| (MCP Server) |<----| fedlex.data.admin.ch | +-------------------+ | | | (law + consultations) | | 12 Tools . 2 Resources | +--------------------------+ | Stdio | SSE | | | +--------------------------+ | Isolated clients: |---->| LINDAS SPARQL Endpoint | | - Fedlex (law + cons.) |<----| lindas.admin.ch/query | | - LINDAS (TERMDAT) | | (fch/termdat, TERMDAT) | | | +--------------------------+ | No authentication required | +------------------------------+

Data Model

JOLux Ontology — federal law (Fedlex)

jolux:ConsolidationAbstract  <-  SR entry

+-- jolux:isRealizedBy -> jolux:Expression (URI ends in /de, /fr, /it, /rm) +-- jolux:title "Federal Act of 19 June 1992 on Data Protection" +-- jolux:titleShort "DSG" +-- jolux:historicalLegalId "235.1"

jolux:inForceStatus: .../0 In force · .../1 No longer published in SR · .../3 No longer in force

JOLux Ontology — consultations (Fedlex, same endpoint)

jolux:Consultation

+-- jolux:eventId "proj/2026/71/cons_1" +-- jolux:eventTitle multilingual (de/fr/it) +-- jolux:eventDescription multilingual +-- jolux:consultationStatus -> vocabulary URI (0..6, /2 = "Laufend"/running) +-- jolux:foreseenImpactToLegalResource -> the legal resource it will amend (link to SR) +-- jolux:hasSubTask -> ?t +-- jolux:eventStartDate <- opened_on +-- jolux:eventEndDate <- the deadline (xsd:date, calendar day) +-- jolux:institutionInChargeOfTheEvent <- lead department +-- jolux:institutionInChargeOfTheEventLevel2 <- lead office +-- jolux:opinionHasDraftRelatedDocument <- consultation documents

There is no subject taxonomy on jolux:Consultation — thematic filtering is free-text over eventTitle only, and status is derived from the deadline (not the source status field).

Legislative lifecycle — where consultations sit (all in this one server):

  Vernehmlassung            Bundesblatt (BBl)          Systematische Sammlung (SR)

(consultation) ─────► (dispatch / act text) ───► (consolidated law in force) ──────────────── ───────────────────── ─────────────────────────── fedlex_get_open_ fedlex_search_gazette fedlex_search_laws consultations (eli/fga/…) fedlex_get_law_by_sr fedlex_search_ fedlex_get_law_history consultations (eli/cc/…) fedlex_get_consultation │ jolux:foreseenImpactToLegalResource └───────────────────────────────────────────► links a consultation forward t

Solo se muestra el principio; lee el resto en el repo

Pregunta a PopNx