fr_legifrance_search
Pack: fr-legifrance · Connect: https://pipeworx.io/mcp (see Connect below for a single-pack URL)
No MCP client? Call it directly: GET https://gateway.pipeworx.io/v1/tools/fr_legifrance_search for the schema, then POST the same URL with its arguments for the data.
Full-text search across French legal sources the Légifrance API serves beyond codes and Cour de cassation case law: the Journal officiel (fond JORF), collective-bargaining agreements (KALI), Conseil d’État / administrative case law (CETAT, the JADE dataset), Constitutional Council decisions (CONSTIT), circulaires (CIRC), company-level agreements (ACCO) and CNIL decisions (CNIL). One fond per call. For consolidated codes/LODA use @pipeworx/france-legi; for Cour de cassation judicial case law use @pipeworx/fr-judilibre.
Parameters
| Name | Type | Required | Description |
|---|---|---|---|
fond | string | yes | Which corpus to search. |
query | string | yes | Full-text search terms, e.g. “licenciement économique” or “convention collective métallurgie”. |
date_start | string | no | Decision date range start, ISO YYYY-MM-DD. Only applied for fond CETAT/CONSTIT. |
date_end | string | no | Decision date range end, ISO YYYY-MM-DD. Only applied for fond CETAT/CONSTIT. |
page | number | no | 1-based page number (default 1). |
page_size | number | no | Results per page, 1-50 (default 10). |
Example call
Arguments
{
"fond": "CETAT",
"query": "excès de pouvoir",
"page_size": 3
}
curl
curl -X POST https://gateway.pipeworx.io/fr-legifrance/mcp \
-H 'Content-Type: application/json' \
-d '{"jsonrpc":"2.0","id":1,"method":"tools/call","params":{"name":"fr_legifrance_search","arguments":{"fond":"CETAT","query":"excès de pouvoir","page_size":3}}}'
TypeScript (@pipeworx/sdk)
import { Pipeworx } from '@pipeworx/sdk';
const pipeworx = new Pipeworx();
const result = await pipeworx.call('fr_legifrance_search', {
"fond": "CETAT",
"query": "excès de pouvoir",
"page_size": 3
});
Response shape
Full JSON Schema
{}
Connect
Add this to your MCP client config — every tool in the catalog, including this one — or use one-click install buttons:
{
"mcpServers": {
"pipeworx": {
"url": "https://pipeworx.io/mcp"
}
}
}
Connect to just the fr-legifrance pack
{
"mcpServers": {
"fr-legifrance": {
"url": "https://gateway.pipeworx.io/fr-legifrance/mcp"
}
}
}
See Getting Started for client-specific install steps.