@ansvar/estonian-law-mcp
v1.0.0
Published
Estonian law database covering data protection, cybersecurity, e-commerce, and criminal law provisions via Model Context Protocol
Maintainers
Readme
Estonian Law MCP
A Model Context Protocol (MCP) server providing access to Estonian legislation covering data protection, cybersecurity, e-commerce, and criminal law provisions.
MCP Registry: eu.ansvar/estonian-law-mcp
npm: @ansvar/estonian-law-mcp
Quick Start
Claude Desktop / Cursor (stdio)
{
"mcpServers": {
"estonian-law": {
"command": "npx",
"args": ["-y", "@ansvar/estonian-law-mcp"]
}
}
}Remote (Streamable HTTP)
estonian-law-mcp.vercel.app/mcpData Sources
| Source | Authority | License | |--------|-----------|---------| | Riigi Teataja | Riigikantselei (State Chancellery of Estonia) | Estonian Government Open Data (public domain under Estonian Copyright Act § 5) |
Full provenance:
sources.yml
Corpus Coverage
As of 2026-02-21, the ingestion pipeline supports two statute corpus scopes:
| Scope | Discovery Query | Seed Documents |
|------|------------------|----------------|
| In-force corpus | dokument=seadus&kehtiv=YYYY-MM-DD | 1561 |
| All statute keys (including non-active) | dokument=seadus with active-preferred dedupe | 1602 |
Current database build from the all-statutes corpus:
1602legal documents63652legal provisions982definitions804EU documents7088EU references
Notes:
- The pipeline never fabricates legal text.
- For statute keys where Riigi Teataja XML has no extractable
paragrahvtext, a metadata-only seed is written. - In the current corpus,
2repealed statutes are metadata-only due to absent provision text in source XML.
Ingestion & Verification
Ingest in-force corpus (as-of date):
npm run ingest -- --full --resume --as-of 2026-02-21Ingest all statute keys (maximal scope):
npm run ingest -- --full --all-statutes --resume --as-of 2026-02-21Rebuild and verify:
npm run build:db
npm run build
npm test
npx tsc --noEmitTools
| Tool | Description |
|------|-------------|
| search_legislation | Full-text search across provisions |
| get_provision | Retrieve specific article/section |
| validate_citation | Validate legal citation |
| check_currency | Check if statute is in force |
| get_eu_basis | EU legal basis cross-references |
| get_estonian_implementations | National EU implementations |
| search_eu_implementations | Search EU documents |
| validate_eu_compliance | EU compliance check |
| build_legal_stance | Comprehensive legal research |
| format_citation | Citation formatting |
| list_sources | Data provenance |
| about | Server metadata |
License
Apache-2.0
Important Disclaimers
Not Legal Advice
THIS TOOL IS NOT LEGAL ADVICE
Statute text is sourced from official government publications. However:
- This is a research tool, not a substitute for professional legal counsel
- Coverage may be incomplete — verify critical provisions against primary sources
- Verify all citations against the official legal portal before relying on them professionally
- Laws change — check the
abouttool for database freshness date
Client Confidentiality
When using the remote endpoint, queries are processed by third-party infrastructure (Vercel, Claude API). For privileged or confidential legal matters, use the local npm package or on-premise deployment.
Before using professionally, read: DISCLAIMER.md | PRIVACY.md
Open Law
This server is part of Ansvar Open Law — free, structured access to legislation from 70+ jurisdictions worldwide via the Model Context Protocol.
Browse all jurisdictions -> ansvar.eu/open-law
Ansvar MCP Network
Ansvar Open Law is part of the broader Ansvar MCP Network — 80+ servers covering global legislation, EU/US compliance frameworks, and cybersecurity standards.
| Category | Coverage | |----------|----------| | Legislation | 70+ jurisdictions worldwide | | EU Compliance | 49 regulations, 2,693 articles | | US Compliance | 15 federal & state regulations | | Security Frameworks | 261 frameworks, 1,451 controls | | Cybersecurity | 200K+ CVEs, STRIDE patterns, sanctions |
Explore the full network -> ansvar.ai/mcp
Built by Ansvar Systems | ansvar.eu/open-law
