PluginBench
MCP Server
Active
MIT

LexAPI MCP Server

io.github.Lex-API/lexapi-mcp

What is the LexAPI MCP server?

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

How to install LexAPI

Copy-paste configuration for popular MCP clients.

transport: stdio
Config generated by PluginBench — verify against the source before use.
Environment / auth
  • LEXAPI_API_KEY
    required
    secret

    LexAPI API key. Get one at https://lex-api.com/dashboard (FREE tier available; semantic tools require a paid plan).

  • LEXAPI_BASE_URL

    Override the LexAPI base URL. Defaults to https://lex-api.com/api/v1.

Claude Desktop
~/Library/Application Support/Claude/claude_desktop_config.json
{
  "mcpServers": {
    "lexapi-mcp": {
      "command": "npx",
      "args": [
        "-y",
        "@lexapi/mcp"
      ],
      "env": {
        "LEXAPI_API_KEY": "<YOUR_LEXAPI_API_KEY>",
        "LEXAPI_BASE_URL": "<YOUR_LEXAPI_BASE_URL>"
      }
    }
  }
}
Cursor
~/.cursor/mcp.json
{
  "mcpServers": {
    "lexapi-mcp": {
      "command": "npx",
      "args": [
        "-y",
        "@lexapi/mcp"
      ],
      "env": {
        "LEXAPI_API_KEY": "<YOUR_LEXAPI_API_KEY>",
        "LEXAPI_BASE_URL": "<YOUR_LEXAPI_BASE_URL>"
      }
    }
  }
}
Windsurf
~/.codeium/windsurf/mcp_config.json
{
  "mcpServers": {
    "lexapi-mcp": {
      "command": "npx",
      "args": [
        "-y",
        "@lexapi/mcp"
      ],
      "env": {
        "LEXAPI_API_KEY": "<YOUR_LEXAPI_API_KEY>",
        "LEXAPI_BASE_URL": "<YOUR_LEXAPI_BASE_URL>"
      }
    }
  }
}
VS Code
.vscode/mcp.json
{
  "servers": {
    "lexapi-mcp": {
      "type": "stdio",
      "command": "npx",
      "args": [
        "-y",
        "@lexapi/mcp"
      ],
      "env": {
        "LEXAPI_API_KEY": "<YOUR_LEXAPI_API_KEY>",
        "LEXAPI_BASE_URL": "<YOUR_LEXAPI_BASE_URL>"
      }
    }
  }
}
Claude Code
claude mcp add lexapi-mcp --env LEXAPI_API_KEY=<YOUR_LEXAPI_API_KEY> --env LEXAPI_BASE_URL=<YOUR_LEXAPI_BASE_URL> -- npx -y @lexapi/mcp

Related MCP servers

Give your AI agent stealth web scraping with Cloudflare bypass and CSS selection, powered by Scrapling.

67k
Python
BSD-3-Clause
View repository →

Give your AI coding agent full control of a live Chrome browser for automation, debugging, and performance analysis.

45k
TypeScript
Apache-2.0
View repository →

Let AI agents manage your Puter files, websites, and serverless workers over MCP.

43k
TypeScript
AGPL-3.0
View repository →

Browser automation for AI agents via MCP, powering ByteDance's Agent TARS hybrid GUI/DOM browser control.

37k
TypeScript
Apache-2.0
View repository →

Run arbitrary shell commands from an MCP-connected AI agent.

37k
TypeScript
Apache-2.0
View repository →

Filesystem access MCP server from ByteDance's UI-TARS/Agent TARS ecosystem.

37k
TypeScript
Apache-2.0
View repository →