
Leyes MX: Mexican federal law at any date
Point-in-time access to Mexican federal law: article texts, reform history, diffs, and search by date.
- tools
- 8
- transport
- STDIO
- env var
- 1
- last updated
- Nov 18, 2026
What it does
- Reads article text and history with
get_article,article_history, andtransitorios, each answer dated to the DOF version in force on a chosen day - Compares versions with
diff_articleanddiff_reform, and searches the laws as they read on a date withsearch,reforms, andlist_laws - Runs locally over stdio, cloning the public leyes-mx repository on first use; no account or API key is needed
- Designed for lawyers and researchers who need to know what a provision said on a past date and which reform changed it
Tools
8 toolsPublic tool metadata for what this MCP can expose to an agent.
list_lawsThe catalog: abbreviation, name, last reform, articles, versions in git and the oldest archived version of each law.
The catalog: abbreviation, name, last reform, articles, versions in git and the oldest archived version of each law.
No parameter schema in public metadata yet.
get_articleExact text of an article as it stood on a date (default today): version DOF date and commit, the decrees that version reflects, since when the article reads that way, the editorial notes, a link to the exact lines on GitHub at that commit, and every caveat that applies.
Exact text of an article as it stood on a date (default today): version DOF date and commit, the decrees that version reflects, since when the article reads that way, the editorial notes, a link to the exact lines on GitHub at that commit, and every caveat that applies.
No parameter schema in public metadata yet.
article_historyEvery version that added, changed, repealed or dropped the article, with its decree.
Every version that added, changed, repealed or dropped the article, with its decree.
No parameter schema in public metadata yet.
diff_articleWhat changed between two dates, as a word diff or a unified diff, plus the versions in between that touched it.
What changed between two dates, as a word diff or a unified diff, plus the versions in between that touched it.
No parameter schema in public metadata yet.
diff_reformWhat a reform did: articles modified, added and removed, new transitorios and headings, and the diffs, paginated.
What a reform did: articles modified, added and removed, new transitorios and headings, and the diffs, paginated.
No parameter schema in public metadata yet.
searchFull-text search over the laws as they read on a date. Accent and case insensitive, prefix matching, phrases and exclusions.
Full-text search over the laws as they read on a date. Accent and case insensitive, prefix matching, phrases and exclusions.
No parameter schema in public metadata yet.
reformsReform decrees of a law (number, DOF date, title, PDF) and which version in git carries each one.
Reform decrees of a law (number, DOF date, title, PDF) and which version in git carries each one.
No parameter schema in public metadata yet.
transitoriosTransitory articles of the original text or of one decree: entry into force, deadlines, repeals.
Transitory articles of the original text or of one decree: entry into force, deadlines, repeals.
No parameter schema in public metadata yet.
Configuration
MCP_LEYES_REFRESH_HOURSdefault: 24Hours between git fetches of leyes-mx (default 24; 0 never fetches and uses the snapshot in the image).
Readme
mcp-leyes: Mexican federal law as it stood on any date, as tools for your AI agent
English · Español
Details
- Repository
- github.com/beg-lag/mcp-leyes
- Website
- github.com/BEG-lag/mcp-leyes
- Categories
- Business, Legal & HR, Docs & Knowledge Bases
- Package
ghcr.io/beg-lag/mcp-leyes:1.0.0- Transport
- STDIO
- Registry
- MCP registry, active
More from beg-lag
All 2Similar to Leyes MX: Mexican federal law at any date
More Business, Legal & HR
legalize-es-spanish-legislationSkillreason-machines/trending-skills806 installsGit-tracked Spanish legislation repository for searching, reading, and diffing 8,600+ laws by reform history.
DOF: Diario Oficial de la FederaciónMCP serverbeg-lagOfficial Mexican gazette access: daily editions, full note texts, title search, and federal indicators.
Global lawMCP serverlexifina2.2K starsReads and searches the law of nearly every country by date, with citations and amendment history.
SureForge CFR (Title 38)MCP serversureforgetechSearchable local index of US Title 38 CFR veterans' benefits rules, read via MCP tools.
NYC Charter, Laws and RulesMCP serverbetanyc10 starsNYC Charter, Administrative Code, and Rules searchable as one offline corpus, with citation-level reads.
VEOSKILLMCP serverswensi171 starRead and study access to Uzbekistan's legislation and a VEOSKILL learning account.