@pipeworx/pakistan-law

Connect: https://pipeworx.io/mcp — every tool in the catalog, including @pipeworx/pakistan-law’s. Install: one-click buttons

Connect to just the @pipeworx/pakistan-law pack

https://gateway.pipeworx.io/pakistan-law/mcp — only @pipeworx/pakistan-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: 3

Pakistan federal statutes: search the register of federal Acts and read the text of a single section, for example section 302 of the Pakistan Penal Code 1860. Keyless; every tool is a live call per request.

Tools

  • pk_search_acts(query?, year?, category?, limit?) - find federal Acts by words in the title, optionally by year and subject category (Criminal, Civil, Family, Labour, Banking, Evidence and others). Returns act_id, title, category, citation (for example “XLV of 1860”) and promulgation date.
  • pk_get_section(act | act_id, section) - the text of one section, for example {"act":"Penal Code","section":"302"}. Returns found:false with a reason when the section cannot be located, never an empty string.
  • pk_get_act(act | act_id) - page count, opening text and the section headings of one Act, to pick a section from.

Auth

Keyless.

Data sources

  • Ministry of Law and Justice, Government of Pakistan, The Pakistan Code (federal statute register and the Ministry’s published Act texts).

Not included

Supreme Court of Pakistan judgments. The Court’s website refuses every non-browser client (including from Cloudflare’s network), and this pack does not work around that.

Notes

Section text is machine-extracted from the Ministry’s published copy, so footnote numbers and amendment brackets appear as printed and layout can be rough. Check the official copy before citing. Acts marked “Under Review” in the register are still the published text.

Tools

  • pk_search_acts — Search Pakistan’s federal statute register (The Pakistan Code, Ministry of Law and Justice) by words in the Act title, optionally filtered by year and subject category (Criminal, Civil, Family, Labour
  • pk_get_section — Fetch the text of one section of a Pakistani federal Act, e.g. section 302 of the Pakistan Penal Code 1860 (punishment of qatl-i-amd) or section 497 CrPC. Give act (title words like “Penal Code”) or a
  • pk_get_act — Overview of one Pakistani federal Act: page count, opening text (title, preamble) and the list of section headings, so you can pick a section for pk_get_section. Give act (title words) or act_id.

Tools

  • pk_get_act — Overview of one Pakistani federal Act: page count, opening text (title, preamble) and the list of section headings, so you can pick a section for pk_get_section. Give act (title words) or act_id.
  • pk_get_section — Fetch the text of one section of a Pakistani federal Act, e.g. section 302 of the Pakistan Penal Code 1860 (punishment of qatl-i-amd) or section 497 CrPC. Give act (title words like Penal Code ) or ac
  • pk_search_acts — Search Pakistan's federal statute register (The Pakistan Code, Ministry of Law and Justice) by words in the Act title, optionally filtered by year and subject category (Criminal, Civil, Family, Labour

Regenerated from source · build November 11, 2026