Skip to content
Zed

LexAPI for Zed

io.github.lex-api/lexapi-mcp

Search EUR-Lex, fetch parsed EU legislation and case law, explore the citation graph.

client:Zed transport:stdio runtime:npm

Install LexAPI in Zed

~/.config/zed/settings.json · windows: %APPDATA%\Zed\settings.json

Held in this page only — never stored, logged, or sent anywhere but back to your screen.

{
  "context_servers": {
    "lexapi-mcp": {
      "command": "npx",
      "args": [
        "-y",
        "@lexapi/mcp"
      ],
      "env": {
        "LEXAPI_API_KEY": "<LEXAPI_API_KEY>",
        "LEXAPI_BASE_URL": "<LEXAPI_BASE_URL>"
      }
    }
  }
}

Merge this into your existing settings object — do not replace the file. Zed docs

LexAPI in other clients