LexAPI for Cursor
io.github.lex-api/lexapi-mcp
Search EUR-Lex, fetch parsed EU legislation and case law, explore the citation graph.
client:Cursor
transport:stdio
runtime:npm
Install LexAPI in Cursor
~/.cursor/mcp.json · windows: %USERPROFILE%\.cursor\mcp.json
{
"mcpServers": {
"lexapi-mcp": {
"type": "stdio",
"command": "npx",
"args": [
"-y",
"@lexapi/mcp"
],
"env": {
"LEXAPI_API_KEY": "<LEXAPI_API_KEY>",
"LEXAPI_BASE_URL": "<LEXAPI_BASE_URL>"
}
}
}
}
Use .cursor/mcp.json in a project root instead to scope it to that project. Cursor merges both. Cursor docs