Puerto Rico Code
liveLegislatureDeveloperNewsPuerto Rico statutes — "leyes" (acts) of the Puerto Rico Legislature, section/article lookup and search, including the "33 LPRA 5001"-style citation to Leyes de Puerto Rico Anotadas (LPRA).
Tools
pr_statuteGet the text of a Puerto Rico "ley" (act) by citation — accepts an LPRA citation like "33 LPRA 5001" (33 L.P.R.A. § 5001, the Penal Code's murder-related provisions title) or "31 LPRA 5311" (the Civil
No parameters required.
Try it
pr_searchSearch Puerto Rico statutes by topic or keyword in Spanish (e.g. "homicidio", "arrendamiento", "violencia doméstica", "contratos"). Searches two tiers: REAL full-text search over the article bodies of
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/puerto-rico-code/mcp \
-H "Content-Type: application/json" \
-d '{"jsonrpc":"2.0","id":1,"method":"tools/list"}'curl -X POST https://gateway.pipeworx.io/puerto-rico-code/mcp \
-H "Content-Type: application/json" \
-d '{"jsonrpc":"2.0","id":2,"method":"tools/call","params":{"name":"pr_statute","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("pr_statute", {});// Or ask in plain English:
const answer = await px.ask("puerto rico statutes — "leyes" (acts) of the puerto rico legislature, section/article lookup and search, including the "33 lpra 5001"-style citation to leyes de puerto rico anotadas (lpra)");