protogrid

Search / ch.fedlex-connector/fedlex-connector

Fedlex Connector

R0· no sign-in

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

v1.0.0 · active · repository · website · descriptor JSON · versions

An agent can connect right now, no human step.Remote endpoint, no authentication, reachable on the last probe.
Quality79good
Trust85of 100
Uptime, 30 days100%
Latency p50408 ms

Connect

8 clients · secrets stay placeholders
{
  "mcpServers": {
    "fedlex-connector": {
      "type": "http",
      "url": "https://mcp.fedlex-connector.ch/"
    }
  }
}
claude mcp add --transport http fedlex-connector https://mcp.fedlex-connector.ch/
[mcp_servers.fedlex-connector]
url = "https://mcp.fedlex-connector.ch/"
{
  "$schema": "https://opencode.ai/config.json",
  "mcp": {
    "fedlex-connector": {
      "type": "remote",
      "url": "https://mcp.fedlex-connector.ch/",
      "enabled": true
    }
  }
}
{
  "mcpServers": {
    "fedlex-connector": {
      "type": "http",
      "url": "https://mcp.fedlex-connector.ch/"
    }
  },
  "deeplink": "cursor://anysphere.cursor-deeplink/mcp/install?name=fedlex-connector&config=eyJ0eXBlIjoiaHR0cCIsInVybCI6Imh0dHBzOi8vbWNwLmZlZGxleC1jb25uZWN0b3IuY2gvIn0%3D"
}
{
  "servers": {
    "fedlex-connector": {
      "type": "http",
      "url": "https://mcp.fedlex-connector.ch/"
    }
  }
}
{
  "mcpServers": {
    "fedlex-connector": {
      "httpUrl": "https://mcp.fedlex-connector.ch/"
    }
  }
}
extensions:
  "fedlex-connector":
    enabled: true
    name: "fedlex-connector"
    type: streamable_http
    uri: "https://mcp.fedlex-connector.ch/"
    timeout: 300

Quality 79 / 100good

protocol75 · weight 25
  • warn
    protocol.modernnewest supported version is 2025-11-25; 2026-07-28 not supported, older versions are deprecated until 2027-07-28
  • n/a
    protocol.statelessonly applies to 2026-07-28 servers
  • pass
    protocol.transportstreamable HTTP
  • n/a
    protocol.list_ttlonly applies to 2026-07-28 servers
authorizationn/a · weight 15
  • n/a
    auth.prm, auth.as_metadata, auth.cimdno remote uses OAuth
  • n/a
    auth.secret_in_urlno templated URL
tool hygiene71 · weight 30
  • pass
    tools.descriptionsevery tool has a description
  • pass
    tools.description_lengthdescriptions are concise
  • pass
    tools.schemasevery tool has an object input schema
  • fail
    tools.annotationsno tool declares readOnlyHint or destructiveHint, so clients cannot tell safe calls from risky ones
  • fail
    tools.directory_hintsno tool declares all four of readOnlyHint, destructiveHint, idempotentHint and openWorldHint; missing: get_law_text (readOnlyHint, destructiveHint, idempotentHint, openWorldHint); get_article (readOnlyHint, destructiveHint, idempotentHint, openWorldHint); list_amendments (readOnlyHint, destructiveHint, idempotentHint, openWorldHint); …
  • pass
    tools.token_costabout 676 tokens to load every tool
  • pass
    tools.api_dumptools are not a one-to-one API dump
stability100 · weight 15
  • pass
    stability.changesno tool changes in 30 days
  • pass
    stability.rug_pullno tool changed its meaning under the same name
dependenciesn/a · weight 15
  • n/a
    deps.known_vulns, deps.mcp_sdk_version, deps.resolvableno npm or PyPI package

4 tools, about 676 tokens to load them all · tool set d788a3383c97 · checked 2026-10-20 22:23 UTC

Tool changes

No tool definition changes recorded. A server's first observation is its baseline; later probes record what changes.

Checks run on what our credential-free, read-only probes observe; tools are never called and no code audit is performed. How it is computed.

Trust 85 / 100

provenance85
liveness100
freshness45
hygiene100

+repository +dns-namespace +website +reachable +uptime-100% -stale-194d

Derived from observable signals (official registry feed and our own credential-free probes); no code audit performed. How it is computed.

Endpoints

remoteauthreachableuptime 30dp50protocollast ok
https://mcp.fedlex-connector.ch/ streamable-httpnoneyes100%408 ms2025-11-252026-10-20

Tools (4)

get_articleRetrieve 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). 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. Returns the dates each consolidated version took effect.
search_by_titleSearch 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.

Schemas: list_tools.

Similar MCP servers

Official server.json
{
  "name": "ch.fedlex-connector/fedlex-connector",
  "title": "Fedlex Connector",
  "$schema": "https://static.modelcontextprotocol.io/schemas/2025-12-11/server.schema.json",
  "remotes": [
    {
      "url": "https://mcp.fedlex-connector.ch/",
      "type": "streamable-http"
    }
  ],
  "version": "1.0.0",
  "repository": {
    "url": "https://github.com/JayTheSkier/fedlex-connector",
    "source": "github"
  },
  "websiteUrl": "https://fedlex-connector.ch",
  "description": "Search Swiss federal legislation: laws, articles, amendments via the Fedlex SPARQL endpoint."
}