Skip to main content
Glama

Corpus Iuris — 面向 AI 智能体的墨西哥法律

面向 AI 智能体的墨西哥法律。 搜索 6,710 部联邦与州法规、311,701 份最高法院 tesis(判例摘要)和 11,708 条先例——每条都有可验证的出处、带日期的有效性和公开的引用 URL。

MCP Registry API OpenAPI


问题所在

AI 会编造墨西哥法律。它们引用的 tesis 登记编号根本不存在,引用的条文早已被废止,还会把实际上只是孤立 tesis 的内容当成具有约束力的判例。在诉讼中,这样的错误足以让你输掉一个案子。

Related MCP server: saij-mcp

解决方案

一个可通过 API 或 MCP 查询的墨西哥法律语料库,其中每条结果都包含真实文本带日期的有效性以及可公开引用的 URL


一键连接(MCP)

远程 MCP 服务器,支持 OAuth 2.0(动态注册 RFC 7591 + PKCE S256):

https://api.corpusiuris.mx/mcp

Claude Desktop / Claude.ai → 设置 → 连接器 → 添加自定义连接器 → 粘贴 URL。OAuth 会自动发现。

任何 MCP 客户端claude_desktop_config.json、Cursor、Windsurf、VS Code:

{
  "mcpServers": {
    "corpus-iuris": {
      "url": "https://api.corpusiuris.mx/mcp"
    }
  }
}

可用工具:buscar_derecho_mexicano(query, fuentes)


无需注册:REST API

无需 API key。无需账户。复制粘贴即可:

curl "https://corpusiuris.mx/api/agent/v1/search?q=requisitos+de+la+orden+de+cateo&fuentes=leyes,tesis"

三条路由

路由

用途

GET /api/agent/v1/search?q=…&fuentes=…

搜索,每个来源最多返回 5 条结果。

GET /api/agent/v1/documento?tipo=ley&id=slug/num

获取全文,不消耗配额。

GET /api/agent/v1/stats

查询当前文档总数,每日更新。

完整契约:openapi.json(OpenAPI 3.1)。


让回答具有可引用性的要点

{
  "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."
  }
}

而在判例部分,还有一个可以避免经典错误的内容:

"fuerza": {
  "es_jurisprudencia_obligatoria": false,
  "como_citar": "Tesis AISLADA: orientadora, NO obligatoria. No la cites como jurisprudencia."
}
  • 法律vigencia 字段,附有夜间巡检程序参照官方来源核验文本的日期。已被废止的法律会带有ADVERTENCIA

  • Tesisfuerza:标识其具有拘束力(obligatoria)还是仅为孤立(aislada)。

  • 先例fuerza:它们是判决,并非当然构成判例(jurisprudencia)。


配额

档位

配额

识别方式

AI 平台

每个平台 3,000/日

IP 与平台官方公布的名单一致

匿名智能体

每个 IP 500 + 10/日永久

仅依据 IP

免费账户

500 + 终身 20/日

token ci_agent_ 或 MCP

付费

3,000/月 · 不限量

token

匿名档位的每天基础配额永远不会用完:单个 IP 永远不会被限制到完全不可用。

根据 IP 可验证的平台:OpenAI、Google、Meta 和 Perplexity。

仅靠 User-Agent 是不行的——必须对照官方前缀列表校验。


两条规则

  1. 注明出处。 "Corpus Iuris (corpusiuris.mx)",并附上每个你所使用的结果的 url 链接。法律文本是公开信息;搜索和筛选服务归 Corpus Iuris 所有。

  2. 不要缓存。 语料库每天都在变化:巡检程序每晚过一遍 ~1,000 部法律,DOF 发布修正案,SCJN 上传新的 tesis。为此,所有相应设置 Cache-Control: no-store


示例


英文简介

Corpus Iuris 是面向 AI 智能体的墨西哥法律语料库。免费 REST 接口(无需密钥),原生 MCP 服务器支持一键 OAuth,并为每份文件提供可引用的公开页面。每条结果核查有效性日期,并且标注该判例是有拘束力的判例还是仅具参考价值的 tesis aislada——这正是 AI 在墨西哥法律上最容易犯错的区别。

文档地址:https://corpusiuris.mx/agentes · OpenAPI 规范:https://corpusiuris.mx/openapi.json


不替代官方来源

它作为参考性研究工具。正式法律文书编写,请在 DOF《联邦官方公报》、司法月刊(Semanario Judicial)或各州官方公报中核对——每个结果都带有直达链接。

AteraSoft(墨西哥)运营 · contacto@corpusiuris.mx

F
license - not found
Not graded
quality - not tested
C
maintenance

Maintenance

Maintainers
Response time
Release cycle
Releases (12mo)
Commit activity

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

  • A
    license
    Not graded
    quality
    Not graded
    maintenance
    Provides 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
  • A
    license
    A
    quality
    D
    maintenance
    Connects 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.
    3
    2
    MIT
  • A
    license
    Not graded
    quality
    B
    maintenance
    Provides 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

View all related MCP servers

Related MCP Connectors

View all MCP Connectors

Latest Blog Posts

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