Koskamo

LexAPI MCP

An MCP server that exposes 26 tools for researching European Union law via the LexAPI REST service. It provides capabilities for semantic search, document retrieval, citation graph analysis, and webhook management, allowing AI agents to access EUR-Lex legislation and case law with real citations.

Package and access

Local package with source-attributed installation metadata. Koskamo does not execute packages during review.

LexAPI MCP logo, by Lex-APICommunity listingLocal stdioSource reviewed; not executedPublished by Lex-API
You need:Set your API key (create one at https://lex-api.com/dashboard)
Vendor documentation

What you can do with it

  • Perform semantic search on EU legislation and case law
  • Retrieve full text and metadata for specific legal documents
  • Analyze citation networks and paths between legal acts
  • Manage webhooks for legal document updates

Source and maintenance

Community listingRegistry 0.3.0
Maintenance checked

Packages and installation

Source-provided package data. Koskamo has not executed or live-probed this package.

@lexapi/mcp 0.3.0

npmnpx
@lexapi/mcp package definition
{
  "version": "0.3.0",
  "transport": "stdio",
  "identifier": "@lexapi/mcp",
  "runtimeHint": "npx",
  "registryType": "npm",
  "registryBaseUrl": "https://registry.npmjs.org",
  "environmentVariables": [
    {
      "name": "LEXAPI_API_KEY",
      "isRequired": true,
      "description": "LexAPI API key. Get one at https://lex-api.com/dashboard (FREE plan: 500 credits/month)."
    },
    {
      "name": "LEXAPI_BASE_URL",
      "description": "Override the LexAPI base URL. Defaults to https://lex-api.com/api/v1."
    },
    {
      "name": "LEXAPI_MCP_READ_ONLY",
      "description": "Set to true to hide every non-read-only tool (webhook create/update/delete/test, citation extraction)."
    },
    {
      "name": "LEXAPI_TIMEOUT_MS",
      "description": "Deadline per tool call in milliseconds, retries included (default 55000). Raise only together with the MCP client timeout."
    }
  ]
}

Tools

Reported by the attributed source; not independently observed by Koskamo.

No tool definitions available.

Connect from your client

Each snippet configures the same source-provided package; replace placeholders before use.

This server is operated by the named third party. Listing and endpoint checks are not an endorsement or a security audit. Review the operator's permissions, terms, and data handling before connecting. How listings are checked and corrected.

Cursor

Merge this local stdio configuration, replace every placeholder environment value, and restart Cursor. Koskamo has not executed this package.
Cursor configuration
{
  "mcpServers": {
    "lexapi-mcp": {
      "command": "npx",
      "args": [
        "-y",
        "@lexapi/mcp@0.3.0"
      ],
      "env": {
        "LEXAPI_API_KEY": "<YOUR_LEXAPI_API_KEY>",
        "LEXAPI_BASE_URL": "<YOUR_LEXAPI_BASE_URL>",
        "LEXAPI_MCP_READ_ONLY": "<YOUR_LEXAPI_MCP_READ_ONLY>",
        "LEXAPI_TIMEOUT_MS": "<YOUR_LEXAPI_TIMEOUT_MS>"
      }
    }
  }
}

Cline

Merge this local stdio configuration, replace every placeholder environment value, and restart Cline. Koskamo has not executed this package.
Cline configuration
{
  "mcpServers": {
    "lexapi-mcp": {
      "command": "npx",
      "args": [
        "-y",
        "@lexapi/mcp@0.3.0"
      ],
      "env": {
        "LEXAPI_API_KEY": "<YOUR_LEXAPI_API_KEY>",
        "LEXAPI_BASE_URL": "<YOUR_LEXAPI_BASE_URL>",
        "LEXAPI_MCP_READ_ONLY": "<YOUR_LEXAPI_MCP_READ_ONLY>",
        "LEXAPI_TIMEOUT_MS": "<YOUR_LEXAPI_TIMEOUT_MS>"
      }
    }
  }
}

VS Code

Merge this local stdio configuration, replace every placeholder environment value, and restart VS Code. Koskamo has not executed this package.
VS Code configuration
{
  "servers": {
    "lexapi-mcp": {
      "type": "stdio",
      "command": "npx",
      "args": [
        "-y",
        "@lexapi/mcp@0.3.0"
      ],
      "env": {
        "LEXAPI_API_KEY": "<YOUR_LEXAPI_API_KEY>",
        "LEXAPI_BASE_URL": "<YOUR_LEXAPI_BASE_URL>",
        "LEXAPI_MCP_READ_ONLY": "<YOUR_LEXAPI_MCP_READ_ONLY>",
        "LEXAPI_TIMEOUT_MS": "<YOUR_LEXAPI_TIMEOUT_MS>"
      }
    }
  }
}

Claude Desktop

Merge this local stdio configuration, replace every placeholder environment value, and restart Claude Desktop. Koskamo has not executed this package.
Claude Desktop configuration
{
  "mcpServers": {
    "lexapi-mcp": {
      "command": "npx",
      "args": [
        "-y",
        "@lexapi/mcp@0.3.0"
      ],
      "env": {
        "LEXAPI_API_KEY": "<YOUR_LEXAPI_API_KEY>",
        "LEXAPI_BASE_URL": "<YOUR_LEXAPI_BASE_URL>",
        "LEXAPI_MCP_READ_ONLY": "<YOUR_LEXAPI_MCP_READ_ONLY>",
        "LEXAPI_TIMEOUT_MS": "<YOUR_LEXAPI_TIMEOUT_MS>"
      }
    }
  }
}

Let your agent find its tools

Find servers like LexAPI MCP from your agent. Add Koskamo once to search the index for endpoints, access requirements, and client setup. Public discovery needs no key.