MCP directory
L

LexAPI

by github.com/Lex-API · v0.5.1 · updated Nov 16, 2026

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

Remotenpm

Connect to the hosted server

Add this URL as a custom connector in your AI client.

Server URL

https://mcp.lex-api.com/v1

Claude Code

claude mcp add --transport http lexapi-mcp https://mcp.lex-api.com/v1

Headers

  • Authorizationsecret

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

Run it locally

Install the package and point your AI client at it.

npm

npx -y @lexapi/[email protected]

Environment variables

  • LEXAPI_API_KEYrequiredsecret

    LexAPI API key. Get one at https://lex-api.com/dashboard (FREE plan available; see https://lex-api.com/pricing).

  • LEXAPI_BASE_URL

    Override the LexAPI base URL. Defaults to https://lex-api.com/api/v1.

  • LEXAPI_MCP_READ_ONLY

    Set to true to hide every non-read-only tool (webhook create/update/delete/test, citation extraction).

  • LEXAPI_TIMEOUT_MS

    Deadline per tool call in milliseconds, retries included (default 55000). Raise only together with the MCP client timeout.

More MCP servers