MCP server exposing 4 tools for france-legi.
This URL is a JSON-RPC 2.0 endpoint over HTTP. Issue POST requests with a JSON-RPC body. Browsers and search crawlers land here on GET.
POST https://gateway.pipeworx.io/france-legi/mcp
Content-Type: application/json
{"jsonrpc":"2.0","id":1,"method":"tools/list"}
fr_code_article — Read an article of an official French code — Code civil, Code pénal, Code du travail, Code de commerce, Code général des impôts, Code de la santé publique and the other codes in force — by code and article number, from DILA's consolidated LEGI base (the text Légifrance publishes). Returns the text in force today (or on `date`), its dates of entry into force and end, its place in the code (livre/titre/chapitre), the NOTA, and every version of the article with dates. Use for "what does article 1240 of the Code civil say", "Code du travail L1221-1", "article 121-3 du Code pénal".fr_legi_search — 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.fr_code_toc — Table of contents of a French code in force (parties, livres, titres, chapitres, sections) with the article numbers under each heading, from DILA's LEGI consolidated base. `depth` controls how many levels come back; pass a `section_id` from a previous answer to expand one branch. Use to browse the structure of the Code civil, Code du travail, Code de commerce, etc., or to list the articles of a chapter.fr_article_versions — 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".Code samples (curl / TypeScript / one-click client install), schemas, and the live playground are on the pack page:
https://pipeworx.io/packs/france-legi/
Pipeworx is an open MCP gateway connecting AI agents to live data. pipeworx.io