MCP server exposing 2 tools for canada-law.
This URL is a JSON-RPC 2.0 endpoint over HTTP. Issue POST requests with a JSON-RPC body. Browsers and search crawlers land here on GET.
POST https://gateway.pipeworx.io/canada-law/mcp
Content-Type: application/json
{"jsonrpc":"2.0","id":1,"method":"tools/list"}
ca_law_search — Search 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" (all reads more pages and is slower). Returns id, title, type, citation and a link; 25 per page. Federal law only, not provincial or territorial law. Pair with ca_law_get for the text.ca_law_get — Fetch 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. Returns title, citation, in-force status as the source states it (null for regulations, which the source does not flag), dates, and the consolidated text. Pass section (e.g. "5" or "5.1") for one section; without it the text is capped at max_chars with a section list. Schedules are not addressable by section.Code samples (curl / TypeScript / one-click client install), schemas, and the live playground are on the pack page:
https://pipeworx.io/packs/canada-law/
Pipeworx is an open MCP gateway connecting AI agents to live data. pipeworx.io