Local + RemoteFree server, account needed

LexAPI MCP server

Lex-API/lexapi-mcp

EU legal research over EUR-Lex: structured search, document fetch by CELEX number, recent Official Journal publications, citation graphs and semantic search.

3 GitHub stars

Install LexAPI in Claude Code

Remote URL

Claude Code
claude mcp add --transport http lexapi https://mcp.lex-api.com/v1
mcp.json (Claude Desktop, Cursor, VS Code, Windsurf)
{
  "mcpServers": {
    "lexapi": {
      "url": "https://mcp.lex-api.com/v1"
    }
  }
}

npm

Claude Code
claude mcp add lexapi -e LEXAPI_API_KEY=... -- npx -y @lexapi/mcp
mcp.json (Claude Desktop, Cursor, VS Code, Windsurf)
{
  "mcpServers": {
    "lexapi": {
      "command": "npx",
      "args": [
        "-y",
        "@lexapi/mcp"
      ],
      "env": {
        "LEXAPI_API_KEY": "..."
      }
    }
  }
}

Replace each ... with your own value.

Frequently asked questions

What does the LexAPI MCP server do?

EU legal research over EUR-Lex: structured search, document fetch by CELEX number, recent Official Journal publications, citation graphs and semantic search.

Is the LexAPI MCP server free?

The server is free, but you will likely need an account. The server itself is free, but it connects to a service that needs an account or API key, which may have paid tiers. Check the provider for current pricing.

Does LexAPI run locally or remotely?

Local + Remote. Can run locally or be used as a hosted remote server.

How do I add LexAPI to Claude Code?

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

More legal MCP servers

View all