Unofficial MCP server for French law via the Légifrance API (PISTE): search, read and cite texts.
Connect Runs on your machine
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
{
"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>"
}
}
}
}
{
"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>"
}
}
}
}
{
"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
| Name | Description |
|---|---|
LF_PISTE_CLIENT_IDRequired, secret | OAuth client ID of your own Légifrance application on piste.gouv.fr. Never share it. |
LF_PISTE_CLIENT_SECRETRequired, secret | OAuth client secret of the same PISTE application. |
LF_PISTE_ENVOptional | PISTE environment; credentials are environment-specific. |
Details
| Package | https://github.com/muchiny/mcp-legifrance/releases/download/v1.1.0/[email protected] (MCPB, stdio) |
| Package | ghcr.io/muchiny/mcp-legifrance:1.1.0 (OCI, stdio) |
| First published | 2 Nov 2026 |
| Last updated | 2 Nov 2026 |
| Registry name | io.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.
