fr_legi_search

Pack: france-legi · 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_legi_search for the schema, then POST the same URL with its arguments for the data.

Full-text search across the articles in force of the French codes (DILA LEGI consolidated text) — find which article of French law deals with a subject, in French: “responsabilité du fait des choses”, “licenciement pour motif économique”, “abus de biens sociaux”. Optional code restricts to one code. Returns ranked articles with code, number, section path and an excerpt; quote a phrase for an exact phrase match.

Parameters

NameTypeRequiredDescription
querystringyesWords or a “quoted phrase”, in French. Accents optional.
codeunknownnoOptional — restrict to one code. ${CODE_ARG.description}
datestringnoOptional YYYY-MM-DD: only articles in force on that date (default today).
limitnumbernoResults to return, 1-25 (default 10).

Example call

Arguments

{
  "query": "responsabilité du fait des choses",
  "code": "Code civil",
  "limit": 5
}

curl

curl -X POST https://gateway.pipeworx.io/france-legi/mcp \
  -H 'Content-Type: application/json' \
  -d '{"jsonrpc":"2.0","id":1,"method":"tools/call","params":{"name":"fr_legi_search","arguments":{"query":"responsabilité du fait des choses","code":"Code civil","limit":5}}}'

TypeScript (@pipeworx/sdk)

import { Pipeworx } from '@pipeworx/sdk';
const pipeworx = new Pipeworx();

const result = await pipeworx.call('fr_legi_search', {
  "query": "responsabilité du fait des choses",
  "code": "Code civil",
  "limit": 5
});

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 france-legi pack
{
  "mcpServers": {
    "france-legi": {
      "url": "https://gateway.pipeworx.io/france-legi/mcp"
    }
  }
}

See Getting Started for client-specific install steps.

Regenerated from source · build October 11, 2026