{"_id":"@ansvar/pakistani-law-mcp","_rev":"2-9ef48bde3f1fbbcd056a57ca8d08f55b","name":"@ansvar/pakistani-law-mcp","dist-tags":{"latest":"1.0.0"},"versions":{"1.0.0":{"name":"@ansvar/pakistani-law-mcp","version":"1.0.0","keywords":["mcp","model-context-protocol","pakistani-law","data-protection","cybersecurity","legislation","legal","compliance","ansvar"],"author":{"name":"Ansvar Systems","email":"hello@ansvar.eu"},"license":"Apache-2.0","_id":"@ansvar/pakistani-law-mcp@1.0.0","maintainers":[{"name":"ansvar","email":"jeffrey.von.rotz@ansvar.eu"}],"homepage":"https://ansvar.eu","bugs":{"url":"https://github.com/Ansvar-Systems/Pakistani-law-mcp/issues"},"bin":{"pakistani-law-mcp":"dist/index.js"},"dist":{"shasum":"d0534b96a5626416c1b596fbb698289b3f583886","tarball":"https://registry.npmjs.org/@ansvar/pakistani-law-mcp/-/pakistani-law-mcp-1.0.0.tgz","fileCount":120,"integrity":"sha512-mtUyiu1f78Dmrmse62w8DoW/VSNGJBAsqoN1Y8PFNdnxSSkC/6rYaJkmcw+KovEESMJvxo4vJjKeD0fJ11JUYA==","signatures":[{"sig":"MEYCIQChioN/nOY9UXNWKd6duAWGrHT/4f1GP8AJXavfby1NXwIhAPSPxKtMw4uWWhBknouaAWF9Mu8tUKjnjhPE0Pv+15av","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"attestations":{"url":"https://registry.npmjs.org/-/npm/v1/attestations/@ansvar%2fpakistani-law-mcp@1.0.0","provenance":{"predicateType":"https://slsa.dev/provenance/v1"}},"unpackedSize":259636},"main":"dist/index.js","type":"module","engines":{"node":">=18"},"gitHead":"9701c522948fbe417c618c4ba68157bd2882e5b7","mcpName":"eu.ansvar/pakistani-law-mcp","scripts":{"dev":"node --import tsx src/index.ts","lint":"tsc --noEmit","test":"vitest run","build":"tsc","start":"node dist/index.js","ingest":"node --import tsx scripts/ingest.ts","build:db":"node --import tsx scripts/build-db.ts","validate":"npm run lint && npm test && npm run test:contract","test:watch":"vitest","postinstall":"test -d dist || npm run build || true","drift:detect":"node --import tsx scripts/drift-detect.ts","test:contract":"vitest run __tests__/contract/","test:coverage":"vitest run --coverage","prepublishOnly":"npm run build"},"_npmUser":{"name":"ansvar","email":"jeffrey.von.rotz@ansvar.eu"},"overrides":{"ajv":"^8.18.0","undici":"^7.0.0","path-to-regexp":"^8.0.0"},"repository":{"url":"git+https://github.com/Ansvar-Systems/Pakistani-law-mcp.git","type":"git"},"_npmVersion":"10.8.2","description":"Pakistani law database covering data protection, cybersecurity, e-commerce, and criminal law provisions via Model Context Protocol","directories":{},"_nodeVersion":"20.20.0","dependencies":{"@ansvar/mcp-sqlite":"^1.0.3","@modelcontextprotocol/sdk":"^1.25.3"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"tsx":"^4.21.0","vitest":"^3.0.0","typescript":"^5.9.3","@types/node":"^22.15.29","@vercel/node":"^5.6.4","tesseract.js":"^5.1.1","better-sqlite3":"^12.6.2","@types/better-sqlite3":"^7.6.13"},"_npmOperationalInternal":{"tmp":"tmp/pakistani-law-mcp_1.0.0_1771775159740_0.18623090735063785","host":"s3://npm-registry-packages-npm-production"},"deprecated":"Ansvar MCP servers are now distributed as source from github.com/Ansvar-Systems/pakistani-law-mcp under Apache 2.0. Self-hosting instructions: see the repo README. Hosted gateway: ansvar.eu"}},"time":{"created":"2026-02-22T15:45:59.565Z","modified":"2026-05-02T05:48:08.251Z","1.0.0":"2026-02-22T15:45:59.881Z"},"bugs":{"url":"https://github.com/Ansvar-Systems/Pakistani-law-mcp/issues"},"author":{"name":"Ansvar Systems","email":"hello@ansvar.eu"},"license":"Apache-2.0","homepage":"https://ansvar.eu","keywords":["mcp","model-context-protocol","pakistani-law","data-protection","cybersecurity","legislation","legal","compliance","ansvar"],"repository":{"url":"git+https://github.com/Ansvar-Systems/Pakistani-law-mcp.git","type":"git"},"description":"Pakistani law database covering data protection, cybersecurity, e-commerce, and criminal law provisions via Model Context Protocol","maintainers":[{"name":"ansvar","email":"jeffrey.von.rotz@ansvar.eu"}],"readme":"# Pakistani Law MCP\n\nPakistani law database for cybersecurity compliance via Model Context Protocol (MCP).\n\n## Features\n\n- **Full-text search** across legislation provisions (FTS5 with BM25 ranking)\n- **Article-level retrieval** for specific legal provisions\n- **Citation validation** to prevent hallucinated references\n- **Currency checks** to verify if laws are still in force\n\n## Quick Start\n\n### Claude Code (Remote)\n```bash\nclaude mcp add pakistani-law --transport http https://pakistani-law-mcp.vercel.app/mcp\n```\n\n### Local (npm)\n```bash\nnpx @ansvar/pakistani-law-mcp\n```\n\n## Data Sources\n\nReal legislation ingested from The Pakistan Code (official federal law portal): https://pakistancode.gov.pk/english/index.php\n\n- 1030 laws indexed from official A-Z listing\n- 1030 laws ingested into the seed corpus (100% indexed-law coverage)\n- 1018 laws ingested from direct official PDF text extraction (`pdftotext`)\n- 7 laws ingested from OCR text of official image-only PDFs\n- 2 laws ingested via equivalent official duplicate entries where canonical PDF endpoints were broken\n- 3 laws ingested from current public mirror sources after official PDF endpoints returned persistent `404`\n\nFallback source details and per-law provenance are documented in `REAL_INGESTION_REPORT.md`.\n\n## License\n\nApache-2.0\n\n\n---\n\n## Important Disclaimers\n\n### Not Legal Advice\n\n> **THIS TOOL IS NOT LEGAL ADVICE**\n>\n> Statute text is sourced from official government publications. However:\n> - This is a **research tool**, not a substitute for professional legal counsel\n> - **Coverage may be incomplete** — verify critical provisions against primary sources\n> - **Verify all citations** against the official legal portal before relying on them professionally\n> - Laws change — check the `about` tool for database freshness date\n\n### Client Confidentiality\n\nWhen using the remote endpoint, queries are processed by third-party infrastructure\n(Vercel, Claude API). For privileged or confidential legal matters, use the local\nnpm package or on-premise deployment.\n\n**Before using professionally, read:** [DISCLAIMER.md](DISCLAIMER.md) | [PRIVACY.md](PRIVACY.md)\n\n---\n\n## Open Law\n\nThis server is part of **Ansvar Open Law** — free, structured access to legislation\nfrom 70+ jurisdictions worldwide via the Model Context Protocol.\n\n**Browse all jurisdictions ->** [ansvar.eu/open-law](https://ansvar.eu/open-law)\n\n## Ansvar MCP Network\n\nAnsvar Open Law is part of the broader **Ansvar MCP Network** — 80+ servers covering\nglobal legislation, EU/US compliance frameworks, and cybersecurity standards.\n\n| Category | Coverage |\n|----------|----------|\n| **Legislation** | 70+ jurisdictions worldwide |\n| **EU Compliance** | 49 regulations, 2,693 articles |\n| **US Compliance** | 15 federal & state regulations |\n| **Security Frameworks** | 261 frameworks, 1,451 controls |\n| **Cybersecurity** | 200K+ CVEs, STRIDE patterns, sanctions |\n\n**Explore the full network ->** [ansvar.ai/mcp](https://ansvar.ai/mcp)\n\n---\n\nBuilt by [Ansvar Systems](https://ansvar.eu) | [ansvar.eu/open-law](https://ansvar.eu/open-law)\n","readmeFilename":"README.md"}