Prototype · Preview: every server in the official registry, synced every 30 minutes. Reviews and accounts come in a later step.
PopNx MCPMCP servers for people who use AI · explained in plain words

Lex API MX

by Julio-Patronversion 0.4.2i★ –iRuns on your computer
Registry nameio.github.Julio-Patron/lex-api-mx

Install

Overview

Description from the maker (original English)

Legislación federal mexicana vigente con fuente, checksum y vigencia para agentes de IA

PopNx MCP’s three pillars

These three are never merged into one score: opinions, measurements and popularity are different things.

What you can do with it

We have not written a plain-language summary for this one yet. Below are the facts we read from the registry.

  • Connection: Runs on your computer
  • Transport: stdio
  • Category: Other
  • You need to fill in: LEX_API_MX_KEY

Install

Pick the AI app you use, then copy the settings.

Before you install

  • Basic checks: 1 of 1 passed
  • Runs on your computer with your user’s permissions (files, network, apps).
  • You fill in yourself: LEX_API_MX_KEY, LEX_API_MX_BASE_URL

Values marked secret are keys to your account. Never share them or paste them into a chat.

You need

  • PyPIPython’s uv installed (for the uvx command)

Which app do you use?

Pick your app above. We remember it, so next time the button says “Install in …”.

Open Claude Desktop → Settings → Developer → Edit Config, and paste this into claude_desktop_config.json

{
  "mcpServers": {
    "lex-api-mx": {
      "command": "uvx",
      "args": [
        "lex-api-mx-mcp"
      ],
      "env": {
        "LEX_API_MX_KEY": "your-value",
        "LEX_API_MX_BASE_URL": "your-value"
      }
    }
  }
}

Run this in your terminal

claude mcp add lex-api-mx --env LEX_API_MX_KEY=your-value --env LEX_API_MX_BASE_URL=your-value -- uvx lex-api-mx-mcp

Fill in the empty values before running it.

Open in Cursor

Or copy the settings yourself

Paste into .cursor/mcp.json in your project, or ~/.cursor/mcp.json

{
  "mcpServers": {
    "lex-api-mx": {
      "command": "uvx",
      "args": [
        "lex-api-mx-mcp"
      ],
      "env": {
        "LEX_API_MX_KEY": "your-value",
        "LEX_API_MX_BASE_URL": "your-value"
      }
    }
  }
}

Your browser asks to open the app, then the app shows the settings and asks you to confirm. Key values are left empty for you to fill in.

Open in VS Code

Or copy the settings yourself

Paste into .vscode/mcp.json in your project

{
  "servers": {
    "lex-api-mx": {
      "type": "stdio",
      "command": "uvx",
      "args": [
        "lex-api-mx-mcp"
      ],
      "env": {
        "LEX_API_MX_KEY": "your-value",
        "LEX_API_MX_BASE_URL": "your-value"
      }
    }
  }
}

Your browser asks to open the app, then the app shows the settings and asks you to confirm. Key values are left empty for you to fill in.

This one runs on your computer, and ChatGPT can only connect to servers on the internet. Pick another app.

Your choice stays on this device in a cookie; no account needed.

Values you fill in

  • LEX_API_MX_KEY secret required env
    Clave de API; créala gratis en https://lexapi.mx/cuenta
  • LEX_API_MX_BASE_URL env
    Solo para desarrollo local; por defecto https://api.lexapi.mx

These settings are generated from the maker’s registry entry. If the README says otherwise, follow the README.

What it can do

Runs on your computer; the tool list appears in your AI app after you install it.

Basic checksi

We check information anyone can see; we have not read the code. Checks that do not apply are left out of the count. · Checked Nov 7, 2026

  • ✓ Pass

    Maker matches the repo

    The registry name was verified with the GitHub account Julio-Patron, which owns the repo

  • … Not checked yet

    Still maintained

    We have not read this repo from GitHub yet

  • … Not checked yet

    Has a licence

    We have not read this repo from GitHub yet

  • – Not applicable

    Endpoint responds

    This one runs on your computer; there is no internet endpoint

  • – Not applicable

    Sign-in with OAuth

    Runs on your computer and uses local settings instead

  • … Not checked yet

    No hidden instructions in tool descriptions

    Runs on your computer; we can only read tool lists from internet endpoints

Compared with others in Otheri

  • More stars than 0% of the other 32718 servers in this category
  • Published to the registry more recently than 91% of the other 32718 servers in this category
  • Basic checks equal to or better than 100% of the other 32718 servers in this category

Compared with every active server in this category in the registry. Stars count only when the publisher owns the repo.

Common questions

Is Lex API MX safe?

It passed 1 of 1 applicable basic checks. We have not read the code. Before adding a key or token, see what access the server asks for and use a key with only the permissions you need.

What keys or codes does it need?

You need to fill in: LEX_API_MX_KEY

Does it run on my computer or in the cloud?

It runs on your computer. Your AI app starts it when needed, and data does not pass through the maker’s servers (unless it calls an online service itself).

Is it still maintained?

The GitHub repo last changed –, and the latest version (0.4.2) reached the registry 3 days ago.

Which apps can use it?

Apps that support MCP, such as Claude Desktop, Claude Code, Cursor and VS Code. You also need Python (uv) on your computer.

What can I use instead?

In the same category: Spec Driven Development, Remote Desktop Commander, MemberVault MCP by usefulapi

Alternatives

Servers in the same category from other makers, sorted by stars.

Reading a card:★ GitHub starsiThree pillars: reviews · checks · usageiUpdated = latest version published to the registryi

Spec Driven Development

by formulahendry

MCP Server that facilitates spec-driven development workflows, not just Vibe Coding.

Runs on your computer★ 440MITUpdated 14 months ago
Install

Remote Desktop Commander

by desktop-commander

Remote Desktop Commander: use files, terminal and processes on your own computers from any AI app.

Runs in the cloud★ 211Updated 2 days ago
Install

README from the maker

Open the README

Copied from the maker’s repo as written. PopNx MCP has not reviewed or endorsed it. HTML, images and scripts are removed. Links lead off this site.

Lex API MX — servidor MCP

Servidor Model Context Protocol que conecta Claude Desktop, Claude Code, Cursor o cualquier agente MCP con la legislación federal mexicana vigente de Lex API MX.

El servidor es un adaptador ligero y de código abierto (MIT): no contiene el corpus. Cada llamada consulta la API de Lex API MX con tu clave y devuelve el paquete normativo tal cual, con cita canónica, vigencia, fuente oficial y checksum SHA-256 del texto. La estructura de una norma llega como un índice compacto (el árbol completo de la Ley Federal del Trabajo pesa más de 1 MB; su índice, unos 15 KB).

Herramientas

HerramientaEndpointPara qué
resolve_legal_citationPOST /api/v1/resolveResolver una cita o situación a un paquete normativo verificable.
search_mexican_lawGET /api/v1/articulos/searchBuscar artículos vigentes por texto, norma o materia.
get_norm_structureGET /api/v1/normas/{slug}/estructuraÍndice de una norma: primer y último artículo, divisiones en orden y números de artículo. El texto (include_text, por páginas de nodos con page) se rige por los permisos y la cuota de la cuenta.
map_legal_topicPOST /api/v1/mapCitas del catálogo limitado de temas, con cobertura y advertencias.
get_legal_articleGET /api/v1/articulos/{id}Artículo completo por UUID, con fuente, vigencia y SHA.
list_legal_normsGET /api/v1/normasCatálogo paginado de normas y sus slugs.
get_legal_normGET /api/v1/normas/{slug}Metadatos actuales de una norma.
get_legal_article_historyGET /api/v1/articulos/{id}/historialVersiones conservadas con fuente, vigencia y SHA.
get_corpus_statusGET /api/v1/corpus/statusEstado público del corpus; no consume cuota.

Las lecturas de texto exigen fecha ("vigente" o YYYY-MM-DD). Búsqueda, resolución, mapa y catálogo reciben jurisdiccion, hoy solo "federal". Las lecturas de metadatos, historial y estado no reciben fecha.

Instalación

Requiere uv y una clave de Lex API MX. El plan gratuito publica sus límites vigentes en Cuenta: crea tu cuenta con tu correo y genera la clave en lexapi.mx/cuenta.

{

"mcpServers": { "lex-api-mx": { "command": "uvx", "args": ["lex-api-mx-mcp"], "env": { "LEX_API_MX_KEY": "tu_clave" } } } }

  • Claude Desktop: *Settings → Developer → Edit Config* y pega el bloque anterior en claude_desktop_config.json; reinicia la aplicación.
  • Claude Code: claude mcp add lex-api-mx --env LEX_API_MX_KEY=tu_clave -- uvx lex-api-mx-mcp
  • Cursor: el mismo bloque en ~/.cursor/mcp.json (global) o .cursor/mcp.json (proyecto).

Pruébalo preguntando: *¿Cuáles son las causas de rescisión de la relación de trabajo sin responsabilidad para el patrón? Cita el artículo exacto.*

Variables de entorno

VariableObligatoriaValor por defecto
LEX_API_MX_KEYSí—
LEX_API_MX_BASE_URLNohttps://api.lexapi.mx

Errores

Los errores de la API llegan al modelo como errores de herramienta legibles y con la acción para la siguiente llamada: clave inválida (401), permiso faltante o condiciones anteriores (403), saldo anterior agotado (402: no reintentar y avisar al responsable para revisar y activar voluntariamente acceso gratuito en Cuenta), norma inexistente o fecha anterior a la cobertura (404: qué slug o qué fecha usar) y límite de peticiones (429). Ante un 429 con espera de 30 segundos o menos, el servidor reintenta solo hasta dos veces.

Código fuente

github.com/Julio-Patron/lexapi-mx (licencia MIT). También está en el MCP Registry como io.github.Julio-Patron/lex-api-mx.

Lectura gratuita

API y MCP requieren la misma clave de una cuenta con correo confirmado. La política activa de Cuenta determina cuota y permisos; la lectura incluida no exige créditos. La cuota mensual se comparte entre claves por cuenta y mes UTC. monthly_quota_exceeded indica cuándo se renueva; no se resuelve comprando créditos. Se mantienen límites de texto, resultados, tamaño y concurrencia.

El MCP incluye búsqueda, estructura, resolve, map_legal_topic, get_legal_article, list_legal_norms, get_legal_norm, get_legal_article_history y get_corpus_status. El mapa conserva un catálogo limitado de temas y citas; no determina todo el marco aplicable a un caso. Revisa coverage, articles_missing y warnings. Las ocho lecturas normativas aceptan idempotency_key: conserva identificador y parámetros para el mismo reintento; una petición distinta es otro evento. No se eliminan límites de ráfagas por reintentar. get_corpus_status consulta el estado público y no consume cuota.

La API y el MCP son gratuitos; no se venden planes ni recargas. Confirma tu correo y entra en Cuenta para recibir tu primera clave. Las cuentas anteriores pueden aceptar allí los límites gratuitos, conservando saldos e historial.

Ask PopNx