{
  "markdown": "# Liechtenstein Law MCP Server\n\n<!-- ANSVAR-CTA-BEGIN -->\n> **The Liechtenstein law corpus is now served through the Ansvar Gateway.** Connect your AI assistant (Claude, Copilot, Cursor, custom MCP client) to `https://gateway.ansvar.eu/mcp` — one OAuth connection, free tier available, covering this corpus plus EU regulations, national law across dozens of 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 liechtensteinisches-landesgesetzblatt.li 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/Liechtenstein-law-mcp?style=social)](https://github.com/Ansvar-Systems/Liechtenstein-law-mcp)\n[![CI](https://github.com/Ansvar-Systems/Liechtenstein-law-mcp/actions/workflows/ci.yml/badge.svg)](https://github.com/Ansvar-Systems/Liechtenstein-law-mcp/actions/workflows/ci.yml)\n[![Daily Data Check](https://github.com/Ansvar-Systems/Liechtenstein-law-mcp/actions/workflows/check-updates.yml/badge.svg)](https://github.com/Ansvar-Systems/Liechtenstein-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-73%2C213-blue)](docs/EU_INTEGRATION_GUIDE.md)\n\nQuery **3,614 Liechtenstein statutes** -- from the Datenschutzgesetz and Personen- und Gesellschaftsrecht to the Strafgesetzbuch, E-Commerce-Gesetz, and more -- directly from Claude, Cursor, or any MCP-compatible client.\n\nIf you're building legal tech, compliance tools, or doing Liechtenstein 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\nLiechtenstein legal research means navigating [gesetze.li](https://www.gesetze.li/konso), the LLGBl (Liechtensteinisches Landesgesetzblatt) publications, and cross-referencing EEA Agreement annexes. Whether you're:\n- A **lawyer** validating citations in a brief or contract\n- A **compliance officer** checking EEA-derived obligations under Liechtenstein law\n- A **legal tech developer** building tools on Liechtenstein law\n- A **researcher** tracing EEA implementation across Liechtenstein statutes\n\n...you shouldn't need dozens of browser tabs and manual cross-referencing. Ask Claude. Get the exact provision. With context.\n\nThis MCP server makes Liechtenstein law **searchable, cross-referenceable, and AI-readable**.\n\n---\n\n## Example Queries\n\nOnce connected, just ask naturally (queries in German):\n\n- *\"Was sagt das Datenschutzgesetz (DSG) über die Einwilligung zur Datenverarbeitung?\"*\n- *\"Ist das Personen- und Gesellschaftsrecht (PGR) noch in Kraft?\"*\n- *\"Suche nach Bestimmungen über 'Datenschutz' im liechtensteinischen Recht\"*\n- *\"Welche EU-Richtlinien setzt Liechtenstein über das EWR-Abkommen um?\"*\n- *\"Was regelt das Strafgesetzbuch zum Thema Cyberkriminalität?\"*\n- *\"Suche nach 'Gesellschaft' im PGR\"*\n- *\"Welche liechtensteinischen Gesetze setzen die DSGVO um?\"*\n- *\"Zitierformat für Art. 5 Abs. 1 DSG prüfen\"*\n\n---\n\n## What's Included\n\n| Category | Count | Details |\n|----------|-------|---------|\n| **Statutes** | 3,614 statutes | Comprehensive Liechtenstein legislation from gesetze.li |\n| **Provisions** | 73,213 sections | Full-text searchable with FTS5 |\n| **Database Size** | Available after ingestion | Optimized SQLite, portable |\n| **Daily Updates** | Automated | Freshness checks against gesetze.li |\n\n**Verified data only** -- every citation is validated against official sources (gesetze.li / LLGBl). Zero LLM-generated content.\n\n---\n\n## See It In Action\n\n### Why This Works\n\n**Verbatim Source Text (No LLM Processing):**\n- All statute text is ingested from gesetze.li (official Liechtenstein legal database)\n- Provisions are returned **unchanged** from SQLite FTS5 database rows\n- Zero LLM summarization or paraphrasing -- the database contains statute 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 statute identifier and article number\n- Cross-references help navigate without loading everything at once\n\n**Technical Architecture:**\n```\ngesetze.li / LLGBl --> 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 gesetze.li by statute name | Search by plain German: *\"Datenschutz Einwilligung\"* |\n| Navigate multi-article statutes manually | Get the exact provision with context |\n| Manual cross-referencing between statutes | `build_legal_stance` aggregates across sources |\n| \"Ist dieses Gesetz noch in Kraft?\" -- manuell prüfen | `check_currency` tool -- answer in seconds |\n| Find EEA basis -- dig through EEA Agreement annexes | `get_eu_basis` -- linked EU directives instantly |\n| No API, no integration | MCP protocol -- AI-native |\n\n**Traditional:** gesetze.li suchen --> PDF herunterladen --> Strg+F --> EWR-Anhänge prüfen --> Wiederholen\n\n**This MCP:** *\"Welche DSGVO-Anforderungen setzt das liechtensteinische DSG um?\"* --> Done.\n\n---\n\n## Available Tools (13)\n\n### Core Legal Research Tools (8)\n\n| Tool | Description |\n|------|-------------|\n| `search_legislation` | FTS5 search on 73,213 provisions with BM25 ranking |\n| `get_provision` | Retrieve specific provision by statute identifier and article number |\n| `validate_citation` | Validate citation against database (zero-hallucination check) |\n| `build_legal_stance` | Aggregate citations from statutes and cross-references |\n| `format_citation` | Format citations per Liechtenstein conventions (full/short/pinpoint) |\n| `check_currency` | Check if statute is in force, amended, or repealed |\n| `list_sources` | List all available statutes with metadata and data provenance |\n| `about` | Server info, capabilities, dataset statistics, and coverage summary |\n\n### EU/EEA Law Integration Tools (5)\n\n| Tool | Description |\n|------|-------------|\n| `get_eu_basis` | Get EU directives/regulations implemented by Liechtenstein statute via EEA Agreement |\n| `get_liechtenstein_implementations` | Find Liechtenstein laws implementing a specific EU/EEA act |\n| `search_eu_implementations` | Search EU documents with Liechtenstein implementation counts |\n| `get_provision_eu_basis` | Get EU/EEA law references for a specific provision |\n| `validate_eu_compliance` | Check EEA implementation status of Liechtenstein statutes |\n\n---\n\n## EU/EEA Law Integration\n\nLiechtenstein is a member of the **European Economic Area (EEA)** via the EEA Agreement, which means it implements the core EU Single Market legislation without being an EU member state.\n\n| Topic | Status |\n|-------|--------|\n| **EEA Membership** | Full EEA member since 1995 |\n| **GDPR Equivalent** | Liechtenstein implemented GDPR via Datenschutzgesetz (DSG) -- full EEA-equivalent data protection |\n| **EU Single Market Directives** | Implemented via EEA Joint Committee Decisions (Annex IX and others) |\n| **Schengen Area** | Liechtenstein is part of Schengen -- border-free travel and associated legislation |\n\nLiechtenstein implements EU law via the EEA Agreement, including the GDPR equivalent, product liability directives, financial services regulations, and consumer protection rules. The EU bridge tools let you trace which Liechtenstein statutes implement which EU acts, and verify EEA compliance.\n\n> **Note:** Not all EU law applies to Liechtenstein. EEA coverage excludes Common Foreign and Security Policy, justice and home affairs (with exceptions), and other non-Single Market areas. The EU tools reflect EEA-relevant instruments.\n\n---\n\n## Data Sources & Freshness\n\nAll content is sourced from authoritative Liechtenstein legal databases:\n\n- **[gesetze.li](https://www.gesetze.li/konso)** -- Official consolidated Liechtenstein statutes (Liechtensteinisches Landesgesetzblatt)\n\n### Data Provenance\n\n| Field | Value |\n|-------|-------|\n| **Authority** | Stabsstelle für Landesrecht, Liechtenstein |\n| **Retrieval method** | gesetze.li consolidated statute database |\n| **Language** | German |\n| **License** | `LI-Statutory-PD` (URG Art. 5 — statutes, decrees, official decisions, authority reports, official compilations and translations) |\n| **Coverage** | 3,614 consolidated statutes |\n\n### Automated Freshness Checks (Daily)\n\nA [daily GitHub Actions workflow](.github/workflows/check-updates.yml) monitors gesetze.li for changes:\n\n| Check | Method |\n|-------|--------|\n| **Statute amendments** | Drift detection against known provision anchors |\n| **New statutes** | Comparison against gesetze.li index |\n| **Repealed statutes** | Status change detection |\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 gesetze.li (official Liechtenstein legal database). However:\n> - This is a **research tool**, not a substitute for professional legal counsel\n> - **Court case coverage is not included** -- do not rely solely on this for case law research\n> - **Verify critical citations** against primary sources (LLGBl) for court filings\n> - **EEA cross-references** reflect implementation relationships, not direct EU law applicability\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 bar association compliance guidance.\n\n> For guidance from your bar association: **Liechtensteinische Rechtsanwaltskammer**\n\n---\n\n## Documentation\n\n- **[EU Integration Guide](docs/EU_INTEGRATION_GUIDE.md)** -- Detailed EEA cross-reference documentation\n- **[EU Usage Examples](docs/EU_USAGE_EXAMPLES.md)** -- Practical EEA lookup examples\n- **[Security Policy](SECURITY.md)** -- Vulnerability reporting and scanning details\n- **[Disclaimer](DISCLAIMER.md)** -- Legal disclaimers and professional use notices\n- **[Privacy](PRIVACY.md)** -- Client confidentiality and data handling\n\n---\n\n## Development\n\n### Setup\n\n```bash\ngit clone https://github.com/Ansvar-Systems/Liechtenstein-law-mcp\ncd Liechtenstein-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 gesetze.li\nnpm run ingest:full               # Full ingestion with discovery\nnpm run build:db                  # Rebuild SQLite database\nnpm run drift:detect              # Run drift detection against anchors\nnpm run check-updates             # Check for amendments and new statutes\n```\n\n### Performance\n\n- **Search Speed:** <100ms for most FTS5 queries\n- **Database Size:** Optimized SQLite (efficient, portable)\n- **Reliability:** 100% ingestion success rate across 3,614 statutes\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 from Liechtenstein's Oberste Gerichtshof\n- EEA cross-reference expansion\n- Historical statute versions and LLGBl amendment tracking\n- English translations for key statutes\n\n---\n\n## Roadmap\n\n- [x] Core statute database with FTS5 search\n- [x] Full corpus ingestion (3,614 statutes, 73,213 provisions)\n- [x] EEA/EU law integration tools\n- [x] Vercel Streamable HTTP deployment\n\n- [x] Daily freshness checks against gesetze.li\n- [ ] Court case law (Liechtensteinisches Landesgericht and Oberste Gerichtshof)\n- [ ] Historical statute versions (LLGBl amendment tracking)\n- [ ] English translations for key statutes\n- [ ] Expanded EEA cross-reference database\n\n---\n\n## Citation\n\nIf you use this MCP server in academic research:\n\n```bibtex\n@software{liechtenstein_law_mcp_2026,\n  author = {Ansvar Systems AB},\n  title = {Liechtenstein Law MCP Server: Production-Grade Legal Research Tool},\n  year = {2026},\n  url = {https://github.com/Ansvar-Systems/Liechtenstein-law-mcp},\n  note = {3,614 Liechtenstein statutes with 73,213 provisions sourced from gesetze.li}\n}\n```\n\n---\n\n## License\n\nApache License 2.0. See [LICENSE](./LICENSE) for details.\n\n### Data Licenses\n\n- **Statutes:** `LI-Statutory-PD` — Liechtenstein statutory public domain under Gesetz vom 19. Mai 1999 über das Urheberrecht und verwandte Schutzrechte (URG, LR 231.5) Art. 5. Excludes laws, ordinances, treaties and other official decrees; means of payment; decisions, minutes and reports of authorities and public administrations; and patent specifications. Abs. 2 extends to official compilations and translations. Wording is lexically identical to Swiss URG Art. 5 — Liechtenstein adopted the Swiss URG numbering (the carve-out is Art. 5, NOT §6 as some earlier internal docs implied). Verbatim basis: [WIPO Lex consolidated German text](https://wipolex-res.wipo.int/edocs/lexdocs/laws/de/li/li037de.html). Commercial reuse permitted. Verified 2026-05-17.\n- **EU/EEA Metadata:** EUR-Lex (EU public domain)\n\n---\n\n## About Ansvar Systems\n\nWe build AI-accelerated compliance and legal research tools for the global market. This MCP server makes 3,614 Liechtenstein statutes searchable from any AI client -- no browser tabs, no PDFs, no manual cross-referencing.\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": 16208,
  "sha": "3cfdba5ed5203328447ec8be81b94fef7db5f7a576a8df115c23b006ecf10c79",
  "repo_slug": "ansvar-systems/liechtenstein-law-mcp",
  "fonte": "repo",
  "truncated": false,
  "api": "https://agentalog.com/api/listings/mcp_eu_ansvar_liechtenstein_law_mcp_b8497dde/readme"
}