Skip to main content
Glama

Server Configuration

Describes the environment variables required to run the server.

NameRequiredDescriptionDefault
FR_ELI_BASE_URLNoLegifrance lf-engine-app base URL.https://sandbox-api.piste.gouv.fr/api/v1
FR_ELI_AUDIT_DIRNoAudit log dir (default ~/.matematic/audit).~/.matematic/audit
FR_ELI_CACHE_DIRNoDisk cache dir (default ~/.matematic/cache/fr-eli).~/.matematic/cache/fr-eli
FR_ELI_CLIENT_IDYesYour PISTE application client id (required).
FR_ELI_OAUTH_URLNoOAuth token endpoint (sandbox default shown in .mcp.json.example).https://sandbox-oauth.piste.gouv.fr/api/oauth/token
FR_ELI_CLIENT_SECRETYesYour PISTE application client secret (required).

Instructions

Guidance the server publishes about itself, which clients place ahead of the tool catalog so the model reads it before choosing anything.

This server publishes no instructions, or was last inspected before Glama recorded them.

Capabilities

Features and capabilities supported by this server

Protocol revision2025-11-25

CapabilityDetails
tools
{
  "listChanged": true
}
logging
{}
prompts
{
  "listChanged": false
}
resources
{
  "subscribe": false,
  "listChanged": false
}
extensions
{
  "io.modelcontextprotocol/ui": {}
}
experimental
{}

Tools

Functions exposed to the LLM to take actions

NameDescription
fr_searchA

Keyword-search French legislation or case law on Legifrance.

fr_get_actB

Consult a LODA law or decree by its LEGITEXT... id.

fr_get_textA

Fetch the verbatim text of a single article (LEGIARTI... or KALIARTI...).

fr_get_decisionA

Consult a court decision by its id (returns the native ECLI).

Covers three jurisdictions via the same Legifrance consult/juri endpoint:

  • JURITEXT... - Cour de cassation / cours d'appel (fond JURI).

  • CONSTEXT... - Conseil constitutionnel QPC/DC decisions (fond CONSTIT).

  • CETATEXT... - Conseil d'Etat, CAA, TA administrative case law (fond CETAT).

fr_get_deliberationA

Consult a CNIL deliberation by its CNILTEXT... id.

fr_get_conventionA

Consult a collective labour agreement text by its KALITEXT... id.

fr_coverageA

Declare what this connector covers, how it is sourced, and what it does NOT cover.

Call this before telling a user that the law "does not contain" something, and whenever a search comes back empty: the absence may be a gap in this connector rather than in the law. Every gap carries a fallback saying where to look instead.

Returns: Coverage with families, an as-of note, and a non-empty list of known gaps.

fr_get_company_agreementA

Consult a company-level agreement by its ACCOTEXT... id - METADATA ONLY.

Legifrance distributes the full text of ACCO agreements only as a .docx attachment, so this tool returns the agreement metadata (company, SIRET, IDCC, sector, themes, signatory unions, dates) plus the resolvable source_url.

Prompts

Interactive templates invoked by user choice

NameDescription

No prompts

Resources

Contextual data attached and managed by the client

NameDescription

No resources

TDQS

A4.1/5.0

Scored across 8 tools

Disambiguation5/5

Each tool targets a distinct document type or action: search, acts, articles, decisions, deliberations, collective agreements, company agreements, and coverage. The ID-prefix distinctions (LEGITEXT, LEGIARTI, JURITEXT, CNILTEXT, KALITEXT, ACCOTEXT) remove ambiguity.

Naming Consistency4/5

The fr_ prefix and get_<object> pattern are used consistently across retrieval tools, with fr_search as a clear verb. The only slight deviation is fr_coverage, which uses a noun instead of a verb, but the pattern remains predictable.

Tool Count5/5

With 8 tools, the server is well-scoped for a French legal research connector. Each tool covers a meaningful retrieval need without unnecessary overlap or bloat.

Completeness5/5

The surface covers search, full acts, individual articles, court decisions across multiple jurisdictions, CNIL deliberations, collective agreements, and company agreement metadata. The explicit coverage tool also handles known gaps, making the read-only legal domain feel complete.

Maintenance

ActivityActive
ResponsivenessNo issues