Chile Law
liveLegalLegislatureDeveloperChile law -- national legislation (Biblioteca del Congreso Nacional de Chile, "Ley Chile": laws, codes, decrees with force of law, decrees, resolutions).
Tools
cl_law_searchSearch 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
No parameters required.
Try it
cl_law_getFetch 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
No parameters required.
Try it
Test with curl
The gateway speaks JSON-RPC 2.0 over HTTP POST. You can test any pack directly from the terminal.
curl -X POST https://gateway.pipeworx.io/chile-law/mcp \
-H "Content-Type: application/json" \
-d '{"jsonrpc":"2.0","id":1,"method":"tools/list"}'curl -X POST https://gateway.pipeworx.io/chile-law/mcp \
-H "Content-Type: application/json" \
-d '{"jsonrpc":"2.0","id":2,"method":"tools/call","params":{"name":"cl_law_search","arguments":{}}}'Use with the SDK
Install @pipeworx/sdk to call tools from any TypeScript/Node project.
import { Pipeworx } from '@pipeworx/sdk';
const px = new Pipeworx();
const result = await px.call("cl_law_search", {});// Or ask in plain English:
const answer = await px.ask("chile law -- national legislation (biblioteca del congreso nacional de chile, "ley chile": laws, codes, decrees with force of law, decrees, resolutions)");