California Code
live DeveloperResearchCalifornia Codes — the text of California statutes, by citation.
2 tools
0ms auth
free tier 50 calls/day
Tools
ca_code_section Get the FULL TEXT of a section of the California Codes — California state statutes — by citation. "Penal Code 187" is code "PEN", section "187". Returns the statutory text, where it sits in the code,
No parameters required.
Try it
Response
ca_codes List the 29 California codes with their subjects — Penal Code is PEN, Vehicle Code is VEH, Labor Code is LAB, and so on. Keyless. Use when you know the subject area but not which code governs it, befo
No parameters required.
Try it
Response
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/california-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/california-code/mcp \
-H "Content-Type: application/json" \
-d '{"jsonrpc":"2.0","id":2,"method":"tools/call","params":{"name":"ca_code_section","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("ca_code_section", {}); ask_pipeworx
// Or ask in plain English:
const answer = await px.ask("california codes — the text of california statutes, by citation");