Home › Productivity › LexAPI

LexAPI

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

TypeScript Cloud Remote
★ 3 stars Last pushed 2026-10-31 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 Requires auth (checked 2026-11-09)

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 required secret — Bearer <your LexAPI API key>. Get one at https://lex-api.com/dashboard (FREE plan: 500 credits/month).

Package (npm 0.3.0)

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: 500 credits/month).
  • 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