fr_article_versions

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_article_versions for the schema, then POST the same URL with its arguments for the data.

Version history of an article of a French code: every consolidated version with its dates of entry into force and end, its status (VIGUEUR, MODIFIE, ABROGE…) and its text, from DILA’s LEGI base. Pass a LEGIARTI id, or code + article. Use for “how has article L1237-19 of the Code du travail changed”, “what did article 1382 of the Code civil say before 2016”.

Parameters

NameTypeRequiredDescription
idstringnoA LEGIARTI id, e.g. LEGIARTI000032041571 (any version of the article).
codeunknownnoWith article, instead of id. ${CODE_ARG.description}
articlestringnoWith code, instead of id: the article number, e.g. “1240”.
include_textbooleannoInclude each version’s text (default true; the 20 most recent versions).

Example call

Arguments

{
  "code": "Code civil",
  "article": "1382"
}

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_article_versions","arguments":{"code":"Code civil","article":"1382"}}}'

TypeScript (@pipeworx/sdk)

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

const result = await pipeworx.call('fr_article_versions', {
  "code": "Code civil",
  "article": "1382"
});

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