{
  "markdown": "# Slovak Law MCP Server\n\n<!-- ANSVAR-CTA-BEGIN -->\n> **The Slovak law corpus is now served through the Ansvar Gateway.** Connect your AI assistant (Claude, Copilot, Cursor, or any MCP client) to `https://gateway.ansvar.eu/mcp` — one OAuth connection, free tier available, covering this corpus plus EU regulations, national law across 28 audited jurisdictions (Europe + the US), and CVE/security intelligence, every result with a verbatim source citation. Start at https://ansvar.eu/docs/quickstart\n\n### Connect\n\n**Claude Code** (one line):\n\n```bash\nclaude mcp add ansvar --transport http https://gateway.ansvar.eu/mcp\n```\n\n**Claude Desktop / Cursor** — add to `claude_desktop_config.json` (or `mcp.json`):\n\n```json\n{\n  \"mcpServers\": {\n    \"ansvar\": {\n      \"type\": \"url\",\n      \"url\": \"https://gateway.ansvar.eu/mcp\"\n    }\n  }\n}\n```\n\n**Claude.ai** — Settings → Connectors → Add custom connector → paste `https://gateway.ansvar.eu/mcp`\n\nFirst request opens an OAuth signup flow (setup details: [ansvar.eu/docs/quickstart](https://ansvar.eu/docs/quickstart)). After signup, your client is bound to your account; tier (free / premium / team / company) determines fan-out, quota, and which downstream MCPs are reachable.\n\n---\n\n## Self-host this MCP\n\nYou can also clone this repo and build the corpus yourself. The schema,\nfetcher, and tool implementations all live here. What is not in the repo is\nthe pre-built database — TDM and standards-licensing constraints on the\nupstream sources mean we host the corpus on Ansvar infrastructure rather\nthan redistribute it as a public artifact.\n\nBuild your own: run this repo's ingestion script (entry-point varies per\nrepo — typically `scripts/ingest.sh`, `npm run ingest`, or `make ingest`;\ncheck the repo root).\n<!-- ANSVAR-CTA-END -->\n\n\n**The SLOV-LEX alternative for the AI age.**\n\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[![GitHub stars](https://img.shields.io/github/stars/Ansvar-Systems/Slovak-law-mcp?style=social)](https://github.com/Ansvar-Systems/Slovak-law-mcp)\n[![CI](https://github.com/Ansvar-Systems/Slovak-law-mcp/actions/workflows/ci.yml/badge.svg)](https://github.com/Ansvar-Systems/Slovak-law-mcp/actions/workflows/ci.yml)\n[![Daily Data Check](https://github.com/Ansvar-Systems/Slovak-law-mcp/actions/workflows/check-updates.yml/badge.svg)](https://github.com/Ansvar-Systems/Slovak-law-mcp/actions/workflows/check-updates.yml)\n[![Database](https://img.shields.io/badge/database-pre--built-green)](docs/EU_INTEGRATION_GUIDE.md)\n[![Provisions](https://img.shields.io/badge/provisions-1%2C913-blue)](docs/EU_INTEGRATION_GUIDE.md)\n\nQuery **25,609 Slovak statutes** — from zákon č. 18/2018 Z.z. (ochrana osobných údajov) and the Trestný zákon to the Občiansky zákonník, zákon o kybernetickej bezpečnosti, and more — directly from Claude, Cursor, or any MCP-compatible client.\n\nIf you're building legal tech, compliance tools, or doing Slovak legal research, this is your verified reference database.\n\nBuilt by [Ansvar Systems](https://ansvar.eu) -- Stockholm, Sweden\n\n---\n\n## Why This Exists\n\nSlovak legal research is scattered across SLOV-LEX, zbierka.sk, EUR-Lex, and government ministerial portals. Whether you're:\n- A **lawyer** validating citations in a brief or zmluva\n- A **compliance officer** checking obligations under zákon č. 18/2018 Z.z. or zákon č. 69/2018 Z.z.\n- A **legal tech developer** building tools on Slovak law\n- A **researcher** tracing legislative history from dôvodová správa to zákon\n\n...you shouldn't need a dozen browser tabs and manual PDF cross-referencing. Ask Claude. Get the exact provision. With context.\n\nThis MCP server makes Slovak law **searchable, cross-referenceable, and AI-readable**.\n\n---\n\n## Example Queries\n\nOnce connected, just ask naturally (dotazy fungujú v slovenčine alebo angličtine):\n\n- *\"Čo hovorí § 13 zákona č. 18/2018 Z.z. o právnom základe spracúvania osobných údajov?\"*\n- *\"Hľadať 'ochrana osobných údajov' v slovenskej legislatíve\"*\n- *\"Je zákon č. 122/2013 Z.z. o ochrane osobných údajov stále platný?\"*\n- *\"Aké sú trestné činy kybernetickej kriminality v Trestnom zákone (č. 300/2005 Z.z.)?\"*\n- *\"Ktoré slovenské zákony transponujú smernicu NIS2?\"*\n- *\"Hľadať ustanovenia o elektronickom podpise v zákone č. 272/2016 Z.z.\"*\n- *\"Find provisions about data breach notification in Slovak law\"*\n- *\"Validate the citation 'zákon č. 18/2018 Z.z., § 34'\"*\n\n---\n\n## What's Included\n\n| Category | Count | Details |\n|----------|-------|---------|\n| **Statutes** | 25,609 zákonov | Comprehensive Slovak legislation from SLOV-LEX |\n| **Provisions** | 1,913 paragrafov | Full-text searchable with FTS5 |\n| **Premium: Case law** | 0 (free tier) | Judikatúra expansion planned |\n| **Premium: Preparatory works** | 428,952 documents | Dôvodové správy and parliamentary documentation |\n| **Premium: Agency guidance** | 0 (free tier) | Úrad na ochranu osobných údajov guidance planned |\n| **Database Size** | ~27 MB | Optimized SQLite, portable |\n| **Daily Updates** | Automated | Freshness checks against SLOV-LEX |\n\n**Verified data only** — every citation is validated against official sources (SLOV-LEX / zbierka.sk). Zero LLM-generated content.\n\n---\n\n## Why This Works\n\n**Verbatim Source Text (No LLM Processing):**\n- All statute text is ingested from SLOV-LEX (slov-lex.sk) official sources\n- Provisions are returned **unchanged** from SQLite FTS5 database rows\n- Zero LLM summarization or paraphrasing — the database contains regulation text, not AI interpretations\n\n**Smart Context Management:**\n- Search returns ranked provisions with BM25 scoring (safe for context)\n- Provision retrieval gives exact text by zákon number + paragraph\n- Cross-references help navigate without loading everything at once\n\n**Technical Architecture:**\n```\nSLOV-LEX API → Parse → SQLite → FTS5 snippet() → MCP response\n                 ↑                     ↑\n          Provision parser       Verbatim database query\n```\n\n### Traditional Research vs. This MCP\n\n| Traditional Approach | This MCP Server |\n|---------------------|-----------------|\n| Search SLOV-LEX by číslo zákona | Search by plain Slovak: *\"ochrana osobných údajov súhlas\"* |\n| Navigate multi-chapter statutes manually | Get the exact provision with context |\n| Manual cross-referencing between zákony | `build_legal_stance` aggregates across sources |\n| \"Je tento zákon platný?\" → check manually | `check_currency` tool → answer in seconds |\n| Find EU basis → dig through EUR-Lex | `get_eu_basis` → linked EU directives instantly |\n| No API, no integration | MCP protocol → AI-native |\n\n**Traditional:** Search SLOV-LEX → Download PDF → Ctrl+F → Cross-reference with EUR-Lex → Check Úrad na ochranu osobných údajov → Repeat\n\n**This MCP:** *\"Aký je európsky základ § 13 zákona č. 18/2018 Z.z. o ochrane osobných údajov?\"* → Done.\n\n---\n\n## Available Tools (13)\n\n### Core Legal Research Tools (8)\n\n| Tool | Description |\n|------|-------------|\n| `search_legislation` | FTS5 full-text search across 1,913 provisions with BM25 ranking. Supports quoted phrases, boolean operators, prefix wildcards |\n| `get_provision` | Retrieve specific provision by zákon number + paragraph (e.g., \"18/2018 Z.z.\" + \"§ 13\") |\n| `check_currency` | Check if a statute is in force (platný/neplatný), amended, or repealed |\n| `validate_citation` | Validate citation against database — zero-hallucination check. Supports \"zákon č. 18/2018 Z.z., § 13\" |\n| `build_legal_stance` | Aggregate citations from multiple statutes for a legal topic |\n| `format_citation` | Format citations per Slovak conventions (full/short/pinpoint) |\n| `list_sources` | List all available statutes with metadata, coverage scope, and data provenance |\n| `about` | Server info, capabilities, dataset statistics, and coverage summary |\n\n### EU Law Integration Tools (5)\n\n| Tool | Description |\n|------|-------------|\n| `get_eu_basis` | Get EU directives/regulations underlying a Slovak statute |\n| `get_slovak_implementations` | Find Slovak laws implementing a specific EU act |\n| `search_eu_implementations` | Search EU documents with Slovak implementation counts |\n| `get_provision_eu_basis` | Get EU law references for a specific provision |\n| `validate_eu_compliance` | Check implementation status of Slovak statutes against EU directives |\n\n---\n\n## EU Law Integration\n\nSlovakia is an **EU member state** (since 2004) and eurozone member (since 2009). Slovak legislation in data protection, cybersecurity, financial services, and e-commerce is built on EU directives and regulations. The EU bridge tools give you full bi-directional lookup.\n\n| Metric | Value |\n|--------|-------|\n| **EU Member State** | Yes — since 1 May 2004 |\n| **Eurozone** | Yes — since 1 January 2009 |\n| **EU References** | Cross-references linking Slovak statutes to EU law |\n| **Directives transposed** | GDPR, NIS2, DORA, AI Act, eIDAS, PSD2, AML directives, and more |\n| **EUR-Lex Integration** | Automated metadata fetching |\n| **Úrad supervision** | Data protection and cybersecurity regulatory frameworks fully covered |\n\n### Key Slovak EU Implementations\n\n- **Zákon č. 18/2018 Z.z.** — GDPR national implementation (ochrana osobných údajov)\n- **Zákon č. 69/2018 Z.z.** — Zákon o kybernetickej bezpečnosti (NIS Directive transposition)\n- **Zákon č. 272/2016 Z.z.** — Zákon o dôveryhodných službách (eIDAS transposition)\n- **Zákon č. 492/2009 Z.z.** — Zákon o platobných službách (PSD2 transposition)\n\nSee [EU_INTEGRATION_GUIDE.md](docs/EU_INTEGRATION_GUIDE.md) for detailed documentation.\n\n---\n\n## Data Sources & Freshness\n\nAll content is sourced from authoritative Slovak legal databases:\n\n- **[SLOV-LEX](https://www.slov-lex.sk/)** — Portál právnych predpisov SR (official legal portal)\n- **[zbierka.sk](https://zbierka.sk/)** — Zbierka zákonov Slovenskej republiky\n- **[EUR-Lex](https://eur-lex.europa.eu/)** — Official EU law database (metadata only)\n\n### Data Provenance\n\n| Field | Value |\n|-------|-------|\n| **Authority** | Ministerstvo spravodlivosti Slovenskej republiky / SLOV-LEX |\n| **Retrieval method** | SLOV-LEX official database and open data |\n| **Language** | Slovak |\n| **License** | Public domain (verejná správa) |\n| **Coverage** | 25,609 statutes, 1,913 provisions |\n| **Last ingested** | 2026-02-28 |\n\n### Automated Freshness Checks (Daily)\n\nA [daily GitHub Actions workflow](.github/workflows/check-updates.yml) monitors SLOV-LEX for changes:\n\n| Check | Method |\n|-------|--------|\n| **Statute amendments** | SLOV-LEX date comparison across 25,609 statutes |\n| **New statutes** | Zbierka zákonov publication monitoring |\n| **Repealed statutes** | Platnosť/neplatnosť status change detection |\n| **EU reference staleness** | Git commit timestamps — flagged if >90 days old |\n\n**Verified data only** — every citation is validated against official sources. Zero LLM-generated content.\n\n---\n\n## Security\n\nThis project uses multiple layers of automated security scanning:\n\n| Scanner | What It Does | Schedule |\n|---------|-------------|----------|\n| **CodeQL** | Static analysis for security vulnerabilities | Weekly + PRs |\n| **Semgrep** | SAST scanning (OWASP top 10, secrets, TypeScript) | Every push |\n| **Gitleaks** | Secret detection across git history | Every push |\n| **Trivy** | CVE scanning on filesystem and npm dependencies | Daily |\n| **Docker Security** | Container image scanning + SBOM generation | Daily |\n| **Socket.dev** | Supply chain attack detection | PRs |\n| **OSSF Scorecard** | OpenSSF best practices scoring | Weekly |\n| **Dependabot** | Automated dependency updates | Weekly |\n\nSee [SECURITY.md](SECURITY.md) for the full policy and vulnerability reporting.\n\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 SLOV-LEX publications. However:\n> - This is a **research tool**, not a substitute for professional legal counsel\n> - **Court case coverage is not included** in the free tier — do not rely solely on this for judikatúra research\n> - **Verify critical citations** against primary sources (SLOV-LEX, Zbierka zákonov) for court filings\n> - **EU cross-references** are extracted from statute text and EUR-Lex metadata, not a complete implementation mapping\n\n**Before using professionally, read:** [DISCLAIMER.md](DISCLAIMER.md) | [PRIVACY.md](PRIVACY.md)\n\n### Client Confidentiality\n\nQueries go through the Claude API. For privileged or confidential matters, use on-premise deployment. See [PRIVACY.md](PRIVACY.md) for guidance consistent with **Slovenská advokátska komora** (Slovak Bar Association) professional conduct standards.\n\n---\n\n## Development\n\n### Setup\n\n```bash\ngit clone https://github.com/Ansvar-Systems/Slovak-law-mcp\ncd Slovak-law-mcp\nnpm install\nnpm run build\nnpm test\n```\n\n### Running Locally\n\n```bash\nnpm run dev                                       # Start MCP server\nnpx @anthropic/mcp-inspector node dist/index.js   # Test with MCP Inspector\n```\n\n### Data Management\n\n```bash\nnpm run ingest           # Ingest statutes from SLOV-LEX\nnpm run build:db         # Rebuild SQLite database\nnpm run drift:detect     # Run drift detection against anchors\nnpm run check-updates    # Check for amendments\n```\n\n### Performance\n\n- **Search Speed:** <100ms for most FTS5 queries\n- **Database Size:** ~27 MB (efficient, portable)\n- **Reliability:** 100% ingestion success rate\n\n---\n\n## More Ansvar MCPs\n\nFull fleet coverage at [ansvar.eu/coverage](https://ansvar.eu/coverage).\n## Contributing\n\nContributions welcome! See [CONTRIBUTING.md](CONTRIBUTING.md) for guidelines.\n\nPriority areas:\n- Court case law expansion (Ústavný súd SR, Najvyšší súd SR)\n- EU cross-reference expansion\n- Historical statute versions and amendment tracking\n- Úrad na ochranu osobných údajov guidance documents\n- NBÚ (Národný bezpečnostný úrad) guidance\n\n---\n\n## Roadmap\n\n- [x] Core statute database with FTS5 search (25,609 statutes, 1,913 provisions)\n- [x] EU law integration with bi-directional lookup\n- [x] Premium preparatory works dataset (428,952 documents)\n- [x] Vercel Streamable HTTP deployment\n\n- [ ] Judikatúra (court case law) expansion\n- [ ] Historical statute versions (amendment tracking)\n- [ ] Úrad na ochranu osobných údajov guidance\n- [ ] Full provision coverage expansion\n\n---\n\n## Citation\n\nIf you use this MCP server in academic research:\n\n```bibtex\n@software{slovak_law_mcp_2026,\n  author = {Ansvar Systems AB},\n  title = {Slovak Law MCP Server: AI-Powered Legal Research Tool},\n  year = {2026},\n  url = {https://github.com/Ansvar-Systems/Slovak-law-mcp},\n  note = {25,609 Slovak statutes with EU law cross-references and 428,952 preparatory works}\n}\n```\n\n---\n\n## License\n\nApache License 2.0. See [LICENSE](./LICENSE) for details.\n\n### Data Licenses\n\nAnsvar attribution code: **`SK-Statutory-PD`**. Basis: `Autorský zákon`\n§5(b) — the broadest preparatory-docs carve-out in the EU statutory-PD\naudit.\n\n- **Statutes & Legislation:** Ministerstvo spravodlivosti SR (Ministry\n  of Justice) via Slov-Lex (`slov-lex.sk`). Reused under Autorský zákon\n  §5(b).\n- **EU Metadata:** EUR-Lex (EU public-domain notice).\n\n### Coverage scope (broad — broadest in EU audit)\n\nSlovak §5(b) is the broadest of the EU statutory-PD carve-outs reviewed.\nIt covers the standard four categories plus extras:\n\n- Legislative texts (`právne predpisy`)\n- Administrative texts and decisions\n- Court decisions\n- Preparatory documentation (`prípravná dokumentácia`)\n- Technical standards (`technické normy`)\n- Parliamentary speeches\n\nSee `docs/audits/2026-05-17-eu-copyright-statutory-works-batch-3-BG-HR-SK-SI-SE.md`\nin the Ansvar architecture-documentation repo for the verbatim §5(b)\ntext and the coverage analysis.\n\n---\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 Central European coverage — alongside Czech, Polish, and Hungarian law MCPs — ensuring that the full EU compliance picture is accessible from a single AI interface.\n\nSo we're open-sourcing it. Navigating 25,609 statutes shouldn't require a law degree.\n\n**[ansvar.eu](https://ansvar.eu)** -- Stockholm, Sweden\n\n---\n\n<p align=\"center\">\n  <sub>Built with care in Stockholm, Sweden</sub>\n</p>\n",
  "bytes": 16321,
  "sha": "ef0423d17a5a139c7df60ade7de91618449d79f177f1c8f3dfed5b7017f9a53e",
  "repo_slug": "ansvar-systems/slovak-law-mcp",
  "fonte": "repo",
  "truncated": false,
  "api": "https://agentalog.com/api/listings/mcp_eu_ansvar_slovak_law_mcp_90ee7e07/readme"
}