Available in
Marketplaces, most starred first
Tags
Add to README
Shows its components, always-on context cost and install status, kept current. Add ?tokens=0 to hide the cost.
Marketplaces, most starred first
Shows its components, always-on context cost and install status, kept current. Add ?tokens=0 to hide the cost.
Marketplaces, most starred first
Shows its components, always-on context cost and install status, kept current. Add ?tokens=0 to hide the cost.
By elimoralsv0.1.0MITIn 1 marketplace
Searches Mexican federal, state and municipal laws and reads their text as of any date, comparing versions article by article with official sources to cite. Downloads a search index of about 90 MB once; it runs locally, and live lookups go to official portals.
Trending plugins
7-day copy clicks
Claude loads one when your task matches it, or you run it by name.
No risk signals detected
Nothing flagged in this plugin's hooks, MCP servers or commands. Other components are not analyzed.
Static checks of hooks, mods, MCP servers and commands. Not a security audit.
Of the plugin's README
Spanish
1 marketplace, most starred first
mexico, legislacion, leyes, scjn, dof, normas, legal-research, reform-history ·
Shows its components, always-on context cost and install status, kept current. Add ?tokens=0 to hide the cost.
· v0.1.0, beta pública · cambios
MCP server y CLI para que agentes de IA consulten la legislación mexicana federal, estatal y municipal, con su historial de reformas.
Busca en el catálogo, lee el texto vigente o el que regía en una fecha, compara versiones y devuelve siempre el enlace oficial para citar.
Corre en tu máquina, sin servidor propio:
elimoralsmendox/legalize-mx en Hugging Face (~90 MB) y se actualiza solo.elimorals/legalize-mx, con un archivo Markdown por ley y un commit por reforma.| Normas en el índice | ~215,000, de 53 fuentes oficiales (lista) |
| Con texto e historial versionado | ~34,000 consolidadas, y ~40,000 más "como se publicaron" (de PDF y OCR) en publicación |
| Fuentes | Catálogo de la SCJN (federal, 32 entidades, tratados), 31 congresos y la Consejería de CDMX, Cámara de Diputados, DOF (NOM, lineamientos, acuerdos), periódicos oficiales estatales y ~600 portales municipales |
| Cobertura municipal | Censo de los 2,478 municipios: cuál es la fuente de cada uno, o por qué no la hay |
Cuándo no hay texto. No todas las normas tienen texto procesado todavía. En esos casos leer_norma lo dice y devuelve los documentos oficiales. Con extraer_en_vivo=true baja el documento y extrae su texto en ese momento. Un PDF escaneado sale vacío, porque necesita OCR.
Necesitas uv. Para extraer PDF en vivo hace falta además pdftotext (brew install poppler o apt install poppler-utils), o instalar el extra [pdf].
/plugin install legalize-mx --marketplace elimorals/legalize-mx-mcp
Instala el MCP y la skill legalize-mx. La skill le enseña al agente cuándo consultarlo y en qué orden usar las herramientas, cómo citar la fuente y versión, y qué no cubre. Con Claude Code anterior a 2.1.275: /plugin marketplace add elimorals/legalize-mx-mcp y luego /plugin install legalize-mx.
claude mcp add legalize-mx -- uvx --from git+https://github.com/elimorals/[email protected] legalize-mx-mcp
.mcp.json, Claude Desktop, Cursor…){
"mcpServers": {
"legalize-mx": {
"command": "uvx",
"args": ["--from", "git+https://github.com/elimorals/[email protected]", "legalize-mx-mcp"],
"env": { "GITHUB_TOKEN": "" }
}
}
}
Sin token, GitHub permite 60 consultas de historial por hora. El historial se guarda en caché 24 h. Con un GITHUB_TOKEN el límite sube a 5,000.
uvx --from git+https://github.com/elimorals/[email protected] legalize-mx buscar "jornada laboral" --estado federal
| Herramienta | Qué hace |
|---|---|
buscar_norma(texto, estado?, municipio?, tipo?, vigente?, con_texto?, fuente?) | Búsqueda de texto completo en títulos y contenido, con filtros |
leer_norma(id, fecha?, desde?, extraer_en_vivo?) | Texto vigente, o el que regía en una fecha. Va por partes si es largo |
articulo(id, numero, fecha?) | Un artículo: "27", "3 bis", "primero" |
historial(id) | Reformas: fecha, decreto, artículos afectados |
diff(id, fecha_a, fecha_b?) | Artículos reformados, adicionados y derogados entre dos fechas, más el diff |
fuentes(id) | Enlaces oficiales para citar o verificar |
cobertura(estado?, municipio?) | Qué hay y qué falta: normas por fuente y tipo, y la fuente de cada municipio |
dof_del_dia(fecha?, solo_normativas?) | Lo que publicó el DOF ese día (en vivo) |
leer_nota_dof(codigo) | Texto completo de una nota del DOF (en vivo) |
actualizar_indice() | Baja ya el índice más reciente, sin reiniciar |
En el CLI son los subcomandos buscar, leer, articulo, historial, diff, fuentes, cobertura, dof, nota-dof, actualizar e info.
El índice se publica de nuevo conforme entran normas y reformas. Tu copia local se mantiene así:
7-day copy clicks
npx claudepluginhub elimorals/legalize-mx-mcp --plugin legalize-mxPlugins from other owners that cover similar ground
Built from public signals: copy clicks on this site, GitHub stars and activity, the README and the manifest. Not a security audit or an endorsement.