Skip to main content

Légifrance (unofficial)

io.github.muchiny/mcp-legifrance

v1.5.0Updated Nov 26, 2026stdio · MCPBstdio · Docker

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

Install

Needs 2 secrets. Replace 2 placeholders with your own values.

Run in your terminal. Replace 2 placeholders.

claude mcp add mcp-legifrance -e 'LF_PISTE_CLIENT_ID=<your-lf-piste-client-id>' -e 'LF_PISTE_CLIENT_SECRET=<your-lf-piste-client-secret>' -e LF_PISTE_ENV=sandbox -- docker run -i --rm -e LF_PISTE_CLIENT_ID -e LF_PISTE_CLIENT_SECRET -e LF_PISTE_ENV ghcr.io/muchiny/mcp-legifrance:1.5.0

Configuration

3 settings, 2 required secrets. Snippets use placeholders; keep real values out of shared config.

  • LF_PISTE_CLIENT_ID
    Env var· required· secret
    OAuth client ID of your own Légifrance application on piste.gouv.fr. Never share it.
  • LF_PISTE_CLIENT_SECRET
    Env var· required· secret
    OAuth client secret of the same PISTE application.
  • LF_PISTE_ENV
    Env var· optional
    PISTE environment; credentials are environment-specific.Default: sandbox

Listed in the official MCP Registry since Nov 26, 2026. Mirrored daily; last checked Nov 26, 2026.