MCP server exposing 2 tools for chile-law.
This URL is a JSON-RPC 2.0 endpoint over HTTP. Issue POST requests with a JSON-RPC body. Browsers and search crawlers land here on GET.
POST https://gateway.pipeworx.io/chile-law/mcp
Content-Type: application/json
{"jsonrpc":"2.0","id":1,"method":"tools/list"}
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 civil". Returns id_norma, type and number, title, issuing ministry, publication date (Diario Oficial), in-force flag, and a link; pass page for more. sort: "relevance" (default), "newest" or "oldest". Pair with cl_law_get for the text.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 Oficial citation, whether it is repealed (derogado), the version date of the current consolidated text, subject terms, and the text. Pass article (e.g. "1" or "4 bis") for one article only; otherwise the text is capped at max_chars with the article count.Code samples (curl / TypeScript / one-click client install), schemas, and the live playground are on the pack page:
https://pipeworx.io/packs/chile-law/
Pipeworx is an open MCP gateway connecting AI agents to live data. pipeworx.io