Skip to main content
Glama
France Legal Research MCP Server

France Legal Research MCP Server

by jurisatlas

France Legal Research MCP Server (fr-legal-mcp)

Français | English Documentation


Serveur MCP de Législation et Jurisprudence (fr-legal-mcp) — Français

À propos de ce dépôt

Ce dépôt fournit un serveur Model Context Protocol (MCP) reliant directement votre application d'intelligence artificielle (Claude Desktop, Cursor, Windsurf, VS Code / Copilot, Cline, Continue.dev ou Antigravity) aux portails législatifs officiels et aux bases de jurisprudence multi-niveaux pour France (juridictions de première instance, tribunaux cantonaux / cours d'appel et juridictions suprêmes ou constitutionnelles).

Installation rapide (Sélection de votre client IA)

  1. Téléchargement : Cliquez sur <> Code -> Download ZIP en haut à droite et extrayez le dossier sur votre ordinateur.

  2. Lancement de l'assistant : Double-cliquez sur Click_Here_To_Install_Windows.bat (Windows) ou Click_Here_To_Install_Mac.command (macOS).

  3. Choix de l'application IA : Cochez les applications IA que vous utilisez (Claude, Cursor, Windsurf, VS Code, Antigravity), lancez l'installation automatique et redémarrez votre application IA.

Note de sécurité : L'utilitaire fonctionne exclusivement en lecture seule (read-only) et n'accède à aucun fichier personnel sur votre ordinateur.

Hiérarchie juridictionnelle et sources officielles

Degré de juridiction

Juridictions couvertes

1er degré (Première instance)

Tribunaux judiciaires (TJ), Tribunaux de commerce, Conseils de prud'hommes & Tribunaux administratifs (TA)

2nd degré (Juridictions cantonales, régionales et cours d'appel)

36 Cours d'appel (CA — Open Data Judilibre CA) & 9 Cours administratives d'appel (CAA)

Juridictions suprêmes et constitutionnelles

Cour de cassation, Conseil d'État & Conseil constitutionnel


Related MCP server: be-legal-mcp

English Documentation

Model Context Protocol (MCP) server providing live, read-only access to France (FR) legislation, official gazettes, multi-tier judicial decisions (First Instance, Regional/Cantonal/Appellate, and Supreme/Constitutional courts, including HTML and PDF full-text extraction), and statutory citation verification across all major AI clients (ChatGPT Desktop, OpenAI Codex CLI, Claude Desktop, Claude Code CLI, Cursor, Windsurf, VS Code / GitHub Copilot / Cline / Roo Code, Google Antigravity / Gemini CLI, Perplexity, and Continue.dev).


Interactive Desktop Setup (Select Your AI Assistant)

This package includes a graphical installer for legal practitioners and non-technical users that lets you select which AI application(s) you use:

  1. Download: Click <> Code at the top right of this repository, select Download ZIP, and extract the folder to your computer.

  2. Run the Setup Utility:

    • Windows: Double-click Click_Here_To_Install_Windows.bat

    • macOS: Double-click Click_Here_To_Install_Mac.command

  3. Select Your AI Client(s) & Connect: Check the box(es) for the AI assistant(s) installed on your computer (ChatGPT Desktop & OpenAI Codex CLI, Claude Desktop & Claude Code CLI, Cursor, Windsurf, VS Code / GitHub Copilot / Cline / Roo Code, Google Antigravity / Gemini CLI, or Perplexity / Continue.dev), click Install to Selected AI Clients, and restart your selected AI application.

System Integrity Note: The setup utility operates strictly in read-only mode with respect to your personal files and documents. It installs an isolated Python runtime inside the extracted folder and registers the server entry only in the AI client configuration files you select.


Multi-Tier Judicial Hierarchy & Live Indexed National Archives

This server performs live queries across the full judicial hierarchy and official legal archives of France, extracting full text from both HTML pages and official court/gazette PDF judgments:

Judicial Tier

Covered Courts & Tribunals

Tier 1 — First Instance

Tribunaux judiciaires (TJ), Tribunaux de commerce, Conseils de prud'hommes & Tribunaux administratifs (TA)

Tier 2 — Regional / Cantonal / Appellate

36 Cours d'appel (CA — Open Data Judilibre CA) & 9 Cours administratives d'appel (CAA)

Tier 3 — Supreme & Constitutional

Cour de cassation, Conseil d'État & Conseil constitutionnel

Official Portals & Live Indexed Domains

  • National Legislation & Official Gazette: Légifrance (legifrance.gouv.fr) & Data.gouv.fr LEGI — https://www.legifrance.gouv.fr

    • Indexed Legislation Domains: legifrance.gouv.fr, assemblee-nationale.fr, senat.fr

  • Court Decisions & Jurisprudence Archives: Judilibre API (Cour de cassation, 36 Cours d'appel & Tribunaux judiciaires) + ArianeWeb (TA/CAA/CE) — https://www.courdecassation.fr/recherche-judilibre

    • Indexed Judicial & Open Case Law Domains: courdecassation.fr, conseil-etat.fr, conseil-constitutionnel.fr, legifrance.gouv.fr


Available MCP Tools

Tool

Description

search_legislation

Searches enacted statutes, codes, decrees, and official gazette publications in France.

search_case_law

Searches national jurisprudence and open judicial archives for France.

search_tiered_court_decisions

Filters case law specifically by judicial instance (first_instance, appellate_regional, supreme_constitutional) or specific regional/cantonal/district court.

list_court_hierarchy

Returns the complete 3-tier court structure and supported regional court filters for France.

get_legal_document_markdown

Retrieves full statutory or judicial texts (both HTML and official .pdf court judgments) and converts them into clean Markdown.

verify_citation

Validates statutory and case law citations against official registries.


{
  "mcpServers": {
    "fr-legal-mcp": {
      "command": "uvx",
      "args": [
        "--from",
        "https://github.com/jurisatlas/fr-legal-mcp/archive/refs/heads/main.zip",
        "fr-legal-mcp"
      ]
    }
  }
}

Available Tools

6 tools
list_court_hierarchyList Court HierarchyA

Return the complete step-by-step multi-tier judicial hierarchy for France (FR): Tier 1 (First Instance / Trial / Municipal / District Courts), Tier 2 (Regional / Cantonal / County / Appellate Courts), Tier 3 (Supreme / Cassation / Constitutional Courts), and all official court sub-portals.

Inputs: no named parameters. Returns: object

search_case_lawSearch Case LawB

Search France (FR) court decisions and binding precedents via Judilibre (Cour de cassation) & ArianeWeb (Conseil d'État) and open national judicial archives (Supported courts: Cour de cassation, Conseil d'État, Conseil constitutionnel, Cours d'appel).

Inputs: query (required), court, limit. Returns: object

search_legislationSearch LegislationA

Search France (FR) national legislation (statutes, acts, codes, regulations, official gazette) via Légifrance (legifrance.gouv.fr) & Data.gouv.fr LEGI and live national legal archives.

Inputs: query (required), year, limit. Returns: object

search_tiered_court_decisionsSearch Tiered Court DecisionsB

Search court decisions in France (FR) filtered by specific judicial tier or regional/cantonal/appellate court. Supports Tier 1 (first_instance), Tier 2 (appellate_regional — including Cantonal/Regional/County/Circuit courts), and Tier 3 (supreme_constitutional), or a specific sub-portal key from list_court_hierarchy.

Inputs: query (required), tier, limit, sub_court. Returns: object

verify_citationVerify CitationA

No-Hallucination Citation Verifier for France (FR). Validates format and live existence of legal citations (e.g., 'ECLI:FR:CCASS:2024:C100123 or Code civil art. 1240') against official France and ECLI/ELI registries to prevent AI-hallucinated citations.

Inputs: citation (required). Returns: object

Tool Schema Changelog

Recent tool additions, removals, and schema changes observed during successful MCP inspections.

Loading tool schema changelog…

    TDQS

    A3.7/5.0

    Scored across 6 tools

    Disambiguation4/5

    Most tools target distinct resources: citation verification, legislation search, case-law search, document retrieval, and court hierarchy listing. The one real overlap is search_case_law vs. search_tiered_court_decisions, which both return court decisions; the descriptions do distinguish them (source-based search vs. tier-filtered search), but an agent may still hesitate between the two.

    Naming Consistency5/5

    All six tools follow a consistent snake_case verb_noun pattern (verify_citation, search_legislation, search_case_law, get_legal_document_markdown, list_court_hierarchy, search_tiered_court_decisions). Verbs are used predictably and the noun portion clearly names the resource.

    Tool Count4/5

    Six tools is a well-scoped surface for a national legal research server, with each covering a recognizable capability. However, search_tiered_court_decisions largely duplicates search_case_law with an added filter, so one of the two arguably does not fully earn its place as a separate tool.

    Completeness4/5

    The surface covers the core lifecycle: verifying citations, searching legislation and case law, retrieving full text, and understanding court hierarchy. Minor gaps remain, such as citator-style lookup (what later decisions cite a given text), consolidated-version/date-range filtering, and no explicit legislation retrieval by article identifier beyond the generic document fetch.

    Maintenance

    ActivityMaintained
    ResponsivenessNo recent community issues

    Related MCP Connectors

    Related MCP Servers

    • A
      license
      Not graded
      quality
      B
      maintenance
      Enables read-only querying of official French law — laws, codes, case law, CNIL deliberations and collective agreements — through the Légifrance PISTE API, returning source text with citations and links. It also resolves and verifies legal citations, compares article versions, and searches across multiple legal collections.
      1
      Apache 2.0
    • A
      license
      A
      quality
      B
      maintenance
      Enables read-only search and retrieval of Belgian legislation and multi-tier court decisions, filtering case law by judicial instance, converting legal texts to Markdown, and verifying statutory and case-law citations against official registries.
      6
      MIT
    • A
      license
      B
      quality
      B
      maintenance
      Provides read-only access to Swiss legislation and multi-tier court decisions, enabling searches, full-text retrieval as Markdown, court hierarchy listing, and statutory or case-law citation verification across official registries.
      6
      MIT