{
  "markdown": "# Greek Law MCP Server\n\n<!-- ANSVAR-CTA-BEGIN -->\n> **The Greek 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 Εθνικό Τυπογραφείο (Government Gazette) 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/Greek-law-mcp?style=social)](https://github.com/Ansvar-Systems/Greek-law-mcp)\n[![CI](https://github.com/Ansvar-Systems/Greek-law-mcp/actions/workflows/ci.yml/badge.svg)](https://github.com/Ansvar-Systems/Greek-law-mcp/actions/workflows/ci.yml)\n[![Daily Data Check](https://github.com/Ansvar-Systems/Greek-law-mcp/actions/workflows/check-updates.yml/badge.svg)](https://github.com/Ansvar-Systems/Greek-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-7%2C793-blue)](docs/EU_INTEGRATION_GUIDE.md)\n\nQuery **21,119 Greek statutes** -- from the Νόμος 4624/2019 (GDPR implementation) and Ποινικός Κώδικας to the Αστικός Κώδικας, κώδικας εταιριών, and more -- directly from Claude, Cursor, or any MCP-compatible client.\n\nIf you're building legal tech, compliance tools, or doing Greek 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\nGreek legal research is scattered across e-nomothesia.gr, the Εθνικό Τυπογραφείο (National Printing Office), and EUR-Lex. Whether you're:\n- A **lawyer** validating citations in a brief or contract\n- A **compliance officer** checking if a statute is still in force\n- A **legal tech developer** building tools on Greek law\n- A **researcher** tracing legislative provisions across 21,119 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 Greek law **searchable, cross-referenceable, and AI-readable**.\n\n---\n\n## Example Queries\n\nOnce connected, just ask naturally:\n\n- *\"Αναζήτηση 'προστασία προσωπικών δεδομένων' -- ποιες υποχρεώσεις θεσπίζει ο Ν. 4624/2019;\"*\n- *\"Ισχύει ακόμα ο Ποινικός Κώδικας (Ν. 4619/2019) ως προς το άρθρο 292;\"*\n- *\"Βρες διατάξεις για την εταιρική διακυβέρνηση στον Αστικό Κώδικα\"*\n- *\"Ποιες ευρωπαϊκές οδηγίες ενσωμάτωσε ο νόμος για την κυβερνοασφάλεια;\"*\n- *\"Ποιοι ελληνικοί νόμοι υλοποιούν τον ΓΚΠΔ;\"*\n- *\"Επαλήθευσε παραπομπή: Ν. 4624/2019, άρθ. 5\"*\n- *\"Δημιούργησε νομική θέση για τις υποχρεώσεις γνωστοποίησης παραβίασης δεδομένων\"*\n- *\"Συμμορφώνεται η ελληνική νομοθεσία με τις απαιτήσεις της οδηγίας NIS2;\"*\n\n---\n\n## What's Included\n\n| Category | Count | Details |\n|----------|-------|---------|\n| **Statutes** | 21,119 statutes | Comprehensive Greek legislation from search.et.gr |\n| **Provisions** | 7,793 sections | Full-text searchable with FTS5 |\n| **EU Cross-References** | Included | Directives and regulations linked to Greek transpositions |\n| **Database Size** | 68 MB | Optimized SQLite, portable |\n| **Daily Updates** | Automated | Freshness checks against e-nomothesia.gr / et.gr |\n\n**Verified data only** -- every citation is validated against official sources (Εθνικό Τυπογραφείο, e-nomothesia.gr). 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 official Greek legal sources (e-nomothesia.gr, et.gr)\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 number + article\n- Cross-references help navigate without loading everything at once\n\n**Technical Architecture:**\n```\ne-nomothesia.gr / et.gr → 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 e-nomothesia.gr by law number | Search by plain Greek: *\"προσωπικά δεδομένα συναίνεση\"* |\n| Navigate multi-article statutes manually | Get the exact provision with context |\n| Manual cross-referencing between laws | `build_legal_stance` aggregates across sources |\n| \"Is this statute still in force?\" → check manually | `check_currency` tool → answer in seconds |\n| Find EU basis → dig through EUR-Lex | `get_eu_basis` → linked EU directives instantly |\n| Check multiple sites for updates | Daily automated freshness checks |\n| No API, no integration | MCP protocol → AI-native |\n\n**Traditional:** Search e-nomothesia.gr → Download ΦΕΚ PDF → Ctrl+F → Cross-reference → Check EUR-Lex for EU basis → Repeat\n\n**This MCP:** *\"Ποιο άρθρο του Ν. 4624/2019 ενσωματώνει το άρθρο 9 ΓΚΠΔ για τις ειδικές κατηγορίες;\"* → 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 7,793 provisions with BM25 ranking |\n| `get_provision` | Retrieve specific provision by law number + article reference |\n| `validate_citation` | Validate citation against database -- zero-hallucination check |\n| `build_legal_stance` | Aggregate citations from multiple statutes for a legal topic |\n| `format_citation` | Format citations per Greek 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 that underpin a Greek statute |\n| `get_greek_implementations` | Find Greek laws implementing a specific EU act |\n| `search_eu_implementations` | Search EU documents with Greek implementation counts |\n| `get_provision_eu_basis` | Get EU law references for a specific provision |\n| `validate_eu_compliance` | Check implementation status of Greek statutes against EU directives |\n\n---\n\n## EU Law Integration\n\nGreece is an EU member state. Greek legislation directly transposes EU directives and implements EU regulations, creating a traceable mapping between Greek and EU law.\n\nKey areas of EU-Greek law alignment:\n\n- **GDPR (2016/679)** -- implemented via Νόμος 4624/2019 (Αρχή Προστασίας Δεδομένων Προσωπικού Χαρακτήρα)\n- **NIS2 Directive (2022/2555)** -- transposed into Greek cybersecurity legislation\n- **eIDAS Regulation (910/2014)** -- applicable directly; supplemented by Greek electronic identification rules\n- **DORA (2022/2554)** -- digital operational resilience for financial sector entities\n- **AI Act (2024/1689)** -- EU regulation applicable directly across all member states\n- **AML Directives** -- implemented via Greek anti-money laundering legislation (Ν. 4557/2018 and amendments)\n\nThe EU bridge tools provide bi-directional lookup: find which Greek statutes implement a given EU act, or find which EU acts underpin a given Greek provision.\n\n| Metric | Value |\n|--------|-------|\n| **EU Member State** | Since 1981 |\n| **Legal System** | Civil law (continental European / Roman law tradition) |\n| **Official Gazette** | Φύλλο Εφημερίδας της Κυβερνήσεως -- ΦΕΚ (et.gr) |\n| **Legislation Portal** | e-nomothesia.gr |\n| **EUR-Lex Integration** | Automated metadata fetching |\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 Greek legal databases:\n\n- **[e-nomothesia.gr](https://e-nomothesia.gr/)** -- Consolidated Greek legislation portal\n- **[Εθνικό Τυπογραφείο / et.gr](https://et.gr/)** -- Official Government Gazette (ΦΕΚ -- Φύλλο Εφημερίδας της Κυβερνήσεως)\n- **[EUR-Lex](https://eur-lex.europa.eu/)** -- Official EU law database (metadata only)\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** | e-nomothesia.gr / et.gr comparison | All 21,119 statutes checked |\n| **New statutes** | ΦΕΚ publications (90-day window) | 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 Greek legal publications (e-nomothesia.gr, ΦΕΚ). However:\n> - This is a **research tool**, not a substitute for professional legal counsel\n> - **Verify critical citations** against primary sources (ΦΕΚ) for court filings\n> - **EU cross-references** are extracted from Greek statute text, not EUR-Lex full text\n> - **Always confirm** current in-force status via e-nomothesia.gr before relying on a provision professionally\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 Δικηγορικός Σύλλογος Αθηνών / Ολομέλεια Δικηγορικών Συλλόγων Ελλάδος 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/Greek-law-mcp\ncd Greek-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 e-nomothesia.gr / et.gr\nnpm run build:db            # Rebuild SQLite database\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:** 68 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 (Άρειος Πάγος, ΣτΕ)\n- EU Regulations MCP integration (full EU law text, CJEU case law)\n- Historical statute versions and amendment tracking\n- Presidential Decrees (Προεδρικά Διατάγματα) expansion\n\n---\n\n## Roadmap\n\n- [x] Core statute database with FTS5 search\n- [x] Full corpus ingestion (21,119 statutes, 7,793 provisions)\n- [x] EU law integration tools\n- [x] Vercel Streamable HTTP deployment\n\n- [x] Daily freshness checks\n- [ ] Case law expansion (Άρειος Πάγος, Συμβούλιο της Επικρατείας)\n- [ ] Historical statute versions (amendment tracking)\n- [ ] Presidential Decrees expansion\n\n---\n\n## Citation\n\nIf you use this MCP server in academic research:\n\n```bibtex\n@software{greek_law_mcp_2026,\n  author = {Ansvar Systems AB},\n  title = {Greek Law MCP Server: Production-Grade Legal Research Tool},\n  year = {2026},\n  url = {https://github.com/Ansvar-Systems/Greek-law-mcp},\n  note = {Comprehensive Greek legal database with 21,119 statutes and 7,793 provisions}\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: **`Greek-N-2121-1993-Art-2-5`**. Basis:\n`Ν. 2121/1993 Άρθρο 2(5)` — broad statutory-PD carve-out via\nthree-category enumeration plus a catch-all.\n\n- **Statutes & Legislation:** Εθνικό Τυπογραφείο (National Printing\n  Office) — FEK archive at `et.gr` / `search.et.gr`. Reused under\n  N. 2121/1993 Art. 2(5).\n- **EU Metadata:** EUR-Lex (EU public-domain notice).\n\n### Coverage scope (broad)\n\nN. 2121/1993 Art. 2(5) carves out three named categories plus a\ncatch-all:\n\n- Legislative texts (`νομοθετικά κείμενα`)\n- Administrative texts (`διοικητικά κείμενα`)\n- Judicial texts (`δικαστικά κείμενα`)\n- \"...and other texts of official character\" — catch-all clause\n\nSee `docs/audits/2026-05-17-eu-copyright-statutory-works-batch-2-HU-LU-PT-RO-GR.md`\nin the Ansvar architecture-documentation repo for the verbatim Art. 2(5)\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 started as our internal reference tool for Greek law -- turns out everyone building for the Greek and SE European markets has the same research frustrations.\n\nSo we're open-sourcing it. Navigating 21,119 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": 16004,
  "sha": "48edc92d80ca971211c7cb2ad95d9656d8905ce3ffcfe4ada3029f1e95061e56",
  "repo_slug": "ansvar-systems/greek-law-mcp",
  "fonte": "repo",
  "truncated": false,
  "api": "https://agentalog.com/api/listings/mcp_eu_ansvar_greek_law_mcp_384cdc33/readme"
}