@pipeworx/chile-law
Connect: https://pipeworx.io/mcp — every tool in the catalog, including @pipeworx/chile-law’s. Install: one-click buttons
Connect to just the @pipeworx/chile-law pack
https://gateway.pipeworx.io/chile-law/mcp — only @pipeworx/chile-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
Chilean national legislation from the Library of the National Congress (Ley Chile): search laws, codes, decrees with force of law, decrees and resolutions by Spanish words or number, then read a norm’s current consolidated text, whole or one article at a time, with its Diario Oficial citation and in-force status.
Tools
cl_law_search(query, sort?, exact?, page?)— find norms by words or number (for exampleley 19628,protección de la vida privada). Returns id_norma, type and number, title, issuing ministry, promulgation/publication dates, an in-force flag and a link. Ten per page; sort by relevance (default), newest or oldest. Relevance is the publisher’s own and is loose for word queries; a number query (ley 19628) puts that law first.cl_law_get(id_norma | law_number, article?, transitory?, occurrence?, max_chars?)— one norm by id_norma (from search) or, for laws, by number. Returns type, number, title, issuing body, dates, citation, repealed flag, subject terms and the text.article("1","4 bis","1 transitorio") returns one article with its own repeal flag and version date; codes that embed several texts repeat article numbers, sooccurrencepicks among them. Unknown ids returnfound:falsewith a reason.
Auth
Keyless.
Data sources
- Chile, Biblioteca del Congreso Nacional, Ley Chile legislation database — norm records and consolidated texts.
Text is Spanish, as consolidated by the Library; the Diario Oficial text is the
authentic one. data_as_of is the date of the live read; text_version_date
is the date the consolidated version was last updated when the database gives
one (some codes carry no version date). Read live on each call; nothing is
copied. in_force in search reflects whether the database records a repeal
date; deferred-effect provisions are not modelled. A search with no match
returns empty_reason, not an empty success.
A whole code is large (the Civil Code is about 3 MB of XML), so prefer
article for codes; the unfiltered text is capped at max_chars.
Tools
- cl_law_search — Search Chilean national legislation (leyes, códigos, decretos con fuerza de ley, decretos, resoluciones) by words in Spanish or by number, e.g. “ley 19628”, “protección de la vida privada”, “código ci
- cl_law_get — Fetch one Chilean norm by id_norma (from cl_law_search, e.g. 141599) or, for laws, by law_number (e.g. 19628). Returns type and number, title, issuing body, promulgation and publication dates, Diario
Tools
cl_law_get— Fetch one Chilean norm by id_norma (from cl_law_search, e.g. 141599) or, for laws, by law_number (e.g. 19628). Returns type and number, title, issuing body, promulgation and publication dates, Diariocl_law_search— Search Chilean national legislation (leyes, códigos, decretos con fuerza de ley, decretos, resoluciones) by words in Spanish or by number, e.g. ley 19628 , protección de la vida privada , código civil