Puerto Rico Code

liveLegislatureDeveloperNews

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).

2tools
0msauth
free tier50 calls/day

Tools

pr_statute

Get 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

Test with curl

The gateway speaks JSON-RPC 2.0 over HTTP POST. You can test any pack directly from the terminal.

List available tools
bash
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"}'
Call a tool
bash
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.

TypeScript
import { Pipeworx } from '@pipeworx/sdk';
const px = new Pipeworx();
const result = await px.call("pr_statute", {});
ask_pipeworx
// 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)");