{"_id":"@ansvar/egyptian-law-mcp","_rev":"2-6a3ca91dd1be19fe08f0fa62c0fd4c6c","name":"@ansvar/egyptian-law-mcp","dist-tags":{"latest":"1.0.1"},"versions":{"1.0.1":{"name":"@ansvar/egyptian-law-mcp","version":"1.0.1","keywords":["mcp","model-context-protocol","egyptian-law","data-protection","cybersecurity","legislation","legal","compliance","ansvar"],"author":{"name":"Ansvar Systems","email":"hello@ansvar.eu"},"license":"Apache-2.0","_id":"@ansvar/egyptian-law-mcp@1.0.1","maintainers":[{"name":"ansvar","email":"jeffrey.von.rotz@ansvar.eu"}],"homepage":"https://ansvar.eu","bugs":{"url":"https://github.com/Ansvar-Systems/Egyptian-law-mcp/issues"},"bin":{"egyptian-law-mcp":"dist/index.js"},"dist":{"shasum":"2dcc85d0bcf4599026bdeac728065286b1e934ea","tarball":"https://registry.npmjs.org/@ansvar/egyptian-law-mcp/-/egyptian-law-mcp-1.0.1.tgz","fileCount":120,"integrity":"sha512-Mtj3ibbJDfQSbjqiuR4GHSFmFGo5c7mmM/IIcZMIJG7vuKn4qR0ouPVPChNDrI4qyBzHEIOfmlIuga/8BBJWAw==","signatures":[{"sig":"MEUCIGbcghY+1jNTjJsAjFsgusAbmio/fZF7cK97BhqLxfLXAiEAzgx3Eg4pIbxJu6NR+v+fMOOEdHxH1GaD4h7PlnKIqlI=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"attestations":{"url":"https://registry.npmjs.org/-/npm/v1/attestations/@ansvar%2fegyptian-law-mcp@1.0.1","provenance":{"predicateType":"https://slsa.dev/provenance/v1"}},"unpackedSize":257574},"main":"dist/index.js","type":"module","engines":{"node":">=18"},"gitHead":"d2251fd0961d0ae0eeff29e28cd0abdc001da6ca","mcpName":"eu.ansvar/egyptian-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/Egyptian-law-mcp.git","type":"git"},"_npmVersion":"10.8.2","description":"Egyptian law database covering data protection, cybersecurity, e-commerce, and criminal law provisions via Model Context Protocol","directories":{},"_nodeVersion":"20.20.0","dependencies":{"tesseract.js":"^7.0.0","@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","better-sqlite3":"^12.6.2","@types/better-sqlite3":"^7.6.13"},"_npmOperationalInternal":{"tmp":"tmp/egyptian-law-mcp_1.0.1_1771781840711_0.22374919430549567","host":"s3://npm-registry-packages-npm-production"},"deprecated":"Ansvar MCP servers are now distributed as source from github.com/Ansvar-Systems/egyptian-law-mcp under Apache 2.0. Self-hosting instructions: see the repo README. Hosted gateway: ansvar.eu"}},"time":{"created":"2026-02-22T17:37:20.640Z","modified":"2026-05-02T05:46:47.296Z","1.0.1":"2026-02-22T17:37:20.849Z"},"bugs":{"url":"https://github.com/Ansvar-Systems/Egyptian-law-mcp/issues"},"author":{"name":"Ansvar Systems","email":"hello@ansvar.eu"},"license":"Apache-2.0","homepage":"https://ansvar.eu","keywords":["mcp","model-context-protocol","egyptian-law","data-protection","cybersecurity","legislation","legal","compliance","ansvar"],"repository":{"url":"git+https://github.com/Ansvar-Systems/Egyptian-law-mcp.git","type":"git"},"description":"Egyptian 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":"# Egyptian Law MCP\n\nEgyptian 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 egyptian-law --transport http https://egyptian-law-mcp.vercel.app/mcp\n```\n\n### Local (npm)\n```bash\nnpx @ansvar/egyptian-law-mcp\n```\n\n## Data Sources\n\nReal legislation is ingested from Egypt's official Public Laws Portal: https://portal.investment.gov.eg/publiclaws.\n\n- Coverage scope: all currently discoverable law detail pages from portal categories and status filters (`All`, `Active`, `Amended`, `Repealed`), and all downloadable PDF attachments on those detail pages.\n- Current corpus snapshot (verified on February 22, 2026): 8 law detail pages (`/publiclaws/details/27` to `/publiclaws/details/34`) and 14 downloadable PDF legal documents ingested into `data/seed/`.\n- Extraction pipeline: `pdftotext` first, with OCR fallback (`tesseract` or `tesseract.js`) for image-based PDFs.\n- OCR note: OCR output is source-derived and may contain recognition noise; no legal text is fabricated.\n- OCR-ingested documents (current corpus):\n  - `eg-law-155-2002` (download `23`)\n  - `eg-law-173-2023` (download `27`)\n  - `eg-law-121-1982-att-29` (download `29`)\n\n## License\n\nApache-2.0\n","readmeFilename":"README.md"}