@pipeworx/canada-law
Connect: https://pipeworx.io/mcp — every tool in the catalog, including @pipeworx/canada-law’s. Install: one-click buttons
Connect to just the @pipeworx/canada-law pack
https://gateway.pipeworx.io/canada-law/mcp — only @pipeworx/canada-law’s own tools, nothing else in the catalog.
No MCP client? Skip the connection: POST https://gateway.pipeworx.io/v1/tools/search_packs {"query":"..."} to find a tool below, GET /v1/tools/<name> for its schema, POST the same URL with arguments for the data — see For AI agents.
Tools: 2
Canadian federal Acts and regulations from the Department of Justice Canada’s Consolidated Acts and Regulations, in English or French: search by title, then read an Act or regulation, its stated status and citation, and its consolidated text, whole or one section at a time. Federal law only; provincial and territorial law is a different publisher.
Tools
ca_law_search(query, lang?, type?, page?)— find titles by words in the name.langisen(default) orfr.typeisact(default),regulationorall(allreads more title lists and is slower). Returns id, title, type, citation and a link; 25 per page,next_pagesays whether to continue. French titles are listed inverted (“Protection des renseignements personnels, Loi sur la”).ca_law_get(id, lang?, section?, max_chars?)— one Act or regulation: title, citation, assent or registration date, the in-force status as the source states it, last-amended date, the date the consolidation is current to, and the text.sectionreturns one section; otherwise the text is capped atmax_charswith a section list. Schedules are not addressable by section. The source flags Acts as in force; it states no flag for regulations, so theirstatusisnullwith anote(nothing is derived).
Auth
Keyless.
Data sources
- Canada, Department of Justice, Consolidated Acts and Regulations (federal) — the consolidated text of federal Acts and regulations, in both official languages.
Consolidations are unofficial; the Statutes of Canada and the Canada Gazette
are the official texts. data_as_of is the date the consolidation is current
to when the call returns a text, otherwise the date of the live read. Read live
on each call; nothing is copied. A search or lookup that finds nothing returns
empty_reason, not an empty success.
Tools
- 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”
- 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. Retu
Tools
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. Returnsca_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