# Fedlex Connector

> Fedlex Connector is an MCP server. Search Swiss federal legislation: laws, articles, amendments via the Fedlex SPARQL endpoint. It runs as a hosted remote server, so there is nothing to install locally.

- **Kind:** MCP server
- **Website:** https://fedlex-connector.ch
- **Repository:** https://github.com/jaytheskier/fedlex-connector
- **MCP Registry name:** ch.fedlex-connector/fedlex-connector
- **Listing updated:** 2026-11-13

## About

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

## Install

### Claude Code (Terminal)

```sh
claude mcp add --transport http fedlex-connector https://mcp.fedlex-connector.ch/
```

### Claude Desktop (Settings → Connectors → Add custom connector)

```sh
https://mcp.fedlex-connector.ch/
```

### Cursor (~/.cursor/mcp.json)

```json
{
  "mcpServers": {
    "fedlex-connector": {
      "url": "https://mcp.fedlex-connector.ch/"
    }
  }
}
```

### VS Code (.vscode/mcp.json)

```json
{
  "servers": {
    "fedlex-connector": {
      "type": "http",
      "url": "https://mcp.fedlex-connector.ch/"
    }
  }
}
```

### Windsurf (~/.codeium/windsurf/mcp_config.json)

```json
{
  "mcpServers": {
    "fedlex-connector": {
      "serverUrl": "https://mcp.fedlex-connector.ch/"
    }
  }
}
```

### Other clients (your client's MCP settings (most use this shape))

```json
{
  "mcpServers": {
    "fedlex-connector": {
      "type": "http",
      "url": "https://mcp.fedlex-connector.ch/"
    }
  }
}
```

## FAQ

### How do I add Fedlex Connector to Claude Code?

Run this command in your terminal: claude mcp add --transport http fedlex-connector https://mcp.fedlex-connector.ch/

## Where this comes from

- Description: from the official MCP Registry entry.
- Install steps: from the official MCP Registry entry.

---
Source: https://ai-powered.com/mcp/fedlex-connector
