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.
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
- Maintenance checked
Packages and installation
Source-provided package data. Koskamo has not executed or live-probed this package.
@lexapi/mcp 0.3.0
{
"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.
Connect from your client
Each snippet configures the same source-provided package; replace placeholders before use.
Cursor
{
"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
{
"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
{
"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
{
"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.