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).

Capabilities

Features and capabilities supported by this server

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_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

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/matematicsolutions/fr-eli-mcp'

If you have feedback or need assistance with the MCP directory API, please join our Discord server