MCP.Market

Lex API MX MCP server

by Julio-Patron·io.github.Julio-Patron/lex-api-mx·v0.4.1

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

B83/100grade B
What users say
No reviews yet
Be the first
Safety scan
B83/100

not scanned yet

Adoption
Growing

0 stars267 downloads/wk

Reviews

Write one

Nobody has reviewed Lex API MX yet.

If you have run it, two minutes of your experience saves the next person an afternoon.

Lex API MX tools

No tool declarations could be read from the package source. They show once the server is installed.

Not scanned yet. New listings are scanned within a day or two of arriving.

How Lex API MX compares

Against every graded MCP server, from our own scans and uptime checks. Updated after each scan run.

Safety score
83/100
higher than 65% of 48,255 servers
Downloads a week
267
more than 79% of 12,191 servers with a package

Release history: 5 versions in the registry since 2026-10-12, latest 2026-11-03, typically one every 2 days.

Install Lex API MX in Claude Code, Cursor or VS Code

claude mcp add lex-api-mx -- uvx lex-api-mx-mcp
Add to Cursor

What the publisher says

From the Lex API MX repository's README, as published. We do not edit it. Read it on GitHub

Lex API MX

La legislación federal mexicana vigente, como API. Cada artículo con su fuente oficial, su checksum SHA-256 y su periodo de vigencia, listo para que tu aplicación o tu agente de IA cite la ley sin construir ni mantener un corpus.

Sistema de inteligencia jurídica · lexapi.mx · Documentación de la API · Crear cuenta gratis

Para quién

Equipos que necesitan citar la ley con precisión dentro de software: agentes y asistentes de IA, legaltech, nómina, facturación, contabilidad y fintech. Lex API MX no es un chatbot ni emite opiniones: devuelve texto vigente, estructura, fuente, checksum y vigencia, y tu sistema decide qué hacer con ellos.

Cobertura

La lista completa de normas está en docs/CATALOGO.md. La cobertura es federal y prospectiva: cada norma se conserva desde su fecha de incorporación; una fecha anterior responde outside_coverage y nunca se presenta texto vigente como histórico.

Empieza en cinco minutos

1. Crea tu cuenta en lexapi.mx/#cuenta: te enviamos un enlace al correo, sin contraseña ni tarjeta. El plan gratuito trae 500 créditos al mes y una clave de API que se muestra una sola vez.

2. Conecta tu agente (MCP). Claude Code:

claude mcp add lex-api-mx --env LEX_API_MX_KEY=tu_clave -- uvx lex-api-mx-mcp

Claude Desktop o Cursor (claudedesktopconfig.json, .cursor/mcp.json):

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

Tu agente obtiene tres herramientas: resolvelegalcitation, searchmexicanlaw y getnormstructure. Guía completa: docs/MCP_QUICKSTART.md.

3. O llama a la API directamente.

curl "https://api.lexapi.mx/api/v1/articulos/search?q=rescisi%C3%B3n%20sin%20responsabilidad&norma=lft" \
  -H "X-API-Key: tu_clave"
# pip install lex-api-mx-client
from lex_api_mx import LexApiClient

with LexApiClient(base_url="https://api.lexapi.mx", api_key="tu_clave") as client:
    package = client.resolve(query="Artículo 47 LFT", norm="lft")

Guía: docs/QUICKSTART.md · Referencia: docs/APISPEC.md · Contrato del paquete normativo: docs/NORMATIVEPACKAGE_CONTRACT.md.

Operaciones y créditos

Solo se cobran respuestas exitosas; un reintento con la misma Idempotency-Key y la misma petición no se cobra dos veces. El texto completo de una norma (include_text) y el mapa normativo están incluidos en los planes de la API.

Planes

Shortened. The full README is on GitHub.

Nothing above is checked by us. What we check is on the safety report.

Lex API MX: common questions

Is Lex API MX MCP server safe?
Mostly: it is graded B (83/100). Read the Lex API MX safety report
How do I install Lex API MX?
It runs on your machine. Copy the Claude Code, Cursor, VS Code or Claude Desktop config from the install section.
Does Lex API MX need an API key?
Yes. The registry entry asks for LEX_API_MX_KEY.
Is Lex API MX maintained?
The last commit was 24 days ago (2026-10-11). The latest release is v0.4.1.
How does Lex API MX compare with other MCP servers?
safety score 83/100 (higher than 65% of 48,255 servers); downloads a week 267 (more than 79% of 12,191 servers with a package). Full comparison.