mcpbeat Sign in

Openlex MCP Server

local only

Openlex MCP runs on your own machine — the client starts it, so there is no endpoint to ping. 132 installs a week from pypi. Last commit 4 Oct 2026.

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

Installs per day peak 57 · avg 26 · -31% w/w
a month agotoday
132
Installs / week
pypi · openlex-mcp
0
Stars
0 open issues
4 Oct 2026
Last commit
from GitHub
MIT
License
Python

What the code does

We read the source, 4 d ago · rules 995398eba69f

Capabilities

What this server is able to do. For an MCP server this is often the job itself — a terminal server runs commands because that is what it is for. Listed so you know what you are plugging in, not as an accusation.

        "_in_container() checks for /.dockerenv, KUBERNETES_SERVICE_HOST, RENDER, RAILWAY_PROJECT_ID",

Is this your server and something here is wrong? Tell us — corrections are free and do not require a plan.

This code can reach further than it looks

We found places where it runs commands, builds paths or queries from values it is given. None of that is a flaw by itself — it becomes one when the code changes, and code changes quietly between releases. We re-read it on every one.

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 openlex-mcp -- uvx openlex-mcp
~/Library/Application Support/Claude/claude_desktop_config.json
{
  "mcpServers": {
    "openlex-mcp": {
      "command": "uvx",
      "args": [
        "openlex-mcp"
      ]
    }
  }
}
~/.codex/config.toml
[mcp_servers.openlex-mcp]
command = "uvx"
args = ["openlex-mcp"]
.cursor/mcp.json
{
  "mcpServers": {
    "openlex-mcp": {
      "command": "uvx",
      "args": [
        "openlex-mcp"
      ]
    }
  }
}
.vscode/mcp.json
{
  "servers": {
    "openlex-mcp": {
      "type": "stdio",
      "command": "uvx",
      "args": [
        "openlex-mcp"
      ]
    }
  }
}

Alternatives to Openlex MCP

same job, measured the same way
Websharp
by jgador

Search the web and extract article text for LLMs.

local only
Egov Law MCP
by shayouworld

Search Japanese laws via e-Gov Law Search and fetch article text with source attribution.

53 installs/wk local only
LexAPI
by lex-api

EU law for AI: EUR-Lex legislation and case law, citation graph, semantic search with asOf.

303 installs/wk answering
Wetwetwet Legislation
by mister-franklin

Search Belgian & EU legislation: verbatim article text, per-article links, legal Q&A.

answering
Ortexo
by ortexo

Romanian and EU legislation and case law, with exact article citations and point-in-time text.

33 tools answering
Parseflow
by libres-coder

PDF parsing server with text extraction, metadata, search, images, and TOC via MCP

50 installs/wk local only
UK Legislation MCP Server from MCPBundles
by mcpbundles

Search UK Acts, Statutory Instruments, and legislation with full text retrieval

answering
Lex-Ray
by lexray

Structured EU and UK legislation: public metadata, free sample articles, and entitled full text.

3 tools answering

Openlex MCP — questions

Answers built from our own checks of this server.

Why is there no uptime for Openlex MCP?
Openlex MCP 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 pypi package openlex-mcp was installed 132 times last week.
How do I connect Openlex MCP?
Copy the ready config from this page. We generate it for Claude Code, Claude Desktop, Codex, Cursor and VS Code, each in the form that client actually reads. It runs locally, so the command pulls openlex-mcp straight from pypi; nothing to host, nothing to sign up for.
How many people use Openlex MCP?
The pypi package openlex-mcp was installed 132 times in the last week. Week over week that is -31%. We show installs rather than GitHub stars on purpose: a star is a bookmark, an install is someone actually running it.
Is Openlex MCP open source?
Yes — it is published under the MIT licence, written in Python and 0 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.