eu.ansvar/estonian-law-mcp

Estonian legislation via MCP — full-text search across statutes and provisions

0NOASSERTIONsearch

Install

Config snippet generator goes here (5 client tabs)

README

# Estonian Law MCP Server

**The Riigi Teataja alternative for the AI age.**

[![npm version](https://badge.fury.io/js/@ansvar%2Festonian-law-mcp.svg)](https://www.npmjs.com/package/@ansvar/estonian-law-mcp)
[![MCP Registry](https://img.shields.io/badge/MCP-Registry-blue)](https://registry.modelcontextprotocol.io)
[![License](https://img.shields.io/badge/License-Apache_2.0-blue.svg)](https://opensource.org/licenses/Apache-2.0)
[![GitHub stars](https://img.shields.io/github/stars/Ansvar-Systems/Estonian-law-mcp?style=social)](https://github.com/Ansvar-Systems/Estonian-law-mcp)
[![CI](https://github.com/Ansvar-Systems/Estonian-law-mcp/actions/workflows/ci.yml/badge.svg)](https://github.com/Ansvar-Systems/Estonian-law-mcp/actions/workflows/ci.yml)
[![Daily Data Check](https://github.com/Ansvar-Systems/Estonian-law-mcp/actions/workflows/check-updates.yml/badge.svg)](https://github.com/Ansvar-Systems/Estonian-law-mcp/actions/workflows/check-updates.yml)
[![Database](https://img.shields.io/badge/database-pre--built-green)](docs/EU_INTEGRATION_GUIDE.md)
[![Provisions](https://img.shields.io/badge/provisions-63%2C652-blue)](docs/EU_INTEGRATION_GUIDE.md)

Query **1,602 Estonian statutes** — from the Isikuandmete kaitse seadus (IKS) and the Karistusseadustik to the Tsiviilseadustiku üldosa seadus, Küberturvalisuse seadus, and more — directly from Claude, Cursor, or any MCP-compatible client.

If you're building legal tech, compliance tools, or doing Estonian legal research, this is your verified reference database.

Built by [Ansvar Systems](https://ansvar.eu) -- Stockholm, Sweden

---

## Why This Exists

Estonian legal research is concentrated in the Riigi Teataja — Estonia's model e-governance platform — but navigating 1,602 seadused across Estonian and cross-referencing with EUR-Lex remains manual work. Whether you're:
- A **lawyer** validating citations in a brief or leping
- A **compliance officer** checking obligations under IKS or the Küberturvalisuse seadus
- A **legal tech developer** building tools on Estonian law
- A **researcher** tracing legislative history from eelnõu to seadus

...you shouldn't need a dozen browser tabs and manual cross-referencing. Ask Claude. Get the exact provision. With context.

This MCP server makes Estonian law **searchable, cross-referenceable, and AI-readable**.

---

## Quick Start

### Use Remotely (No Install Needed)

> Connect directly to the hosted version — zero dependencies, nothing to install.

**Endpoint:** `https://estonian-law-mcp.vercel.app/mcp`

| Client | How to Connect |
|--------|---------------|
| **Claude.ai** | Settings > Connectors > Add Integration > paste URL |
| **Claude Code** | `claude mcp add estonian-law --transport http https://estonian-law-mcp.vercel.app/mcp` |
| **Claude Desktop** | Add to config (see below) |
| **GitHub Copilot** | Add to VS Code settings (see below) |

**Claude Desktop** — add to `claude_desktop_config.json`:

```json
{
  "mcpServers": {
    "estonian-law": {
      "type": "url",
      "url": "https://estonian-law-mcp.vercel.app/mcp"
    }
  }
}
```

**GitHub Copilot** — add to VS Code `settings.json`:

```json
{
  "github.copilot.chat.mcp.servers": {
    "estonian-law": {
      "type": "http",
      "url": "https://estonian-law-mcp.vercel.app/mcp"
    }
  }
}
```

### Use Locally (npm)

```bash
npx @ansvar/estonian-law-mcp
```

**Claude Desktop** — add to `claude_desktop_config.json`:

**macOS:** `~/Library/Application Support/Claude/claude_desktop_config.json`
**Windows:** `%APPDATA%\Claude\claude_desktop_config.json`

```json
{
  "mcpServers": {
    "estonian-law": {
      "command": "npx",
      "args": ["-y", "@ansvar/estonian-law-mcp"]
    }
  }
}
```

**Cursor / VS Code:**

```json
{
  "mcp.servers": {
    "estonian-law": {
      "command": "npx",
      "args": ["-y", "@ansvar/estonian-law-mcp"]
    }
  }
}
```

## Example Queries

Once connected, just ask naturally (päringud toimivad eesti keeles või inglise keeles):

- *"Mida ütleb isikuandmete kaitse seaduse (IKS) § 6 isikuandmete töötlemise põhimõtete kohta?"*
- *"Otsida 'isikuandmete kaitse' Eesti õigusaktidest"*
- *"Kas isikuandmete kaitse seadus (RT I, 04.01.2019, 11) on endiselt jõus?"*
- *"Millised on Karistusseadustiku sätted arvutikuritegude kohta?"*
- *"Millised Eesti seadused rakendavad NIS2 direktiivi?"*
- *"Otsida e-allkirja sätteid elektroonilise identimise ja e-tehingute usaldusteenuste seadusest"*
- *"Find provisions about data breach notification in Estonian law"*
- *"Validate the citation 'IKS § 6'"*

---

## What's Included

| Category | Count | Details |
|----------|-------|---------|
| **Statutes** | 1,602 seadust | Comprehensive Estonian legislation from Riigi Teataja |
| **Provisions** | 63,652 paragrahvi | Full-text searchable with FTS5 |
| **Premium: Case law** | 0 (free tier) | Riigikohus and circuit court decisions planned |
| **Premium: Preparatory works** | 163,383 documents | Seaduseelnõud and seletuskirjad |
| **Premium: Agency guidance**