Home › Productivity › LexAPI

LexAPI

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

TypeScript Cloud Remote
★ 3 stars Last pushed 2026-11-20 License: MIT

Topics: Legal

Connect

Review any command before running it. Package names and URLs come from the server's own registry entry.

Remote (streamable-http)

https://mcp.lex-api.com/v1 HTTP 521 when checked 2026-11-16

Claude Code:

claude mcp add --transport http lexapi-mcp https://mcp.lex-api.com/v1 --header "Authorization: <YOUR_VALUE>"

Or add to your MCP client config:

{
  "mcpServers": {
    "lexapi-mcp": {
      "url": "https://mcp.lex-api.com/v1",
      "headers": {
        "Authorization": "<YOUR_VALUE>"
      }
    }
  }
}
  • Authorization 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).

Package (npm 0.5.1)

npx -y @lexapi/[email protected]

Or add to your MCP client config:

{
  "mcpServers": {
    "lexapi-mcp": {
      "command": "npx",
      "args": [
        "-y",
        "@lexapi/[email protected]"
      ],
      "env": {
        "LEXAPI_API_KEY": "<YOUR_VALUE>"
      }
    }
  }
}
  • LEXAPI_API_KEY required secret — 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.

Related servers

Listed in punkpeye/awesome-mcp-servers (MIT)

Data from the Official MCP Registry