Search / ch.fedlex-connector/fedlex-connector
Fedlex Connector
R0· no sign-inSearch Swiss federal legislation: laws, articles, amendments via the Fedlex SPARQL endpoint.
v1.0.0 · active · repository · website · descriptor JSON · versions
Search / ch.fedlex-connector/fedlex-connector
R0· no sign-inSearch Swiss federal legislation: laws, articles, amendments via the Fedlex SPARQL endpoint.
v1.0.0 · active · repository · website · descriptor JSON · versions
{
"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
protocol.modernnewest supported version is 2025-11-25; 2026-07-28 not supported, older versions are deprecated until 2027-07-28protocol.statelessonly applies to 2026-07-28 serversprotocol.transportstreamable HTTPprotocol.list_ttlonly applies to 2026-07-28 serversauth.prm, auth.as_metadata, auth.cimdno remote uses OAuthauth.secret_in_urlno templated URLtools.descriptionsevery tool has a descriptiontools.description_lengthdescriptions are concisetools.schemasevery tool has an object input schematools.annotationsno tool declares readOnlyHint or destructiveHint, so clients cannot tell safe calls from risky onestools.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); …tools.token_costabout 676 tokens to load every tooltools.api_dumptools are not a one-to-one API dumpstability.changesno tool changes in 30 daysstability.rug_pullno tool changed its meaning under the same namedeps.known_vulns, deps.mcp_sdk_version, deps.resolvableno npm or PyPI packageNo 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.
+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.
| remote | auth | reachable | uptime 30d | p50 | protocol | last ok |
|---|---|---|---|---|---|---|
https://mcp.fedlex-connector.ch/ streamable-http | none | yes | 100% | 408 ms | 2025-11-25 | 2026-10-20 |
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. |
Schemas: list_tools.
{
"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."
}