Configure and automate Home Assistant with Claude, ChatGPT, and other AI assistants.
Leyes MX: Mexican federal law at any date is installed from its publisher's own source and answers where it runs, so this marketplace is not in the path of a single call. There is no address here to send one to, and a panel that pretended otherwise would be showing you an answer we made up. Install it and call it from your own client — the Installation tab has the entry for each one.
What it does
Mexican federal law at any date: articles, reform history, diffs and search over leyes-mx.
Quickstart
# 1 — add it to Claude Code
claude mcp add --scope user leyes-mx-mexican-federal-law-at-any-date-mcp '--' docker run -i --rm ghcr.io/beg-lag/mcp-leyes:1.0.0
# 2 — ask your agent for something these tools do
# list_laws, get_article, article_history and 5 more
Leyes MX: Mexican federal law at any date costs nothing on mcprush: there is no plan to choose here, no cap to set and nothing mcprush can bill you for.
Collected from a public index. Nobody has claimed this account, so nothing here was written by its author — claim it if it is yours.
Where are you running it?
Every route below installs the same thing and ends at the same approval screen. This one runs on your machine: your client starts Leyes MX: Mexican federal law at any date as a process under your own user, with your files and your network, so the tool surface below is what it can do to your computer rather than to a server somewhere else. It has not been scanned here, so read the surface, and its source, before you approve it.
This is a public server: you run it yourself and this marketplace is not in the path. You need Docker installed and running. Only the required variables are passed into the container. To set an optional one (MCP_LEYES_REFRESH_HOURS), add -e NAME before the image name and give it a value in the entry’s env: an unset -e would clear the default the image sets. Claude Code registers it in one command; --scope user makes it available in every project. The '--' is in quotes so that PowerShell passes it on.
claude mcp add --scope user leyes-mx-mexican-federal-law-at-any-date-mcp '--' docker run -i --rm ghcr.io/beg-lag/mcp-leyes:1.0.0Reconnect, or start a new session, and the tools appear in the model’s tool list.
Nothing is required, but it can take MCP_LEYES_REFRESH_HOURS (Hours between git fetches of leyes-mx (default 24; 0 never fetches and uses the snapshot in the image).) if you want to set it.
One config entry your client uses to start the process locally. A local server runs with your file system and your network, which is why it is priced without metering.
8 tools, with what each one reads, writes and reaches shown before you agree — the same list on every route above. Read the tool surface.
Tool surface
What the model actually sees. Descriptions are diffed on every release — see version history.
Read from its source code. A server that builds its tool list when it starts can list more tools than this.
List the federal laws available: abbreviation, name, last reform (DOF), number of articles, number of versions in git and the date of the oldest archived version.
Takes no parameters.
Exact text of one article as it stood on a date, with the DOF date and commit of the version, the decree(s) that version reflects, since when the article has this wording, and a link to the exact lines on GitHub at that commit.
| Parameter | Type | Required | Notes |
|---|---|---|---|
| law | yes | — | |
| article | yes | — | |
| date | string | no | Date the text should reflect (YYYY-MM-DD, DD-MM-YYYY or 'hoy'). Returns the latest version published in the DOF on or before that day. |
Every change to one article across the archived versions: when it was added, modified, repealed or removed, with the DOF date, commit and decree of each change. In versions that group several reforms, the Cámara's editorial note tells which decree touched it.
| Parameter | Type | Required | Notes |
|---|---|---|---|
| law | yes | — | |
| article | yes | — |
What changed in one article between two dates, as a word-level or unified diff, plus the versions in between that touched it.
| Parameter | Type | Required | Notes |
|---|---|---|---|
| law | yes | — | |
| article | yes | — | |
| date_from | string | yes | Earlier date (YYYY-MM-DD). |
| date_to | string | no | Later date (YYYY-MM-DD or 'hoy'). |
| mode | no | 'words': changed paragraphs with [-removed-] {+added+} marks; 'unified': classic unified diff by paragraph. |
What a reform changed in a law: every article modified, added or removed between the version before and the version that carries the reform, new transitorios and headings, and the diffs. When the archive groups several reforms in one version, articles whose editorial note cites this reform date…
| Parameter | Type | Required | Notes |
|---|---|---|---|
| law | yes | — | |
| reform_date | string | yes | DOF publication date of the reform decree (YYYY-MM-DD). |
| mode | no | 'words' or 'unified'. | |
| limit | integer | no | Maximum number of article diffs to return. |
| offset | integer | no | Skip this many changed articles. |
Full-text search over the articles of every law (or one law) as they stood on a date, ranked by number of hits, with a snippet and a link to each article.
| Parameter | Type | Required | Notes |
|---|---|---|---|
| query | string | yes | Words to find (accent and case insensitive, each word is a prefix, all must appear in the same article). Use "quotes" for phrases and -word to exclude. Example: 'subcontrat "servicios especializados"' |
| law | string | no | Restrict to one law (abbreviation or slug). |
| date | string | no | Search the texts as they stood on this date (default: today). |
| limit | integer | no | Maximum results. |
| include_transitorios | boolean | no | Also search the transitorios of the original text and decrees. |
Reform timeline of a law from the LeyesBiblio data in leyes-mx: number, DOF date, title and PDF of each decree, and which version in git carries it (own version, grouped with others, older than the archive, or not consolidated yet).
| Parameter | Type | Required | Notes |
|---|---|---|---|
| law | yes | — | |
| since | string | no | Only decrees published on or after this date. |
| limit | integer | no | Maximum decrees (newest first). |
Transitory articles (entry into force, deadlines, repeals) of the original text of a law or of one reform decree, as kept at the end of the consolidated text.
| Parameter | Type | Required | Notes |
|---|---|---|---|
| law | yes | — | |
| decree_date | string | no | DOF date of the reform decree whose transitorios you want. Omit it for the transitorios of the original text. |
| date | string | no | Read them from the version applicable on this date. |
| max_chars | integer | no | Maximum characters of text. |
- Every tool, no call limit
- No card, and mcprush charges nothing for it
- Source published under MIT
- Runs on your machine — nothing of it reaches our gateway
- Nothing to cap, because mcprush bills nothing
What counts against your monthly calls
| Tool | Unit | Calls used | Out of the allowance |
|---|
Nothing here is billable: mcprush charges nothing to install Leyes MX: Mexican federal law at any date or to call it, at any volume.
Two independent axes, because powerful and malicious are different questions. The grade is threat only. The capability level is blast radius, and it is never a penalty on the grade — it is priced as one subtract-only term in the score, where you can see it.
This listing ships as a container image. The scanner reads packages on npm and PyPI and public source; an image is neither, so there is no grade here — not a withheld one, an unmeasured one.
Release history
It installs from a container image rather than from a versioned package, so the command cannot be pinned to a release. The history below is for reading; the current release on file is 1.0.0.
No release note was published with this version.
One review per account, from a signed-in account that does not publish this listing. Nothing else is asked — you can say what you think before you install it. Publishers can reply once per review, and a review can be edited or deleted by whoever wrote it.
Any signed-in account that does not publish Leyes MX: Mexican federal law at any date can review it, once — before installing it or after. A review from an account that has installed it is marked as one.
Nobody has reviewed this listing. The rating on the card is the mean of the reviews written here and nothing else, so there is no rating until somebody writes the first — which takes a signed-in account that does not publish it, and nothing else.