@pipeworx/mexico-law
Connect: https://pipeworx.io/mcp — every tool in the catalog, including @pipeworx/mexico-law’s. Install: one-click buttons
Connect to just the @pipeworx/mexico-law pack
https://gateway.pipeworx.io/mexico-law/mcp — only @pipeworx/mexico-law’s own tools, nothing else in the catalog.
No MCP client? Skip the connection: POST https://gateway.pipeworx.io/v1/tools/search_packs {"query":"..."} to find a tool below, GET /v1/tools/<name> for its schema, POST the same URL with arguments for the data — see For AI agents.
Tools: 2
Mexican federal laws and codes as published by the Chamber of Deputies: find a law by words in its name, then read its reform record and its text, whole or one article at a time, with the in-force or abrogated status the publisher lists it under.
Tools
mx_law_search(query, status?, limit?)— find laws and codes by Spanish words in the name (for example “protección de datos personales”, “amparo”). Searches the publisher’s list of laws in force and its list of abrogated laws, and says which list each result is on, with the DOF date of the original publication and of the last reform (or of the abrogation).mx_law_get(law_id | name, article?, max_chars?)— one law (lfpdppp,ccf,cpeumfor the Constitution, orabro:...for an abrogated one): list status, original and last-reform dates, any note the list carries (for example a scheduled abrogation), the reform decrees with their DOF dates and the text.article("7","1916 Bis") returns one article, flagged when it begins “Se deroga”. Unknown ids returnfound:falsewith a reason.
Auth
Keyless.
Data sources
- Mexico, Cámara de Diputados (Secretaría General, Secretaría de Servicios Parlamentarios), Leyes Federales — the lists of laws in force and abrogated, each law’s reform decrees and its official text.
Status is the list the publisher keeps the law on (vigente or abrogada),
plus any remark the list carries; nothing is derived from the reform record.
Coverage is federal laws and codes plus the Constitution; regulations
(reglamentos), state laws and the Diario Oficial itself are not included.
Text is read from the publisher’s PDF, so tables are flattened and running page
headers are removed; amended text carries the publisher’s own “reformado DOF”
annotations. data_as_of is the date of the live read. Nothing is stored; every
call reads the publisher live.
Tools
- mx_law_search — Search Mexican federal laws and codes by Spanish words in their name (e.g. “protección de datos personales”, “amparo”, “código penal federal”). Searches both the list of laws in force (vigentes) and t
- mx_law_get — Fetch one Mexican federal law or code by law_id (from mx_law_search, e.g. “lfpdppp”, “cpeum” for the Constitution) or by exact name. Returns the name, which list it is on (vigente or abrogada, as the
Tools
mx_law_get— Fetch one Mexican federal law or code by law_id (from mx_law_search, e.g. lfpdppp , cpeum for the Constitution) or by exact name. Returns the name, which list it is on (vigente or abrogada, as the pubmx_law_search— Search Mexican federal laws and codes by Spanish words in their name (e.g. protección de datos personales , amparo , código penal federal ). Searches both the list of laws in force (vigentes) and the