{
  "markdown": "# Austrian Law MCP Server\n\n<!-- ANSVAR-CTA-BEGIN -->\n> **The Austrian 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 28 audited jurisdictions, 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 RIS (Rechtsinformationssystem) 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/Austria-law-mcp?style=social)](https://github.com/Ansvar-Systems/Austria-law-mcp)\n[![CI](https://github.com/Ansvar-Systems/Austria-law-mcp/actions/workflows/ci.yml/badge.svg)](https://github.com/Ansvar-Systems/Austria-law-mcp/actions/workflows/ci.yml)\n[![Daily Data Check](https://github.com/Ansvar-Systems/Austria-law-mcp/actions/workflows/check-updates.yml/badge.svg)](https://github.com/Ansvar-Systems/Austria-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-56%2C760-blue)](docs/EU_INTEGRATION_GUIDE.md)\n\nQuery **5,101 Austrian statutes** -- from Datenschutzgesetz and Strafgesetzbuch to Allgemeines bürgerliches Gesetzbuch, Arbeitsverfassungsgesetz, and more -- directly from Claude, Cursor, or any MCP-compatible client.\n\nIf you're building legal tech, compliance tools, or doing Austrian 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\nAustrian legal research means navigating the RIS (Rechtsinformationssystem des Bundes), juggling Bundesgesetze, Landesgesetze, and RIS-Suchabfragen. Whether you're:\n\n- A **lawyer** validating citations in a brief or contract\n- A **compliance officer** checking DSGVO obligations or Arbeitsverfassungsgesetz requirements\n- A **legal tech developer** building tools on Austrian law\n- A **researcher** tracing legislative history from Regierungsvorlage to enacted statute\n\n...you shouldn't need dozens of browser tabs and manual PDF cross-referencing. Ask Claude. Get the exact provision. With context.\n\nThis MCP server makes Austrian law **searchable, cross-referenceable, and AI-readable**.\n\n---\n\n## Example Queries\n\nOnce connected, just ask naturally -- in German or English:\n\n- *\"Was sagt das Datenschutzgesetz (DSG 2018) § 4 über Einwilligung?\"*\n- *\"Ist das Arbeitsverfassungsgesetz (ArbVG) noch in Kraft?\"*\n- *\"Suche nach Bestimmungen über Datenschutz im österreichischen Recht\"*\n- *\"Welche EU-Richtlinien setzt das DSG 2018 um?\"*\n- *\"Finde die Strafbestimmungen im Strafgesetzbuch (StGB) zu Computerbetrug\"*\n- *\"Was regelt das ABGB (Allgemeines bürgerliches Gesetzbuch) über Vertragsabschluss?\"*\n- *\"Suche nach Arbeitnehmerschutzvorschriften im ArbVG\"*\n- *\"Which Austrian laws implement the GDPR?\"*\n- *\"Compare NIS2 implementation requirements across Austrian statutes\"*\n\n---\n\n## What's Included\n\n| Category | Count | Details |\n|----------|-------|---------|\n| **Statutes** | 5,101 statutes | Comprehensive Austrian federal legislation |\n| **Provisions** | 56,760 sections | Full-text searchable with FTS5 |\n| **Preparatory Works** | 2,674 documents | Regierungsvorlagen and parliamentary materials (Premium) |\n| **Case Law** | 230,201 decisions | OGH, VfGH, VwGH (Premium tier) |\n| **Database Size** | ~1.5 GB | Optimized SQLite, portable |\n| **Daily Updates** | Automated | Freshness checks against RIS |\n\n**Verified data only** -- every citation is validated against official sources (ris.bka.gv.at). 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 RIS (Rechtsinformationssystem des Bundes) 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 BGBl number + paragraph/section\n- Cross-references help navigate without loading everything at once\n\n**Technical Architecture:**\n```\nRIS OGD 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 RIS by Gesetzestitel | Search by plain German: *\"Datenschutz Einwilligung\"* |\n| Navigate multi-paragraph statutes manually | Get the exact provision with context |\n| Manual cross-referencing between laws | `build_legal_stance` aggregates across sources |\n| \"Ist dieses Gesetz noch in Kraft?\" → manual check | `check_currency` tool → answer in seconds |\n| Find EU basis → dig through EUR-Lex | `get_eu_basis` → linked EU directives instantly |\n| Check RIS for updates | Daily automated freshness checks |\n| No API, no integration | MCP protocol → AI-native |\n\n**Traditional:** Search RIS → Download PDF → Ctrl+F → Cross-reference with Regierungsvorlage → Check EUR-Lex → Repeat\n\n**This MCP:** *\"Welche EU-Richtlinie liegt dem DSG 2018 § 4 zur Einwilligung zugrunde?\"* → 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 56,760 provisions with BM25 ranking |\n| `get_provision` | Retrieve specific provision by BGBl number + paragraph/section |\n| `validate_citation` | Validate citation against database (zero-hallucination check) |\n| `build_legal_stance` | Aggregate citations from statutes, case law, preparatory works |\n| `format_citation` | Format citations per Austrian 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 Law Integration Tools (5)\n\n| Tool | Description |\n|------|-------------|\n| `get_eu_basis` | Get EU directives/regulations for Austrian statute |\n| `get_austrian_implementations` | Find Austrian laws implementing EU act |\n| `search_eu_implementations` | Search EU documents with Austrian implementation counts |\n| `get_provision_eu_basis` | Get EU law references for specific provision |\n| `validate_eu_compliance` | Check implementation status (requires EU MCP) |\n\n---\n\n## EU Law Integration\n\nAustria is an EU member state. Austrian law is heavily shaped by EU directives and regulations, particularly in data protection, financial services, consumer protection, and environmental law.\n\n| Metric | Value |\n|--------|-------|\n| **EU Member Since** | 1995 |\n| **GDPR Implementation** | DSG 2018 (Datenschutzgesetz) |\n| **NIS2 Implementation** | NISG 2024 (Netz- und Informationssystemsicherheitsgesetz) |\n| **Authority** | Datenschutzbehörde (DSB) |\n| **EUR-Lex Integration** | Automated metadata fetching |\n\n### Key Austrian EU Implementations\n\n- **GDPR** (2016/679) → Datenschutzgesetz 2018 (DSG 2018)\n- **NIS2 Directive** (2022/2555) → NISG 2024\n- **AI Act** (2024/1689) → Austrian implementation in progress\n- **eIDAS** (910/2014) → E-Government-Gesetz, Signaturgesetz\n- **AML Directive** (2015/849) → Finanzmarkt-Geldwäschegesetz (FM-GwG)\n- **Consumer Rights Directive** (2011/83) → Konsumentenschutzgesetz (KSchG)\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 Austrian legal databases:\n\n- **[RIS - Rechtsinformationssystem des Bundes](https://www.ris.bka.gv.at/)** -- Official federal law database, Bundeskanzleramt\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** | Bundeskanzleramt Österreich |\n| **Retrieval method** | RIS OGD API |\n| **Language** | German |\n| **License** | `AT-Statutory-PD` — Austrian statutory public domain (UrhG §7(1) \"Freie Werke\") |\n| **Coverage** | 5,101 federal statutes |\n| **Last ingested** | 2026-02-25 |\n\n### Automated Freshness Checks (Daily)\n\nA [daily GitHub Actions workflow](.github/workflows/check-updates.yml) monitors all data sources:\n\n| Source | Check | Method |\n|--------|-------|--------|\n| **Statute amendments** | RIS API date comparison | All 5,101 statutes checked |\n| **New statutes** | RIS Bundesgesetzblatt feed | Diffed against database |\n| **EU reference staleness** | Git commit timestamps | Flagged if >90 days old |\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 RIS publications. However:\n> - This is a **research tool**, not a substitute for professional legal counsel\n> - **Court case coverage** is available in Premium tier only -- do not rely solely on this for case law research in the free tier\n> - **Verify critical citations** against primary sources (ris.bka.gv.at) for court filings\n> - **EU cross-references** are extracted from Austrian statute text, not EUR-Lex full text\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 Österreichischer Rechtsanwaltskammertag (ÖRAK) compliance guidance.\n\n---\n\n## Documentation\n\n- **[EU Integration Guide](docs/EU_INTEGRATION_GUIDE.md)** -- Detailed EU cross-reference documentation\n- **[EU Usage Examples](docs/EU_USAGE_EXAMPLES.md)** -- Practical EU 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/Austria-law-mcp\ncd Austria-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 RIS\nnpm run build:db                   # Rebuild SQLite database\nnpm run drift:detect               # Run drift detection\nnpm run check-updates              # Check for amendments and new statutes\nnpm run db:update-seed             # Update database from seed data\n```\n\n### Performance\n\n- **Search Speed:** <100ms for most FTS5 queries\n- **Database Size:** ~1.5 GB (comprehensive corpus)\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- EU regulation cross-reference expansion\n- Historical statute versions and amendment tracking\n- English translations for key statutes\n- Lower court decision coverage\n\n---\n\n## Roadmap\n\n- [x] Core statute database with FTS5 search\n- [x] Full corpus ingestion (5,101 statutes, 56,760 provisions)\n- [x] EU law integration tools\n- [x] Vercel Streamable HTTP deployment\n\n- [x] Daily freshness checks against RIS\n- [ ] Court case law expansion (Premium tier)\n- [ ] Historical statute versions (amendment tracking)\n- [ ] English translations for key statutes\n- [ ] Landesrecht coverage (provincial law)\n\n---\n\n## Citation\n\nIf you use this MCP server in academic research:\n\n```bibtex\n@software{austrian_law_mcp_2026,\n  author = {Ansvar Systems AB},\n  title = {Austrian Law MCP Server: Production-Grade Legal Research Tool},\n  year = {2026},\n  url = {https://github.com/Ansvar-Systems/Austria-law-mcp},\n  note = {5,101 Austrian statutes with 56,760 provisions and EU law cross-references}\n}\n```\n\n---\n\n## License\n\nApache License 2.0. See [LICENSE](./LICENSE) for details.\n\n### Data Licenses\n\n- **Statutes & Legislation:** `AT-Statutory-PD` — Austrian statutory public domain. UrhG §7(1) \"Freie Werke\" excludes laws (`Gesetze`), ordinances (`Verordnungen`), official decrees (`amtliche Erlässe`), public notices (`Bekanntmachungen`), and court decisions (`Entscheidungen`) from copyright protection. Verified verbatim 2026-05-17 via RIS consolidated text — see [`docs/audits/2026-05-17-eu-copyright-statutory-works-batch-1a-AT-BE-DK-FI-FR.md`](https://github.com/Ansvar-Systems/Ansvar-Architecture-Documentation/blob/main/docs/audits/2026-05-17-eu-copyright-statutory-works-batch-1a-AT-BE-DK-FI-FR.md) in arch-docs. Catalog entry: `AT-Statutory-PD` in `infrastructure/attribution-licenses.json`.\n- **EU Metadata:** EUR-Lex (EU public domain, Decision 2011/833/EU)\n\n---\n\n## About Ansvar Systems\n\nWe build AI-accelerated compliance and legal research tools for the European market. This MCP server started as our internal reference tool for Austrian law -- turns out everyone building for the DACH market has the same research frustrations.\n\nSo we're open-sourcing it. Navigating 5,101 statutes in the RIS shouldn't require a Rechtswissenschaftsstudium.\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": 15950,
  "sha": "62d69824da46f6cdfb406f44fd58596b58f3f69ac703bb45079edaa0935c6bfd",
  "repo_slug": "ansvar-systems/austrian-law-mcp",
  "fonte": "repo",
  "truncated": false,
  "api": "https://agentalog.com/api/listings/mcp_eu_ansvar_austrian_law_mcp_748617de/readme"
}