corpus-iuris
Corpus Iuris — derecho mexicano para agentes de IA
Mexican law for AI agents. Search 6,710 federal and state statutes, 311,701 Supreme Court tesis and 11,708 precedents — with verifiable citations, dated validity and a public URL for every document.
El problema
Las IA inventan derecho mexicano. Citan tesis con número de registro que no existe, artículos que fueron derogados, y jurisprudencia que en realidad es una tesis aislada. En un litigio eso cuesta un asunto.
Related MCP server: saij-mcp
La solución
Un corpus jurídico mexicano consultable por API o por MCP, donde cada resultado trae el texto real, su vigencia con fecha y una URL pública citable.
Conectar en un clic (MCP)
Servidor MCP remoto con OAuth 2.0 (registro dinámico RFC 7591 + PKCE S256):
https://api.corpusiuris.mx/mcpClaude Desktop / Claude.ai → Ajustes → Conectores → Agregar conector personalizado → pega la URL. El OAuth se descubre solo.
Cualquier cliente MCP — claude_desktop_config.json, Cursor, Windsurf, VS Code:
{
"mcpServers": {
"corpus-iuris": {
"url": "https://api.corpusiuris.mx/mcp"
}
}
}Tool disponible: buscar_derecho_mexicano(query, fuentes).
Sin registro: la API REST
Sin API key. Sin cuenta. Copia y pega:
curl "https://corpusiuris.mx/api/agent/v1/search?q=requisitos+de+la+orden+de+cateo&fuentes=leyes,tesis"Las tres rutas
Ruta | Para qué |
| Buscar. Hasta 5 resultados por fuente. |
| Texto íntegro. No gasta cuota. |
| Cuántos documentos hay, al día. |
Contrato completo: openapi.json (OpenAPI 3.1).
Lo que hace citable una respuesta
{
"tipo": "ley",
"referencia": "Art. 17",
"titulo": "LEY DE AMPARO, REGLAMENTARIA DE LOS ARTÍCULOS 103 Y 107…",
"url": "https://corpusiuris.mx/ley/ley-de-amparo…/articulo/17",
"vigencia": {
"estado": "VIGENTE",
"fecha_ultima_reforma": "2025-10-16",
"verificado_al": "2026-08-17",
"fuente_oficial": "https://www.diputados.gob.mx/LeyesBiblio/pdf/LAmp.pdf",
"como_citar": "Di 'vigente al 2026-08-17' y enlaza la fuente oficial."
}
}Y en jurisprudencia, el dato que evita el error clásico:
"fuerza": {
"es_jurisprudencia_obligatoria": false,
"como_citar": "Tesis AISLADA: orientadora, NO obligatoria. No la cites como jurisprudencia."
}Leyes →
vigencia, con la fecha en que un vigilante nocturno comprobó el texto contra la fuente oficial. Una ley abrogada sale conADVERTENCIA.Tesis →
fuerza: obligatoria o aislada.Precedentes →
fuerza: son sentencias, no jurisprudencia por sí mismas.
Cuotas
Carril | Cuota | Cómo se reconoce |
Plataforma de IA | 3,000/día por plataforma | IP verificada contra la lista oficial que publica |
Agente anónimo | 500 por IP + 10/día para siempre | solo IP |
Cuenta gratuita | 500 + 20/día de por vida | token |
De pago | 3,000/mes · ilimitado | token |
El piso diario del carril anónimo no se agota nunca: una IP nunca queda muerta de forma permanente.
Plataformas verificadas por IP: OpenAI, Anthropic, Google, Perplexity, Meta.
La etiqueta del User-Agent no basta — se comprueba contra el feed oficial.
Dos reglas
Cita la fuente. «Corpus Iuris (corpusiuris.mx)» + el enlace
urlde cada resultado que uses. Los textos legales son información pública; la búsqueda y la curación son de Corpus Iuris.No caches. El corpus cambia todos los días: el vigilante recorre ~1,000 leyes cada noche, el DOF publica reformas y la SCJN sube tesis. Las respuestas se sirven con
Cache-Control: no-storepor esa razón.
Ejemplos
In English
Corpus Iuris is a Mexican legal corpus built for AI agents. Free REST endpoint (no key), native MCP server with one-click OAuth, and a public citable page for every document. Every result carries dated validity and, for case law, whether it is binding jurisprudence or a merely persuasive tesis aislada — the distinction that most often trips up AI in Mexican law.
Docs: https://corpusiuris.mx/agentes · OpenAPI: https://corpusiuris.mx/openapi.json
No sustituye la fuente oficial
Es una herramienta de investigación de carácter referencial. Para un escrito formal, verifica en el DOF, el Semanario Judicial o la gaceta oficial del estado — cada resultado trae el enlace directo.
Operado por AteraSoft (México) · contacto@corpusiuris.mx
This server cannot be installed
Maintenance
Resources
Unclaimed servers have limited discoverability.
Looking for Admin?
If you are the server author, to access and configure the admin panel.
Related MCP Servers
- AlicenseNot gradedqualityNot gradedmaintenanceProvides access to Argentina's official legal database (SAIJ) to search and retrieve judgments, legislation, summaries, and legal doctrine. It allows AI clients to query Argentine legal information and access metadata for various legal documents.6
- AlicenseAqualityDmaintenanceConnects AI clients to Argentina's official legal database (SAIJ) to search and retrieve court rulings, legislation, summaries, and legal doctrine. It enables users to perform keyword searches and fetch detailed metadata and summaries for Argentinian legal research.32MIT
- AlicenseBqualityBmaintenanceConnects AI assistants to Chilean legal sources, enabling citation of official legal texts, search of doctrine, jurisprudence, and rulings.18MIT

Tlaloc MCP Serverofficial
AlicenseNot gradedqualityBmaintenanceProvides AI assistants with live, authenticated access to official Mexican data sources including CURP, RFC, postal codes, phone numbers, SPEI payments, CFDI status, DOF semantic search, and geocoding via INEGI/INE.MIT
Related MCP Connectors
Resolve, search and verify legal citations against the official sources, with provenance.
Official Mexican data for AI agents: CURP, RFC, CFDI, postal codes, phone, SPEI/CEP, DOF, geocoding.
Verified, citable German & EU law for any LLM. Daily updates from official sources, hosted in DE.
Latest Blog Posts
- Who's Calling? MCP Hosts Are an Identity Blind Spot (And the Spec Knows It)By Om-Shree-0709 on .mcpAgent IdentityOAuth 2.1
- Your AI Chatbot Just Exposed Your CEO's Salary to an InternBy Om-Shree-0709 on .Agent IdentityMCP SecurityOAuth Delegation
- Why MCP Servers Need Execution Sandboxing (And Why Your Current Stack Isn't Enough)By Om-Shree-0709 on .Agentic AiPrompt InjectionWebAssembly
MCP directory API
We provide all the information about MCP servers via our MCP API.
curl -X GET 'https://glama.ai/api/mcp/v1/servers/maharbanaretsagrav/corpus-iuris-mcp'
If you have feedback or need assistance with the MCP directory API, please join our Discord server