MCP server for Pakistani law: search and cite federal statutes and Supreme Court judgments.
Config is the same across clients — only the file and path differ.
{
"mcpServers": {
"io-github-matematicsolutions-pk-eli-mcp": {
"command": "<see-readme>",
"args": []
}
}
}Are you the author?
Add this badge to your README to show your security score and help users find safe servers.
MCP server for Pakistani law: search and cite federal statutes and Supreme Court judgments.
No automated test available for this server. Check the GitHub README for setup instructions.
Five weighted categories — click any category to see the underlying evidence.
No known CVEs.
No package registry to scan.
This server is missing a description. Tools and install config are also missing.If you've used it, help the community.
Add informationBe the first to review
Have you used this server?
Share your experience — it helps other developers decide.
Sign in to write a review.
Others in legal
Proof primitive for AI agents on MultiversX. Anchor file hashes on-chain as verifiable proofs.
87 tools for Korean law — statutes, precedents, ordinances, interpretations | MCP Server · CLI · npm
956k Swiss court decisions: full-text search, citation graph, statute lookup (DE/FR/IT)
Belgian legislation via MCP — full-text search across statutes and provisions
MCP Security Weekly
Get CVE alerts and security updates for io.github.matematicsolutions/pk-eli-mcp and similar servers.
Start a conversation
Ask a question, share a tip, or report an issue.
Sign in to join the discussion.
MCP server for Pakistani law: 967 federal statutes and 1,414 Supreme Court of Pakistan judgments, full text, with a strict citation contract on every response.
Pakistan publishes no machine-readable legal API, so this connector is corpus-based: it serves two public HuggingFace mirrors of official sources instead of querying a government endpoint live.
| Collection | Source | Snapshot | License |
|---|---|---|---|
| Federal statutes (967) | Pakistan_Laws_Dataset, collected from pakistancode.gov.pk PDFs (Ministry of Law and Justice) | 2025-01-30 | ODC-BY 1.0 |
| Supreme Court judgments (1,414) | supreme-court-of-pak-judgments | 2024-07-26 | MIT |
Honest limits, stated up front: both collections are static snapshots.
Amendments after 2025-01-30 and judgments after 2024-07-26 are absent, and the
judgment corpus is a subset of the Court's output. Every response repeats this
in dataset_note. Verify currency against pakistancode.gov.pk
and scp.gov.pk before relying on a provision.
| Tool | What it does |
|---|---|
pk_search_laws | Keyword search over the 967 federal statutes (title-weighted). First call downloads the 47 MB corpus once, then serves from cache. |
pk_get_law | Full statute text by law_id (truncated at ~300,000 characters). |
pk_case_search | Server-side full-text search over the Supreme Court judgments. |
pk_get_decision | One judgment's full text, by row_idx or registry case_id. |
pk_verify_citations | Anti-hallucination check: extracts Pakistani legal citations from any text and verifies each against the corpus. |
pk_verify_citations)Run it on a drafted answer, memo or pleading before it reaches a reader. The tool extracts every checkable citation and verifies it against the corpus:
section 302 of the Pakistan Penal Code,
section 10A of the Pakistan Study Centres Act, 1976, sections 6 and 7 of ...,
sub-section (1) of section 6 of ...;Act No. XLV of 1860, Ordinance No. LII of 2000 (Roman or Arabic);Article 184(3) of the Constitution (the tail is required -
a bare Article 5 could be any instrument and is deliberately ignored);Crl.A. 93/2013, Criminal Appeal No. 93 of 2013.The semantics are deliberately hard:
HALLUCINATION_DETECTED
with isError=true, plus a range hint of what does exist (section 999 does not exist in this act; 59 sections are machine-detectable in its text, numbered section 1-66).NO_CITATIONS_FOUND is not a success - it means there was nothing to check.section 302 of the Pakistan Penal Code (punishment of qatl-i-amd)) is
content-checked against the real provision text with a character-trigram match.
A mismatch is a review signal, never a hard block.gaps field. The
judgment corpus is a subset and roughly half the statute PDFs carry no
machine-readable coordinate header, so an unresolvable citation is reported as
out_of_corpus ("existence UNKNOWN, not disproven"), never as a hallucination.The parse-verify-report pattern is adapted from
korean-law-mcp (MIT) - see
THIRD_PARTY.md. The same pattern shipped first in it-eli-mcp v0.6.0; the fleet
rollout plan lives in docs/VERIFY-ROLLOUT.md.
Pakistan has not deployed ELI. Every response still carries the fleet contract:
eli_uri -