Légifrance MCP
An unofficial Model Context Protocol server that enables AI agents to interact with the French Légifrance API (PISTE). It allows users to search for legal texts, read their content, and cite specific provisions, facilitating access to French legislation and fiscal doctrine within agent workflows.
Package and access
Local package with source-attributed installation metadata. Koskamo does not execute packages during review.
What you can do with it
- Search for French legal texts using the PISTE API
- Read full content of legislative documents
- Cite specific legal provisions in agent responses
- Access fiscal doctrine sources
Source and maintenance
- Maintenance checked
Packages and installation
Source-provided package data. Koskamo has not executed or live-probed this package.
ghcr.io/muchiny/mcp-legifrance:1.6.0
{
"transport": "stdio",
"identifier": "ghcr.io/muchiny/mcp-legifrance:1.6.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.
Connect from your client
Each snippet configures the same source-provided package; replace placeholders before use.
Cursor
{
"mcpServers": {
"le-gifrance-mcp-1-6-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.6.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
{
"mcpServers": {
"le-gifrance-mcp-1-6-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.6.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
{
"servers": {
"le-gifrance-mcp-1-6-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.6.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
{
"mcpServers": {
"le-gifrance-mcp-1-6-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.6.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.