Canada Law
liveGovernmentLegalCanada law -- the Department of Justice Canada's Consolidated Acts and Regulations (federal law only), in English or French.
Tools
ca_law_searchSearch Canadian federal Acts and regulations by words in the title, in English (lang "en", default) or French ("fr"), e.g. "privacy" or "criminal code". type is "act" (default), "regulation" or "all"
No parameters required.
Try it
ca_law_getFetch one Canadian federal Act or regulation by id from ca_law_search (e.g. "P-8.6" for the Personal Information Protection and Electronic Documents Act, or "SOR-2007-151"), in English or French. Retu
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/canada-law/mcp \
-H "Content-Type: application/json" \
-d '{"jsonrpc":"2.0","id":1,"method":"tools/list"}'curl -X POST https://gateway.pipeworx.io/canada-law/mcp \
-H "Content-Type: application/json" \
-d '{"jsonrpc":"2.0","id":2,"method":"tools/call","params":{"name":"ca_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("ca_law_search", {});// Or ask in plain English:
const answer = await px.ask("canada law -- the department of justice canada's consolidated acts and regulations (federal law only), in english or french");