# France Legi

> France Legi is an open-source MCP server. France LEGI — the official consolidated French codes (Code civil, Code pénal, Code du travail…. It can run locally on your machine or as a hosted remote server.

- **Kind:** MCP server
- **Pricing:** Open source
- **Website:** https://pipeworx.io/packs/france-legi
- **Repository:** https://github.com/pipeworx-io/mcp-france-legi
- **MCP Registry name:** io.github.pipeworx-io/france-legi
- **Listing updated:** 2026-11-13

## About

France LEGI — the official consolidated French codes (Code civil, Code pénal, Code du travail…

## Install

### Claude Code (Terminal)

```sh
claude mcp add --transport http france-legi https://gateway.pipeworx.io/france-legi/mcp
```

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

```sh
https://gateway.pipeworx.io/france-legi/mcp
```

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

```json
{
  "mcpServers": {
    "france-legi": {
      "url": "https://gateway.pipeworx.io/france-legi/mcp"
    }
  }
}
```

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

```json
{
  "servers": {
    "france-legi": {
      "type": "http",
      "url": "https://gateway.pipeworx.io/france-legi/mcp"
    }
  }
}
```

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

```json
{
  "mcpServers": {
    "france-legi": {
      "serverUrl": "https://gateway.pipeworx.io/france-legi/mcp"
    }
  }
}
```

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

```json
{
  "mcpServers": {
    "france-legi": {
      "type": "http",
      "url": "https://gateway.pipeworx.io/france-legi/mcp"
    }
  }
}
```

## FAQ

### Is France Legi free?

Yes. France Legi is open source, so you can use and self-host it for free.

### How do I add France Legi to Claude Code?

Run this command in your terminal: claude mcp add --transport http france-legi https://gateway.pipeworx.io/france-legi/mcp

---
Source: https://ai-powered.com/mcp/france-legi
