Leyes MX: Mexican federal law at any date
● Activeio.github.BEG-lag/mcp-leyes
Mexican federal law at any date: articles, reform history, diffs and search over leyes-mx.
Connect this server
One click to install, or copy the config below. Suits: Claude Desktop · Cursor.
Or add it manually — claude_desktop_config.json (Claude Desktop) or .cursor/mcp.json (Cursor):
{
"mcpServers": {
"mcp-leyes": {
"command": "docker",
"args": [
"run",
"-i",
"--rm",
"ghcr.io/beg-lag/mcp-leyes:1.0.0"
],
"env": {
"MCP_LEYES_REFRESH_HOURS": "24"
}
}
}
}claude mcp add --env MCP_LEYES_REFRESH_HOURS=24 --transport stdio mcp-leyes -- docker run -i --rm ghcr.io/beg-lag/mcp-leyes:1.0.0codex mcp add mcp-leyes --env MCP_LEYES_REFRESH_HOURS=24 -- docker run -i --rm ghcr.io/beg-lag/mcp-leyes:1.0.0code --add-mcp '{"name":"mcp-leyes","type":"stdio","command":"docker","args":["run","-i","--rm","ghcr.io/beg-lag/mcp-leyes:1.0.0"],"env":{"MCP_LEYES_REFRESH_HOURS":"24"}}'Syntax from each client's docs (Claude Code: claude mcp add; Codex: codex mcp add; VS Code: code --add-mcp). Placeholders in angle brackets are values you fill in.
- MCP_LEYES_REFRESH_HOURSHours between git fetches of leyes-mx (default 24; 0 never fetches and uses the snapshot in the image).
A starting point — check the repository for exact arguments and setup. Restart your client after editing the config.
- Category
- Legal & Government
- Version
- 1.0.0
- Registry
- active
- Published
- 11/18/2026
Is it safe? Is it maintained?
Serverdex check: Nov 19, 2026Looks healthy: Leyes MX: Mexican federal law at any date is maintained, open source.
- Maintained
- Active
- Last commit 4 days ago (Nov 18, 2026), 0 open issues.
- Official registry
- Active
- Published as io.github.BEG-lag/mcp-leyes in the official MCP registry, version 1.0.0.
- Source
- Open source, MIT
- Public repository under the MIT licence, 0 stars, 0 forks.
- Runs
- On your machine
- A local Docker package started by your client; it can reach whatever your user account can.
- Credentials
- None declared
- The registry entry declares no required environment variables.
- Owner
- Unclaimed
- Nobody has claimed this page yet; the data above comes from the registry, GitHub and the live check.
Facts only: last commit and licence from GitHub, the entry's status from the official registry, credentials from the live check. Not a code audit — run the security scan on the endpoint yourself.
On GitHub
read Nov 18, 2026- Stars
- 0
- Forks
- 0
- Last push
- Nov 18, 2026
- License
- MIT
Pythonclaudedoffastmcpgitlawlegal-techlegislationmcpmcp-servermexicomodel-context-protocolpoint-in-timepython
From the README
English · Español mcp-leyes is a Model Context Protocol server that gives Claude and other AI agents point-in-time access to Mexican federal law: the exact text of an article as it stood on any date, every change it went through, word-level diffs of what a reform did, full-text search over the laws as they read on a given day, and the reform timeline of each law. It reads the public leyes-mx repository, where 36 federal laws are Markdown files and each of their 375 archived versions is a git commit dated on its publication in the Diario Oficial de la Federación (DOF). Lawyers ask "what did article 27 say in 2013?" or "what exactly did the 2019 labor reform change?" all the time. Answering from memory is how a model ends up citing a repealed paragraph. This server answers from the archived text, cites the DOF date, the decree and the line on GitHub, and says what the archive cannot know. [!IMPORTANT] Unofficial. Only the DOF is authoritative. Not legal advice. Demo Real output, recorded through a real MCP client over stdio on 2026-11-17, starting from an empty cache. Excerpts below are copied verbatim (… marks omitted lines); the full, unedited transcript is in docs/demo.md.…
Read the full README on GitHub →Alternatives to Leyes MX: Mexican federal law at any date
All Leyes MX: Mexican federal law at any date alternatives →Best Legal & Government servers →The most-starred Legal & Government servers in the index, with their live-check result.
| Server | Stars | Last push | Live check |
|---|---|---|---|
| Korean Law MCP | 2,891 | Nov 2026 | Working |
| EdgarTools | 2,859 | Nov 2026 | Local / not checked |
| Global law | 2,167 | Nov 2026 | Working |
| MCP Fiscal Brasil | 433 | Nov 2026 | Local / not checked |
| Legal Data Hunter | 422 | Nov 2026 | Needs sign-in |
Leyes MX: Mexican federal law at any date: questions people ask
- Is Leyes MX: Mexican federal law at any date a remote or a local MCP server?
- According to its entry in the official MCP registry, Leyes MX: Mexican federal law at any date ships as a local package (Docker) that your client starts on your machine.
- Is Leyes MX: Mexican federal law at any date safe to use?
- Looks healthy: Leyes MX: Mexican federal law at any date is maintained, open source. In detail — maintained: Active; official registry: Active; source: Open source, MIT; runs: On your machine; credentials: None declared. Serverdex check of Nov 19, 2026. This is a reading of the repository, the registry entry and the live check, not a code audit; run the Serverdex security scan on the endpoint before trusting it with real data.
- Is Leyes MX: Mexican federal law at any date still maintained?
- Active: the repository's last commit 4 days ago. Last push Nov 18, 2026, 0 GitHub stars, MIT licence. Read from GitHub on Nov 18, 2026.
- How do I add Leyes MX: Mexican federal law at any date to Claude, Cursor or VS Code?
- Copy the config in "Connect this server" into your client's MCP config file (claude_desktop_config.json, ~/.cursor/mcp.json or .vscode/mcp.json), or use the one-click Add to Cursor / Add to VS Code buttons and the one-line commands for Claude Code and Codex; then restart the client.
More from BEG-lag
All 2 servers by BEG-lag →More Legal & Government servers
Browse all Legal & Government →FMCSA Trucking Carrier Leads
benbarazandeh
Search the official FMCSA USDOT census for trucking carriers and new leads by state and fleet size.
Grants.gov Opportunity Finder
benbarazandeh
Search open US federal grants on Grants.gov by keyword, agency, eligibility, and deadline.
TED EU Tenders Finder
benbarazandeh
Search open EU public tenders on TED by keyword, CPV, and country, plus award winners.
Austrian Parliament (Nationalrat, Bundesrat)
bernhardbrugger
Austrian Parliament: search speeches, votes, bills, inquiries, committees and members
NYC Charter, Laws and Rules
BetaNYC
Search and read the NYC Charter, Administrative Code and Rules of the City of New York
NYC Council
BetaNYC
NYC Council legislation: bills, hearings, votes and members, from a local index or live Legistar
Add the badge to your site
Show visitors that Leyes MX: Mexican federal law at any date is listed here — it’s also the link we check for a free listing.
HTML — for your website
<a href="https://serverdex.io/server/io-github-beg-lag-mcp-leyes?utm_source=badge"><img src="https://serverdex.io/brand/badge.svg" alt="Leyes MX: Mexican federal law at any date — listed on Serverdex" width="123" height="40" loading="lazy"></a>Recommended. A dofollow link from your own domain is the one that counts for search engines, and it's the link we check for a free listing.
Markdown — for your README
[](https://serverdex.io/server/io-github-beg-lag-mcp-leyes?utm_source=badge)Nice for visibility, but GitHub marks README links nofollow, so it doesn't pass authority. Use the HTML badge on your site as well.
Install buttons — for your README
[](https://serverdex.io/install/cursor/io-github-beg-lag-mcp-leyes) [](https://serverdex.io/install/vscode/io-github-beg-lag-mcp-leyes) [](https://serverdex.io/install/claude-code/io-github-beg-lag-mcp-leyes)One click opens Cursor or VS Code with this server's config prefilled; the Claude Code button lands on the one-line command. The links point at Serverdex, so when your config changes the buttons keep working.
Install buttons — HTML for your docs
<a href="https://serverdex.io/install/cursor/io-github-beg-lag-mcp-leyes"><img src="https://serverdex.io/brand/install-cursor.svg" alt="Add to Cursor — via Serverdex" width="140" height="28"></a>
<a href="https://serverdex.io/install/vscode/io-github-beg-lag-mcp-leyes"><img src="https://serverdex.io/brand/install-vscode.svg" alt="Add to VS Code — via Serverdex" width="147" height="28"></a>
<a href="https://serverdex.io/install/claude-code/io-github-beg-lag-mcp-leyes"><img src="https://serverdex.io/brand/install-claude-code.svg" alt="Open in Claude Code — via Serverdex" width="180" height="28"></a>Same buttons as plain links for a docs page or website.
Prefer a live badge with the score, stars and live check? Score badge (links to a page that explains the number and back to this listing).