{"_id":"@ansvar/irish-law-mcp","_rev":"3-5d65c9aa14b926db8153d8a58c0abcda","name":"@ansvar/irish-law-mcp","dist-tags":{"latest":"1.0.3"},"versions":{"1.0.0":{"name":"@ansvar/irish-law-mcp","version":"1.0.0","keywords":["mcp","model-context-protocol","ai","claude","ie-law","ireland","legal","compliance","eisb","ansvar"],"author":{"name":"Ansvar Systems AB","email":"hello@ansvar.ai"},"license":"Apache-2.0","_id":"@ansvar/irish-law-mcp@1.0.0","maintainers":[{"name":"ansvar","email":"jeffrey.von.rotz@ansvar.eu"}],"homepage":"https://github.com/Ansvar-Systems/Ireland-law-mcp#readme","bugs":{"url":"https://github.com/Ansvar-Systems/Ireland-law-mcp/issues"},"bin":{"ireland-law-mcp":"dist/index.js"},"dist":{"shasum":"9381c2ac9860f08c852dde1f7f8d4e3d49f2d211","tarball":"https://registry.npmjs.org/@ansvar/irish-law-mcp/-/irish-law-mcp-1.0.0.tgz","fileCount":115,"integrity":"sha512-I1CQ4rF2Yg5uzN9/a5ydyLJ5vW/1kXn7jkIzdNQUpeMOLeiVIKtR7WdDn/HWXQREI8hJNWf4lJ2sYGmvYIezMQ==","signatures":[{"sig":"MEYCIQCXQPrjmGGxMpd1G2JDZgtX27imI//SMb4QgX/u8VlrJAIhANCT7PsYbLM4Xdv85B7aLEdgrfhwZeLi9CeHK8TJhng9","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":154278},"main":"dist/index.js","type":"module","types":"./dist/index.d.ts","engines":{"node":">=18"},"gitHead":"b9859f230f9c488d638cf43e3685a23960f69180","mcpName":"irish-law-mcp","scripts":{"dev":"node --import tsx src/index.ts","test":"vitest run --exclude '__tests__/contract/**'","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 typecheck && npm test && npm run test:contract","typecheck":"tsc --noEmit -p tsconfig.check.json","test:watch":"vitest","postinstall":"test -d dist || npm run build || true","drift:detect":"node --import tsx scripts/drift-detect.ts","check-updates":"node --import tsx scripts/check-updates.ts","test:contract":"vitest run __tests__/contract/","test:coverage":"vitest run --coverage --exclude '__tests__/contract/**'","prepublishOnly":"npm run build","golden:refresh-hashes":"node --import tsx scripts/refresh-golden-hashes.ts"},"_npmUser":{"name":"ansvar","email":"jeffrey.von.rotz@ansvar.eu"},"repository":{"url":"git+https://github.com/Ansvar-Systems/Ireland-law-mcp.git","type":"git"},"_npmVersion":"11.6.2","description":"Irish Law MCP — English legislation via Model Context Protocol","directories":{},"_nodeVersion":"25.2.1","dependencies":{"@ansvar/mcp-sqlite":"^1.0.3","@modelcontextprotocol/sdk":"^1.25.3"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"tsx":"^4.21.0","vitest":"^4.0.18","typescript":"^5.9.3","@types/node":"^22.15.29","@vercel/node":"^5.6.3","better-sqlite3":"^12.6.2","fast-xml-parser":"^5.3.5","@vitest/coverage-v8":"^4.0.18","@types/better-sqlite3":"^7.6.13"},"_npmOperationalInternal":{"tmp":"tmp/irish-law-mcp_1.0.0_1771572551386_0.07784111269513505","host":"s3://npm-registry-packages-npm-production"},"deprecated":"Ansvar MCP servers are now distributed as source from github.com/Ansvar-Systems/irish-law-mcp under Apache 2.0. Self-hosting instructions: see the repo README. Hosted gateway: ansvar.eu"},"1.0.3":{"name":"@ansvar/irish-law-mcp","version":"1.0.3","keywords":["mcp","model-context-protocol","ai","claude","ie-law","ireland","legal","compliance","eisb","ansvar"],"author":{"name":"Ansvar Systems AB","email":"hello@ansvar.ai"},"license":"Apache-2.0","_id":"@ansvar/irish-law-mcp@1.0.3","maintainers":[{"name":"ansvar","email":"jeffrey.von.rotz@ansvar.eu"}],"homepage":"https://github.com/Ansvar-Systems/Irish-law-mcp#readme","bugs":{"url":"https://github.com/Ansvar-Systems/Irish-law-mcp/issues"},"bin":{"ireland-law-mcp":"dist/index.js"},"dist":{"shasum":"9e94b8cc1a08774d47da583707c6a9f3e1e4d4c0","tarball":"https://registry.npmjs.org/@ansvar/irish-law-mcp/-/irish-law-mcp-1.0.3.tgz","fileCount":115,"integrity":"sha512-vmKsk+OgIl/l9z+ZCtMrgcncIRH7Nw0eF5+vbVqN1ccr4FHFlUVLGaQNS24adblU/lo0n1oPiLX37rlRw47hsA==","signatures":[{"sig":"MEUCIQC4urmEm1qIqjAQ8fzrLws9GwEiK/kUWPs1VKQv0YPb4QIgem3VQOTQHQtgQp6wwgWrZirgDiGgKXQsKXw7W4l3mEY=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"attestations":{"url":"https://registry.npmjs.org/-/npm/v1/attestations/@ansvar%2firish-law-mcp@1.0.3","provenance":{"predicateType":"https://slsa.dev/provenance/v1"}},"unpackedSize":154548},"main":"dist/index.js","type":"module","types":"./dist/index.d.ts","engines":{"node":">=18"},"gitHead":"600a88e350008fb998e8e0004af8eeeacca8a3cf","mcpName":"eu.ansvar/irish-law-mcp","scripts":{"dev":"node --import tsx src/index.ts","test":"vitest run --exclude '__tests__/contract/**'","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 typecheck && npm test && npm run test:contract","typecheck":"tsc --noEmit -p tsconfig.check.json","test:watch":"vitest","postinstall":"test -d dist || npm run build || true","drift:detect":"node --import tsx scripts/drift-detect.ts","check-updates":"node --import tsx scripts/check-updates.ts","test:contract":"vitest run __tests__/contract/","test:coverage":"vitest run --coverage --exclude '__tests__/contract/**'","prepublishOnly":"npm run build","golden:refresh-hashes":"node --import tsx scripts/refresh-golden-hashes.ts"},"_npmUser":{"name":"ansvar","email":"jeffrey.von.rotz@ansvar.eu"},"repository":{"url":"git+https://github.com/Ansvar-Systems/Irish-law-mcp.git","type":"git"},"_npmVersion":"10.8.2","description":"Irish Law MCP — English legislation 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":"^4.0.18","typescript":"^5.9.3","@types/node":"^22.15.29","@vercel/node":"^5.6.3","better-sqlite3":"^12.6.2","fast-xml-parser":"^5.3.5","@vitest/coverage-v8":"^4.0.18","@types/better-sqlite3":"^7.6.13"},"_npmOperationalInternal":{"tmp":"tmp/irish-law-mcp_1.0.3_1771773783602_0.8527078946206339","host":"s3://npm-registry-packages-npm-production"},"deprecated":"Ansvar MCP servers are now distributed as source from github.com/Ansvar-Systems/irish-law-mcp under Apache 2.0. Self-hosting instructions: see the repo README. Hosted gateway: ansvar.eu"}},"time":{"created":"2026-02-20T07:29:11.323Z","modified":"2026-05-02T05:47:19.353Z","1.0.0":"2026-02-20T07:29:11.529Z","1.0.3":"2026-02-22T15:23:03.759Z"},"bugs":{"url":"https://github.com/Ansvar-Systems/Irish-law-mcp/issues"},"author":{"name":"Ansvar Systems AB","email":"hello@ansvar.ai"},"license":"Apache-2.0","homepage":"https://github.com/Ansvar-Systems/Irish-law-mcp#readme","keywords":["mcp","model-context-protocol","ai","claude","ie-law","ireland","legal","compliance","eisb","ansvar"],"repository":{"url":"git+https://github.com/Ansvar-Systems/Irish-law-mcp.git","type":"git"},"description":"Irish Law MCP — English legislation via Model Context Protocol","maintainers":[{"name":"ansvar","email":"jeffrey.von.rotz@ansvar.eu"}],"readme":"# Ireland Law MCP\n\nProduction-oriented MCP server for Irish legislation, including:\n\n- Full-text statute/provision search\n- Provision retrieval and citation helpers\n- EU cross-reference endpoints\n- Golden contract tests\n- Scheduled freshness/drift automation\n- Vercel streamable HTTP deployment\n\n## Requirements\n\n- Node.js 18+ (Node 20/22 recommended)\n- npm\n\n## Local Setup\n\n```bash\nnpm ci\nnpm run typecheck\nnpm run build\nnpm test\n```\n\nRun as stdio MCP server:\n\n```bash\nnpm run dev\n```\n\nUse an explicit DB path:\n\n```bash\nIRISH_LAW_DB_PATH=/absolute/path/to/database.db npm run dev\n```\n\n## Database Pipeline\n\nFetch/refresh source material:\n\n```bash\nnpm run ingest\n```\n\nBuild SQLite from seed files:\n\n```bash\nnpm run build:db\n```\n\nEU cross-reference seed data is loaded from:\n\n`data/source/eu-references.json`\n\n## Testing\n\nRun all tests:\n\n```bash\nnpm test\n```\n\nRun contract/golden suite only:\n\n```bash\nnpm run test:contract\n```\n\nNightly contract mode (enables upstream assertions):\n\n```bash\nCONTRACT_MODE=nightly npm run test:contract\n```\n\n## Drift and Freshness Automation\n\nCheck upstream data freshness:\n\n```bash\nnpm run check-updates\n```\n\nDetect drift against upstream hash anchors:\n\n```bash\nnpm run drift:detect\n```\n\nGolden hash anchors are defined in `fixtures/golden-hashes.json`.\nInitialize or refresh hashes:\n\n```bash\nnpm run golden:refresh-hashes\n```\n\n## Vercel Deployment\n\nThis repo deploys `/mcp` (Streamable HTTP), `/health`, and `/version`.\n\nFor GitHub Actions deployment, configure repository secrets:\n\n- `VERCEL_TOKEN`\n- `VERCEL_ORG_ID`\n- `VERCEL_PROJECT_ID`\n\nDeployment workflow:\n\n- `.github/workflows/vercel-deploy.yml`\n\nVercel build fetches `data/database.db.gz` from the GitHub release matching package version (via `scripts/download-db.sh`).\n\n## GitHub Workflows\n\n- `ci.yml`: build, tests, coverage, contract tests, scheduled nightly contract mode\n- `check-updates.yml`: daily freshness check + issue creation on detected updates\n- `drift-detect.yml`: nightly drift detection + issue creation on hash mismatch\n- `vercel-deploy.yml`: production deploy (when Vercel secrets are set)\n","readmeFilename":"README.md"}