mcpbeat Sign in

LexAPI MCP Server

local only

LexAPI runs on your own machine — the client starts it, so there is no endpoint to ping. 40 installs a week from npm. Last commit 21 Jul 2026.

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

Installs per day peak 19 · avg 8 · +19% w/w
a month agotoday
40
Installs / week
npm · @lexapi/mcp
3
Stars
0 open issues
21 Jul 2026
Last commit
0 releases in 90 days
MIT
License
TypeScript

Nothing serious here today

Today is the operative word: we check LexAPI every 15 minutes and re-read its code on every release. Watch it and you find out the day that stops being true.

Three servers free · no card

Connect this server

This server runs on your own machine — install it with the package manager and the client starts it for you. Package name taken from the official registry entry.

run in your terminal
claude mcp add lexapi-mcp -- npx -y @lexapi/mcp
~/Library/Application Support/Claude/claude_desktop_config.json
{
  "mcpServers": {
    "lexapi-mcp": {
      "args": [
        "-y",
        "@lexapi/mcp"
      ],
      "command": "npx"
    }
  }
}
~/.codex/config.toml
[mcp_servers.lexapi-mcp]
command = "npx"
args = ["-y", "@lexapi/mcp"]
.cursor/mcp.json
{
  "mcpServers": {
    "lexapi-mcp": {
      "args": [
        "-y",
        "@lexapi/mcp"
      ],
      "command": "npx"
    }
  }
}
.vscode/mcp.json
{
  "mcpServers": {
    "lexapi-mcp": {
      "args": [
        "-y",
        "@lexapi/mcp"
      ],
      "command": "npx"
    }
  }
}

This one needs environment variables set before it will start: LEXAPI_API_KEY (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.). The author declared them in the registry entry; get the values from the project itself.

Alternatives to LexAPI

same job, measured the same way
Canlii
by mohammadfarooqi

Search Canadian case law, browse legislation, and check citations via the CanLII API.

34 installs/wk local only
Eur Lex MCP Server
by cyanheads

Search EU legislation, CJEU case law, and treaties; traverse CELLAR graph; browse EuroVoc concepts.

672 installs/wk 7 tools answering
Jp Eli MCP
by matematicsolutions

MCP server for Japan's e-Gov law search API: search, fetch, and cite national legislation.

242 installs/wk local only
DirectCase Legal Search
by directcase

Search national and EU case law, legislation and regulation, with citations you can verify.

answering
Fr Eli MCP
by matematicsolutions

MCP server for French Legifrance (PISTE): legislation and case law with citations and ECLI.

241 installs/wk local only
Il Eli MCP
by matematicsolutions

MCP server for Israeli law: Knesset legislation and case law, verifiable citations.

204 installs/wk local only
Openlex MCP
by malkreide

Canton Zurich legislation via ZH-Lex with full-text search and article extraction

131 installs/wk local only
Dike
by fr3on

Grounded MENA legal search, reasoning, citation resolution, and citation-graph traversal.

answering

LexAPI — questions

Answers built from our own checks of this server.

Why is there no uptime for LexAPI?
LexAPI runs on your own machine over stdio — there is no network address to reach, so uptime cannot be measured for it by anyone. What can be measured is adoption: the npm package @lexapi/mcp was installed 40 times last week.
How do I connect LexAPI?
Copy the ready config from this page — we generate it for Claude Code, Claude Desktop, Codex, Cursor and VS Code, each with the file path that client actually reads. It runs locally, so the command pulls @lexapi/mcp straight from npm; nothing to host, nothing to sign up for.
How many people use LexAPI?
The npm package @lexapi/mcp was installed 40 times in the last week. Week over week that is +19%. We show installs rather than GitHub stars on purpose: a star is a bookmark, an install is someone actually running it.
Is LexAPI open source?
Yes — it is published under the MIT licence, written in TypeScript and 3 stars on GitHub. The source link is on this page, so you can read exactly what it does with your data before you connect it.