@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: 5

Pakistan federal statutes and High Court judgments: search the register of federal Acts, read a single section (for example section 302 of the Pakistan Penal Code 1860), and search and read judgments of the Islamabad, Sindh, Peshawar and Balochistan High Courts. 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.
  • pk_search_judgments(court, query?, year?, reported_only?, limit?) - search a High Court’s published judgments: islamabad, sindh, peshawar or balochistan. Returns case title, case number, law-report citation (PLD, SCMR, PCrLJ, YLR, MLD and others), decision date, bench and a judgment link. What query matches differs by court (Islamabad: headnotes and case details; Sindh: party names; Peshawar: case title and remarks; Balochistan: title and citation) and every result says so. lahore is accepted and returns an explicit available:false result naming the court (see Not included).
  • pk_get_judgment(judgment_url, offset?, max_chars?) - the text of one judgment from a link returned by the search, in pages (next_offset). A scanned judgment with no text layer returns found:false instead of an empty string; some Peshawar judgments are scanned.

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).
  • Islamabad High Court, case law (judgments and orders).
  • High Court of Sindh, caselaw (judgments and orders).
  • Peshawar High Court, reported judgments.
  • High Court of Balochistan, reported and significant judgments.

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.
  • Lahore High Court judgments. The court’s judgments register did not answer from Cloudflare’s network or from an ordinary laptop connection when tested on 2026-11-11, and the court’s second research site presents a certificate for a different host name. pk_search_judgments with court: "lahore" says so plainly rather than returning an empty list.

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.

Judgment-search coverage is whatever each court publishes: Peshawar lists reported judgments only; Balochistan lists titles and citations only (no decision date); Sindh’s year is the year the case was filed; Islamabad lists reported and unreported judgments and orders. Balochistan’s list is assembled from the court’s per-judge pages and cached for six hours per server instance.

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.
  • pk_search_judgments — Search judgments of Pakistan’s High Courts: Islamabad High Court, High Court of Sindh, Peshawar High Court and High Court of Balochistan (Lahore High Court returns an explicit unavailable result). Giv
  • pk_get_judgment — Read the text of one Pakistani High Court judgment from the judgment_url returned by pk_search_judgments (Islamabad, Sindh, Peshawar or Balochistan). Returns extracted text in pages of max_chars with

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_judgment — Read the text of one Pakistani High Court judgment from the judgment_url returned by pk_search_judgments (Islamabad, Sindh, Peshawar or Balochistan). Returns extracted text in pages of max_chars with
  • 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
  • pk_search_judgments — Search judgments of Pakistan's High Courts: Islamabad High Court, High Court of Sindh, Peshawar High Court and High Court of Balochistan (Lahore High Court returns an explicit unavailable result). Giv

Regenerated from source · build November 15, 2026