Skip to main content

LexAPI

io.github.Lex-API/lexapi-mcp

v0.5.1Updated Nov 16, 2026stdio · npmremote · http

EU and national law for AI: EUR-Lex legislation and case law, citation graph, semantic search.

Install

Replace 1 placeholder with your own values.

Run in your terminal. Replace 1 placeholder.

claude mcp add --transport http --header 'Authorization: <your-authorization>' lexapi-mcp https://mcp.lex-api.com/v1

Configuration

5 settings, 1 required secret. Snippets use placeholders; keep real values out of shared config.

  • LEXAPI_API_KEY
    Env var· required· secret
    LexAPI API key. Get one at https://lex-api.com/dashboard (FREE plan available; see https://lex-api.com/pricing).
  • Authorization
    Header· optional· secret
    Optional. Leave unset to sign in with LexAPI (OAuth 2.1; the server's 401 points clients to https://mcp.lex-api.com/.well-known/oauth-protected-resource/v1). Or send "Bearer <your LexAPI API key>" from https://lex-api.com/dashboard (FREE plan available; see https://lex-api.com/pricing).
  • LEXAPI_BASE_URL
    Env var· optional
    Override the LexAPI base URL. Defaults to https://lex-api.com/api/v1.
  • LEXAPI_MCP_READ_ONLY
    Env var· optional
    Set to true to hide every non-read-only tool (webhook create/update/delete/test, citation extraction).
  • LEXAPI_TIMEOUT_MS
    Env var· optional
    Deadline per tool call in milliseconds, retries included (default 55000). Raise only together with the MCP client timeout.

Listed in the official MCP Registry since Nov 16, 2026. Mirrored daily; last checked Nov 26, 2026.