Article numbers that look right and are not are the characteristic failure here, and every answer through these tools is anchored to a Legifrance lookup instead. Nothing is cached, so each question is a live query. The corpora stop at statutes, codes and judicial case law — the other Legifrance collections are not covered yet.
An experimental MCP server over the Legifrance API, covering three French legal corpora: statutes and regulations, the articles of the legal codes, and judicial case law.
- rechercher_dans_texte_legal — search inside a named statute or regulation by keywords or article number, choosing which field to search and how the terms combine
- rechercher_code — search the articles of a named French code, with sorting, field selection and an option to retrieve every result
- rechercher_jurisprudence_judiciaire — search judicial case law by terms or case number, filtered by court, by whether the decision was published in the bulletin, and by which response fields to return
- A packaged prompt, agent_juridique_expert, which sets up a legal assistant that cites its sources, works step by step and links back to the official texts
Python and a local checkout — the server is started from the repository. It needs an API key for the maintainer's Legifrance gateway, requested from him directly, placed in a local environment file alongside the gateway address.
One command plus a key — pip install git+https://github.com/rdassignies/mcp-server-legifrance.git, then supply credentials
