Koskamo

Légifrance MCP

An unofficial MCP server written in Rust that allows agents to query official French law via the Légifrance PISTE API. It supports searching, reading texts, verifying citations, resolving citations to official identifiers, and accessing historical versions of laws. It also reads the Official Bulletin of Public Finances (BOFiP) without requiring an account.

Package and access

Local package with source-attributed installation metadata. Koskamo does not execute packages during review.

Légifrance MCP logo, by muchinyCommunity listingLocal stdioSource reviewed; not executedPublished by muchiny
Vendor documentation

What you can do with it

  • Search for and read official French laws, codes, and case law
  • Verify citations in a draft document against Légifrance
  • Resolve written citations to official identifiers with confidence levels
  • Read legal texts as they were in force on a specific date

Source and maintenance

Community listingRegistry 1.4.0
Maintenance checked

Packages and installation

Source-provided package data. Koskamo has not executed or live-probed this package.

ghcr.io/muchiny/mcp-legifrance:1.4.0

oci
ghcr.io/muchiny/mcp-legifrance:1.4.0 package definition
{
  "transport": "stdio",
  "identifier": "ghcr.io/muchiny/mcp-legifrance:1.4.0",
  "registryType": "oci",
  "environmentVariables": [
    {
      "name": "LF_PISTE_CLIENT_ID",
      "isRequired": true,
      "description": "OAuth client ID of your own Légifrance application on piste.gouv.fr. Never share it."
    },
    {
      "name": "LF_PISTE_CLIENT_SECRET",
      "isRequired": true,
      "description": "OAuth client secret of the same PISTE application."
    },
    {
      "name": "LF_PISTE_ENV",
      "choices": [
        "sandbox",
        "production"
      ],
      "default": "sandbox",
      "description": "PISTE environment; credentials are environment-specific."
    }
  ]
}

Tools

Reported by the attributed source; not independently observed by Koskamo.

No tool definitions available.

Connect from your client

Each snippet configures the same source-provided package; replace placeholders before use.

This server is operated by the named third party. Listing and endpoint checks are not an endorsement or a security audit. Review the operator's permissions, terms, and data handling before connecting. How listings are checked and corrected.

Cursor

Merge this local stdio configuration, replace every placeholder environment value, and restart Cursor. Koskamo has not executed this package.
Cursor configuration
{
  "mcpServers": {
    "le-gifrance-mcp-1-4-0": {
      "command": "docker",
      "args": [
        "run",
        "-i",
        "--rm",
        "-e",
        "LF_PISTE_CLIENT_ID=<YOUR_LF_PISTE_CLIENT_ID>",
        "-e",
        "LF_PISTE_CLIENT_SECRET=<YOUR_LF_PISTE_CLIENT_SECRET>",
        "-e",
        "LF_PISTE_ENV=<YOUR_LF_PISTE_ENV>",
        "ghcr.io/muchiny/mcp-legifrance:1.4.0"
      ],
      "env": {
        "LF_PISTE_CLIENT_ID": "<YOUR_LF_PISTE_CLIENT_ID>",
        "LF_PISTE_CLIENT_SECRET": "<YOUR_LF_PISTE_CLIENT_SECRET>",
        "LF_PISTE_ENV": "<YOUR_LF_PISTE_ENV>"
      }
    }
  }
}

Cline

Merge this local stdio configuration, replace every placeholder environment value, and restart Cline. Koskamo has not executed this package.
Cline configuration
{
  "mcpServers": {
    "le-gifrance-mcp-1-4-0": {
      "command": "docker",
      "args": [
        "run",
        "-i",
        "--rm",
        "-e",
        "LF_PISTE_CLIENT_ID=<YOUR_LF_PISTE_CLIENT_ID>",
        "-e",
        "LF_PISTE_CLIENT_SECRET=<YOUR_LF_PISTE_CLIENT_SECRET>",
        "-e",
        "LF_PISTE_ENV=<YOUR_LF_PISTE_ENV>",
        "ghcr.io/muchiny/mcp-legifrance:1.4.0"
      ],
      "env": {
        "LF_PISTE_CLIENT_ID": "<YOUR_LF_PISTE_CLIENT_ID>",
        "LF_PISTE_CLIENT_SECRET": "<YOUR_LF_PISTE_CLIENT_SECRET>",
        "LF_PISTE_ENV": "<YOUR_LF_PISTE_ENV>"
      }
    }
  }
}

VS Code

Merge this local stdio configuration, replace every placeholder environment value, and restart VS Code. Koskamo has not executed this package.
VS Code configuration
{
  "servers": {
    "le-gifrance-mcp-1-4-0": {
      "type": "stdio",
      "command": "docker",
      "args": [
        "run",
        "-i",
        "--rm",
        "-e",
        "LF_PISTE_CLIENT_ID=<YOUR_LF_PISTE_CLIENT_ID>",
        "-e",
        "LF_PISTE_CLIENT_SECRET=<YOUR_LF_PISTE_CLIENT_SECRET>",
        "-e",
        "LF_PISTE_ENV=<YOUR_LF_PISTE_ENV>",
        "ghcr.io/muchiny/mcp-legifrance:1.4.0"
      ],
      "env": {
        "LF_PISTE_CLIENT_ID": "<YOUR_LF_PISTE_CLIENT_ID>",
        "LF_PISTE_CLIENT_SECRET": "<YOUR_LF_PISTE_CLIENT_SECRET>",
        "LF_PISTE_ENV": "<YOUR_LF_PISTE_ENV>"
      }
    }
  }
}

Claude Desktop

Merge this local stdio configuration, replace every placeholder environment value, and restart Claude Desktop. Koskamo has not executed this package.
Claude Desktop configuration
{
  "mcpServers": {
    "le-gifrance-mcp-1-4-0": {
      "command": "docker",
      "args": [
        "run",
        "-i",
        "--rm",
        "-e",
        "LF_PISTE_CLIENT_ID=<YOUR_LF_PISTE_CLIENT_ID>",
        "-e",
        "LF_PISTE_CLIENT_SECRET=<YOUR_LF_PISTE_CLIENT_SECRET>",
        "-e",
        "LF_PISTE_ENV=<YOUR_LF_PISTE_ENV>",
        "ghcr.io/muchiny/mcp-legifrance:1.4.0"
      ],
      "env": {
        "LF_PISTE_CLIENT_ID": "<YOUR_LF_PISTE_CLIENT_ID>",
        "LF_PISTE_CLIENT_SECRET": "<YOUR_LF_PISTE_CLIENT_SECRET>",
        "LF_PISTE_ENV": "<YOUR_LF_PISTE_ENV>"
      }
    }
  }
}

Let your agent find its tools

Find servers like Légifrance MCP from your agent. Add Koskamo once to search the index for endpoints, access requirements, and client setup. Public discovery needs no key.