fr_legifrance_text
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_text for the schema, then POST the same URL with its arguments for the data.
Read one full text by id from fr_legifrance_search’s results: a JORFTEXT (Journal officiel), KALITEXT/KALIARTI/KALICONT (collective agreement text/article/container), CETATEXT (Conseil d’État decision), CONSTEXT (Constitutional Council decision), CNILTEXT or ACCOTEXT id. For a circulaire (which has no prefixed id, just a number), pass fond:“CIRC”. Refuses a JURITEXT id (Cour de cassation) and a LEGITEXT/LEGIARTI id (codes/LODA), naming the sibling pack that serves those.
Parameters
| Name | Type | Required | Description |
|---|---|---|---|
id | string | yes | The text id, from a fr_legifrance_search result, or a bare circulaire number. |
fond | string | no | Only needed to read a circulaire by its bare numeric id, which has no recognisable prefix. |
Example call
Arguments
{
"id": "JORFTEXT000033736934"
}
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_text","arguments":{"id":"JORFTEXT000033736934"}}}'
TypeScript (@pipeworx/sdk)
import { Pipeworx } from '@pipeworx/sdk';
const pipeworx = new Pipeworx();
const result = await pipeworx.call('fr_legifrance_text', {
"id": "JORFTEXT000033736934"
});
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.