NestDaddy

Légifrance (unofficial)

io.github.muchiny/mcp-legifrance · v1.1.0

Unofficial MCP server for French law via the Légifrance API (PISTE): search, read and cite texts.

Connect Runs on your machine

Terminal
claude mcp add mcp-legifrance -e LF_PISTE_CLIENT_ID=<LF_PISTE_CLIENT_ID> -e LF_PISTE_CLIENT_SECRET=<LF_PISTE_CLIENT_SECRET> -e LF_PISTE_ENV=<LF_PISTE_ENV> -- https://github.com/muchiny/mcp-legifrance/releases/download/v1.1.0/mcp-legifrance-1.1.0.mcpb
claude_desktop_config.json
{
  "mcpServers": {
    "mcp-legifrance": {
      "command": "https://github.com/muchiny/mcp-legifrance/releases/download/v1.1.0/mcp-legifrance-1.1.0.mcpb",
      "args": [],
      "env": {
        "LF_PISTE_CLIENT_ID": "<LF_PISTE_CLIENT_ID>",
        "LF_PISTE_CLIENT_SECRET": "<LF_PISTE_CLIENT_SECRET>",
        "LF_PISTE_ENV": "<LF_PISTE_ENV>"
      }
    }
  }
}
~/.cursor/mcp.json
{
  "mcpServers": {
    "mcp-legifrance": {
      "command": "https://github.com/muchiny/mcp-legifrance/releases/download/v1.1.0/mcp-legifrance-1.1.0.mcpb",
      "args": [],
      "env": {
        "LF_PISTE_CLIENT_ID": "<LF_PISTE_CLIENT_ID>",
        "LF_PISTE_CLIENT_SECRET": "<LF_PISTE_CLIENT_SECRET>",
        "LF_PISTE_ENV": "<LF_PISTE_ENV>"
      }
    }
  }
}
.vscode/mcp.json
{
  "servers": {
    "mcp-legifrance": {
      "type": "stdio",
      "command": "https://github.com/muchiny/mcp-legifrance/releases/download/v1.1.0/mcp-legifrance-1.1.0.mcpb",
      "args": [],
      "env": {
        "LF_PISTE_CLIENT_ID": "<LF_PISTE_CLIENT_ID>",
        "LF_PISTE_CLIENT_SECRET": "<LF_PISTE_CLIENT_SECRET>",
        "LF_PISTE_ENV": "<LF_PISTE_ENV>"
      }
    }
  }
}

Replace the values in angle brackets with your own. Keys stay on your machine; we never see them.

Tools

This server runs locally, so its tools are listed by your MCP client once it starts.

Environment variables

NameDescription
LF_PISTE_CLIENT_ID
Required, secret
OAuth client ID of your own Légifrance application on piste.gouv.fr. Never share it.
LF_PISTE_CLIENT_SECRET
Required, secret
OAuth client secret of the same PISTE application.
LF_PISTE_ENV
Optional
PISTE environment; credentials are environment-specific.

Details

Packagehttps://github.com/muchiny/mcp-legifrance/releases/download/v1.1.0/[email protected] (MCPB, stdio)
Packageghcr.io/muchiny/mcp-legifrance:1.1.0 (OCI, stdio)
First published2 Nov 2026
Last updated2 Nov 2026
Registry nameio.github.muchiny/mcp-legifrance

More search and web servers See all

Listing data from the official MCP registry. Status and tools from NestDaddy's daily check. Browse all MCP servers.