{"_id":"@ansvar/slovenian-law-mcp","_rev":"3-bd1efb16f1de7b4b058716a339362ca6","name":"@ansvar/slovenian-law-mcp","dist-tags":{"latest":"1.1.1"},"versions":{"1.1.0":{"name":"@ansvar/slovenian-law-mcp","version":"1.1.0","keywords":["mcp","model-context-protocol","ai","claude","slovenian-law","slovenia","legal","compliance","pisrs","pis","sodnapraksa","ansvar"],"author":{"name":"Ansvar Systems AB","email":"hello@ansvar.ai"},"license":"Apache-2.0","_id":"@ansvar/slovenian-law-mcp@1.1.0","maintainers":[{"name":"ansvar","email":"jeffrey.von.rotz@ansvar.eu"}],"homepage":"https://github.com/Ansvar-Systems/Slovenian-law-mcp#readme","bugs":{"url":"https://github.com/Ansvar-Systems/Slovenian-law-mcp/issues"},"bin":{"slovenian-law-mcp":"dist/index.js"},"dist":{"shasum":"945ce849a2685610799b773518953c0124f3d237","tarball":"https://registry.npmjs.org/@ansvar/slovenian-law-mcp/-/slovenian-law-mcp-1.1.0.tgz","fileCount":127,"integrity":"sha512-rewrYwBcFM5INdGHplcH9GafB/mN38WatCANGuglIlIEXp+zQVqcwREEjdUI7w/uuDAeo02cfLUzkYm8ptSEow==","signatures":[{"sig":"MEUCIQCXRoQNjHYCKUknKCw5BphS6Z3eTqkr/SYCMmTEyOyLGgIgBIKdWykyaIDGkZb2bOx5nHMsthOc+VAMxha+4Kd36Ps=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":44525788},"main":"dist/index.js","type":"module","types":"./dist/index.d.ts","engines":{"node":">=18"},"gitHead":"f016e90cf43039e9e35faf5dec637334a254fcd6","mcpName":"eu.ansvar/slovenian-law-mcp","scripts":{"dev":"tsx src/index.ts","test":"vitest run","build":"tsc","start":"node dist/index.js","ingest":"tsx scripts/ingest-pis.ts","build:db":"tsx scripts/build-db.ts","ingest:all":"tsx scripts/auto-ingest-all-statutes.ts","test:watch":"vitest","audit:seeds":"tsx scripts/audit-seeds.ts","postinstall":"test -d dist || npm run build || true","fetch:eurlex":"tsx scripts/fetch-eurlex-metadata.ts","ingest:cases":"tsx scripts/ingest-sodnapraksa.ts","build:db:paid":"tsx scripts/build-db-paid.ts","check-updates":"tsx scripts/check-updates.ts","test:coverage":"vitest run --coverage","populate:xrefs":"tsx scripts/populate-cross-references.ts","prepublishOnly":"npm run build","ingest:prep-works":"tsx scripts/ingest-preparatory-works.ts","extract:definitions":"tsx scripts/extract-definitions.ts","import:eurlex-documents":"tsx scripts/import-eurlex-documents.ts"},"_npmUser":{"name":"ansvar","email":"jeffrey.von.rotz@ansvar.eu"},"repository":{"url":"git+https://github.com/Ansvar-Systems/Slovenian-law-mcp.git","type":"git"},"_npmVersion":"11.6.2","description":"Production-grade Slovenian legal research MCP server with comprehensive statute coverage and EU law cross-references","directories":{},"_nodeVersion":"25.2.1","dependencies":{"@ansvar/mcp-sqlite":"^1.0.0","@modelcontextprotocol/sdk":"^1.25.3"},"_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","fast-xml-parser":"^5.3.5"},"_npmOperationalInternal":{"tmp":"tmp/slovenian-law-mcp_1.1.0_1771066463354_0.7949879576411782","host":"s3://npm-registry-packages-npm-production"},"deprecated":"Ansvar MCP servers are now distributed as source from github.com/Ansvar-Systems/slovenian-law-mcp under Apache 2.0. Self-hosting instructions: see the repo README. Hosted gateway: ansvar.eu"},"1.1.1":{"name":"@ansvar/slovenian-law-mcp","version":"1.1.1","keywords":["mcp","model-context-protocol","ai","claude","slovenian-law","slovenia","legal","compliance","pisrs","pis","sodnapraksa","ansvar"],"author":{"name":"Ansvar Systems AB","email":"hello@ansvar.ai"},"license":"Apache-2.0","_id":"@ansvar/slovenian-law-mcp@1.1.1","maintainers":[{"name":"ansvar","email":"jeffrey.von.rotz@ansvar.eu"}],"homepage":"https://github.com/Ansvar-Systems/Slovenian-law-mcp#readme","bugs":{"url":"https://github.com/Ansvar-Systems/Slovenian-law-mcp/issues"},"bin":{"slovenian-law-mcp":"dist/index.js"},"dist":{"shasum":"de474a3af22d5becba00b687e1d9ec46014c7796","tarball":"https://registry.npmjs.org/@ansvar/slovenian-law-mcp/-/slovenian-law-mcp-1.1.1.tgz","fileCount":137,"integrity":"sha512-/1Xwym6wlW5R2PgMiuAHtHMJnhtNO9eEkaXmn3syvjqD+m/05Z9xjVda7aGFjtGSSzNzHs251muDKNpohoiNAA==","signatures":[{"sig":"MEUCIQCM36K9JX0aVrg8z3+BhWQnG7P62B8mdHU3m/HBeSiRuAIgKnkoUv8dH2iZstTUwOEi9s/W07n9kitzl1Ximckrhsg=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":45064994},"main":"dist/index.js","type":"module","types":"./dist/index.d.ts","engines":{"node":">=18"},"gitHead":"58f04ba429e06ad39b6dbf4e4a784c62a64e3529","mcpName":"eu.ansvar/slovenian-law-mcp","scripts":{"dev":"tsx src/index.ts","test":"vitest run","build":"tsc","start":"node dist/index.js","ingest":"tsx scripts/ingest-pis.ts","build:db":"tsx scripts/build-db.ts","validate":"npm run test && npm run test:contract","ingest:all":"tsx scripts/auto-ingest-all-statutes.ts","test:watch":"vitest","audit:seeds":"tsx scripts/audit-seeds.ts","postinstall":"test -d dist || npm run build || true","drift:detect":"tsx scripts/drift-detect.ts","fetch:eurlex":"tsx scripts/fetch-eurlex-metadata.ts","ingest:cases":"tsx scripts/ingest-sodnapraksa.ts","verify:seeds":"npm run audit:seeds && npm run build:db","build:db:paid":"tsx scripts/build-db-paid.ts","check-updates":"tsx scripts/check-updates.ts","test:contract":"vitest run __tests__/contract/","test:coverage":"vitest run --coverage","populate:xrefs":"tsx scripts/populate-cross-references.ts","prepublishOnly":"npm run verify:release","verify:release":"npm run verify:seeds && npm run build && npm test","ingest:prep-works":"tsx scripts/ingest-preparatory-works.ts","extract:definitions":"tsx scripts/extract-definitions.ts","import:eurlex-documents":"tsx scripts/import-eurlex-documents.ts"},"_npmUser":{"name":"ansvar","email":"jeffrey.von.rotz@ansvar.eu"},"repository":{"url":"git+https://github.com/Ansvar-Systems/Slovenian-law-mcp.git","type":"git"},"_npmVersion":"10.9.4","description":"Production-grade Slovenian legal research MCP server with comprehensive statute coverage and EU law cross-references","directories":{},"_nodeVersion":"22.22.0","dependencies":{"@ansvar/mcp-sqlite":"^1.0.0","@modelcontextprotocol/sdk":"^1.25.3"},"_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","fast-xml-parser":"^5.3.5","@vitest/coverage-v8":"^4.0.18"},"_npmOperationalInternal":{"tmp":"tmp/slovenian-law-mcp_1.1.1_1772183598376_0.7277384045405983","host":"s3://npm-registry-packages-npm-production"},"deprecated":"Ansvar MCP servers are now distributed as source from github.com/Ansvar-Systems/slovenian-law-mcp under Apache 2.0. Self-hosting instructions: see the repo README. Hosted gateway: ansvar.eu"}},"time":{"created":"2026-02-14T10:54:23.239Z","modified":"2026-05-02T05:48:58.932Z","1.1.0":"2026-02-14T10:54:23.941Z","1.1.1":"2026-02-27T09:13:18.959Z"},"bugs":{"url":"https://github.com/Ansvar-Systems/Slovenian-law-mcp/issues"},"author":{"name":"Ansvar Systems AB","email":"hello@ansvar.ai"},"license":"Apache-2.0","homepage":"https://github.com/Ansvar-Systems/Slovenian-law-mcp#readme","keywords":["mcp","model-context-protocol","ai","claude","slovenian-law","slovenia","legal","compliance","pisrs","pis","sodnapraksa","ansvar"],"repository":{"url":"git+https://github.com/Ansvar-Systems/Slovenian-law-mcp.git","type":"git"},"description":"Production-grade Slovenian legal research MCP server with comprehensive statute coverage and EU law cross-references","maintainers":[{"name":"ansvar","email":"jeffrey.von.rotz@ansvar.eu"}],"readme":"# Slovenian Law MCP\n\nProduction-grade [Model Context Protocol](https://modelcontextprotocol.io/) server for Slovenian legal research.\n\n[![npm version](https://badge.fury.io/js/@ansvar%2Fslovenian-law-mcp.svg)](https://www.npmjs.com/package/@ansvar/slovenian-law-mcp)\n[![MCP Registry](https://img.shields.io/badge/MCP-Registry-blue)](https://registry.modelcontextprotocol.io)\n[![License](https://img.shields.io/badge/License-Apache_2.0-blue.svg)](https://opensource.org/licenses/Apache-2.0)\n[![CI](https://github.com/Ansvar-Systems/Slovenian-law-mcp/actions/workflows/ci.yml/badge.svg)](https://github.com/Ansvar-Systems/Slovenian-law-mcp/actions/workflows/ci.yml)\n[![Daily Data Check](https://github.com/Ansvar-Systems/Slovenian-law-mcp/actions/workflows/check-updates.yml/badge.svg)](https://github.com/Ansvar-Systems/Slovenian-law-mcp/actions/workflows/check-updates.yml)\n\nIt provides structured access to:\n- Slovenian statutes and regulations (PIS / pisrs.si)\n- Slovenian case law metadata (sodnapraksa.si)\n- EU legal cross-references (EUR-Lex metadata)\n- Parliamentary preparatory works (Drzavni zbor)\n\nPackage: `@ansvar/slovenian-law-mcp`  \nMCP name: `eu.ansvar/slovenian-law-mcp`\n\n## Features\n\n- 14 MCP tools for legal search, citation handling, temporal retrieval, and EU-compliance checks\n- SQLite + FTS5 query engine optimized for article-level lookup\n- Seed-based database build included in repository\n- Optional paid enrichment pipeline (case law ingestion, cross-references, EU import)\n- Stdio transport (CLI/MCP clients) and streamable HTTP transport (Vercel API)\n\n## Quick Start\n\n### Use Remotely (No Install Needed)\n\n> Connect directly to the hosted version — zero dependencies, nothing to install.\n\n**Endpoint:** `https://slovenian-law-mcp.vercel.app/mcp`\n\n| Client | How to Connect |\n|--------|---------------|\n| **Claude.ai** | Settings > Connectors > Add Integration > paste URL |\n| **Claude Code** | `claude mcp add slovenian-law --transport http https://slovenian-law-mcp.vercel.app/mcp` |\n| **Claude Desktop** | Add to config (see below) |\n| **GitHub Copilot** | Add to VS Code settings (see below) |\n\n**Claude Desktop** — add to `claude_desktop_config.json`:\n\n```json\n{\n  \"mcpServers\": {\n    \"slovenian-law\": {\n      \"type\": \"url\",\n      \"url\": \"https://slovenian-law-mcp.vercel.app/mcp\"\n    }\n  }\n}\n```\n\n**GitHub Copilot** — add to VS Code `settings.json`:\n\n```json\n{\n  \"github.copilot.chat.mcp.servers\": {\n    \"slovenian-law\": {\n      \"type\": \"http\",\n      \"url\": \"https://slovenian-law-mcp.vercel.app/mcp\"\n    }\n  }\n}\n```\n\n### Use Locally (npm)\n\n```bash\nnpx @ansvar/slovenian-law-mcp\n```\n\n**Claude Desktop** — add to `claude_desktop_config.json`:\n\n**macOS:** `~/Library/Application Support/Claude/claude_desktop_config.json`\n**Windows:** `%APPDATA%\\Claude\\claude_desktop_config.json`\n\n```json\n{\n  \"mcpServers\": {\n    \"slovenian-law\": {\n      \"command\": \"npx\",\n      \"args\": [\"-y\", \"@ansvar/slovenian-law-mcp\"]\n    }\n  }\n}\n```\n\n**Cursor / VS Code:**\n\n```json\n{\n  \"mcp.servers\": {\n    \"slovenian-law\": {\n      \"command\": \"npx\",\n      \"args\": [\"-y\", \"@ansvar/slovenian-law-mcp\"]\n    }\n  }\n}\n```\n\n## Local Development\n\nPrerequisites:\n- Node.js 18+ (Node 20+ recommended)\n- npm\n\nSetup:\n\n```bash\nnpm install\nnpm run verify:seeds\nnpm run build\nnpm test\n```\n\nRun server locally:\n\n```bash\nnpm run dev\n```\n\n## Seeded Database\n\nThe repository ships with seed files in `data/seed/*.json`.\n\n- Build seed database: `npm run build:db`\n- Audit seed quality: `npm run audit:seeds`\n- Full seed verification (audit + rebuild): `npm run verify:seeds`\n\nThe `prepublishOnly` hook enforces release verification:\n- `npm run verify:release` (seed audit, seed DB build, TypeScript build, tests)\n\nDefault runtime DB path:\n- `data/database.db`\n\nOverride with:\n- `SLOVENIAN_LAW_DB_PATH=/absolute/path/to/database.db`\n\n## Example Prompts\n\nOnce connected, try asking your AI assistant:\n\n- \"What does Article 14 of ZVOP-2 say about data processing?\"\n- \"Search for Slovenian laws about environmental protection (varstvo okolja)\"\n- \"Which EU directives does ZVOP-2 implement?\"\n- \"Is the Criminal Code (KZ-1) currently in force?\"\n- \"Show me court decisions about personal data (osebni podatki)\"\n- \"Build a legal stance on employee dismissal (odpoved pogodbe o zaposlitvi)\"\n- \"Validate the citation: 1. clen ZKP\"\n- \"What are the data sources used by this legal database?\"\n\n## MCP Tools\n\n1. `search_legislation`\n2. `get_provision`\n3. `search_case_law`\n4. `get_preparatory_works`\n5. `validate_citation`\n6. `build_legal_stance`\n7. `format_citation`\n8. `check_currency`\n9. `get_eu_basis`\n10. `get_slovenian_implementations`\n11. `search_eu_implementations`\n12. `get_provision_eu_basis`\n13. `validate_eu_compliance`\n14. `get_provision_at_date`\n\n## HTTP Deployment (Vercel)\n\nThis repository includes:\n- `api/mcp.ts` (streamable HTTP MCP endpoint)\n- `api/health.ts` (health endpoint)\n- `vercel.json` rewrites:\n  - `/mcp` -> `/api/mcp`\n  - `/health` -> `/api/health`\n\n## Docker\n\nBuild image (requires prebuilt DB):\n\n```bash\nnpm run build:db\ndocker build -t slovenian-law-mcp .\n```\n\n## Data Sources\n\n- PIS (Pravno-informacijski sistem RS): https://pisrs.si\n- Sodna praksa portal: https://www.sodnapraksa.si\n- EUR-Lex: https://eur-lex.europa.eu\n- Drzavni zbor legislative materials: https://www.dz-rs.si\n\n## CI/CD & Security\n\nThis repository uses [GitHub Actions](.github/workflows/) for automated quality and security enforcement:\n\n| Workflow | Schedule | Purpose |\n|----------|----------|---------|\n| [CI](.github/workflows/ci.yml) | Push / PR | Build, test (Node 18/20/22), type check, coverage |\n| [CodeQL](.github/workflows/codeql.yml) | Push / PR / Weekly | Semantic code analysis (security-extended queries) |\n| [Trivy](.github/workflows/trivy.yml) | Push / PR / Daily | Dependency vulnerability scanning (SARIF) |\n| [Semgrep](.github/workflows/semgrep.yml) | Push / PR | SAST — OWASP Top 10, secrets, JS/TS rules |\n| [Gitleaks](.github/workflows/gitleaks.yml) | Push / PR | Secret scanning across full git history |\n| [OSSF Scorecard](.github/workflows/ossf-scorecard.yml) | Push / Weekly | Repository security hygiene scoring |\n| [Socket Security](.github/workflows/socket-security.yml) | Push / PR | Supply chain attack detection |\n| [Docker Security](.github/workflows/docker-security.yml) | Push / PR / Daily | Container image scanning + SBOM (CycloneDX, SPDX) |\n| [Data Freshness](.github/workflows/check-updates.yml) | Daily | PIS portal amendment check, auto-issue creation |\n| [Publish](.github/workflows/publish.yml) | Tag `v*` | npm publish (with provenance) + MCP Registry |\n| [MCPB Bundle](.github/workflows/mcpb-bundle.yml) | Tag `v*` | MCPB distribution bundle |\n\n## Release Checklist\n\n```bash\nnpm run verify:release\nnpm pack --dry-run\n```\n\n## Important Disclaimers\n\n### Legal Advice\n\n> **THIS TOOL IS NOT LEGAL ADVICE**\n>\n> Statute text is sourced from official PIS/pisrs.si publications. However:\n> - This is a **research tool**, not a substitute for professional legal counsel\n> - **Court case coverage is limited** -- do not rely solely on this for case law research\n> - **Verify critical citations** against primary sources for court filings\n> - **EU cross-references** are extracted from Slovenian statute text, not EUR-Lex full text\n\n### Client Confidentiality\n\nQueries go through the Claude API. For privileged or confidential matters, use on-premise deployment. Lawyers should consider Odvetniška zbornica Slovenije (Slovenian Bar Association) confidentiality obligations when using cloud-based AI tools.\n\n## Related Projects: Complete Compliance Suite\n\nThis server is part of **Ansvar's Compliance Suite** -- MCP servers that work together for end-to-end compliance coverage:\n\n### [@ansvar/eu-regulations-mcp](https://github.com/Ansvar-Systems/EU_compliance_MCP)\n**Query 49 EU regulations directly from Claude** -- GDPR, AI Act, DORA, NIS2, MiFID II, eIDAS, and more. Full regulatory text with article-level search. `npx @ansvar/eu-regulations-mcp`\n\n### @ansvar/slovenian-law-mcp (This Project)\n**Query Slovenian statutes directly from Claude** -- ZVOP-2, KZ-1, ZGD-1, and more. Full provision text with EU cross-references. `npx @ansvar/slovenian-law-mcp`\n\n### [@ansvar/swedish-law-mcp](https://github.com/Ansvar-Systems/swedish-law-mcp)\n**Query 717 Swedish statutes directly from Claude** -- DSL, BrB, ABL, MB, and more. Full provision text with EU cross-references. `npx @ansvar/swedish-law-mcp`\n\n### [@ansvar/us-regulations-mcp](https://github.com/Ansvar-Systems/US_Compliance_MCP)\n**Query US federal and state compliance laws** -- HIPAA, CCPA, SOX, GLBA, FERPA, and more. `npm install @ansvar/us-regulations-mcp`\n\n### [@ansvar/ot-security-mcp](https://github.com/Ansvar-Systems/ot-security-mcp)\n**Query IEC 62443, NIST 800-82/53, and MITRE ATT&CK for ICS** -- Specialized for OT/ICS environments. `npx @ansvar/ot-security-mcp`\n\n### [@ansvar/automotive-cybersecurity-mcp](https://github.com/Ansvar-Systems/Automotive-MCP)\n**Query UNECE R155/R156 and ISO 21434** -- Automotive cybersecurity compliance. `npx @ansvar/automotive-cybersecurity-mcp`\n\n### [@ansvar/sanctions-mcp](https://github.com/Ansvar-Systems/Sanctions-MCP)\n**Offline-capable sanctions screening** -- OFAC, EU, UN sanctions lists. `pip install ansvar-sanctions-mcp`\n\n## Citation\n\nIf you use this MCP server in academic research:\n\n```bibtex\n@software{slovenian_law_mcp_2025,\n  author = {Ansvar Systems AB},\n  title = {Slovenian Law MCP Server: Production-Grade Legal Research Tool},\n  year = {2025},\n  url = {https://github.com/Ansvar-Systems/Slovenian-law-mcp},\n  note = {Comprehensive Slovenian legal database with EU law cross-references}\n}\n```\n\n## Legal\n\n- License: Apache-2.0\n- Security policy: see `SECURITY.md`\n- Contribution guidelines: see `CONTRIBUTING.md`\n\n### Data Licenses\n\n- **Statutes & Regulations:** Republic of Slovenia (public domain via PIS)\n- **Case Law Metadata:** sodnapraksa.si (public domain)\n- **EU Metadata:** EUR-Lex (EU public domain)\n- **Parliamentary Materials:** Državni zbor (public domain)\n\n## About Ansvar Systems\n\nWe build AI-accelerated compliance and legal research tools for the European market. This MCP server is part of our growing suite of jurisdiction-specific legal research tools.\n\n**[ansvar.eu](https://ansvar.eu)** -- Stockholm, Sweden\n","readmeFilename":"README.md"}