Skip to content
Windsurf

LexAPI for Windsurf

io.github.lex-api/lexapi-mcp

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

client:Windsurf transport:stdio runtime:npm

Install LexAPI in Windsurf

~/.codeium/windsurf/mcp_config.json · windows: %USERPROFILE%\.codeium\windsurf\mcp_config.json

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

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

Global only — Windsurf has no per-project MCP config. Refresh Cascade after saving. Windsurf docs

LexAPI in other clients