Skip to main content
Glama
Estonia Legal Research MCP Server

Estonia Legal Research MCP Server

by jurisatlas

Estonia Legal Research MCP Server (ee-legal-mcp)

Eesti | English Documentation


Õiguslik MCP-server Eesti seadusandluse ja kohtupraktika jaoks (ee-legal-mcp) — Eesti

Selle hoidla kohta

See hoidla sisaldab Model Context Protocol (MCP) serverit, mis ühendab teie AI-rakenduse (Claude Desktop, Cursor, Windsurf, VS Code / Copilot, Cline või Antigravity) otse Riigi Teatajaga (riigiteataja.ee) ning Eesti kohtute lahenditega (4 maakohut, 2 halduskohut, Tallinna ja Tartu ringkonnakohtud ning Riigikohus riigikohus.ee).

Kiire paigaldamine (AI-rakenduse valik)

  1. Allalaadimine: Klõpsake üleval paremal <> Code -> Download ZIP ja pakkige kaust arvutis lahti.

  2. Käivitamine: Topeltklõpsake Click_Here_To_Install_Windows.bat (Windows) või Click_Here_To_Install_Mac.command (macOS).

  3. AI-kliendi valimine: Märkige kasutatavad AI-programmid (Claude, Cursor, Windsurf, VS Code, Antigravity), klõpsake paigalda ja taaskäivitage oma AI-rakendus.

Turvamärkus: Paigaldustööriist töötab ainult lugemisrežiimis (read-only) ega puuduta teie arvutis olevaid isiklikke faile.

Kohtuastmed ja ametlikud allikad

Kohtuaste

Hõlmatud kohtud

I aste (4 Maakohut ja 2 Halduskohut)

4 Maakohtud (Harju, Tartu, Viru, Pärnu County Courts) & 2 Halduskohtud (Tallinn & Tartu Administrative Courts)

II aste (Tallinna ja Tartu Ringkonnakohus)

2 Ringkonnakohtud (Tallinna Ringkonnakohus & Tartu Ringkonnakohus — Circuit Courts of Appeal)

III aste (Riigikohus)

Riigikohus (Supreme Court of Estonia — Civil, Criminal, Administrative & Constitutional Review Chambers)


Related MCP server: at-legal-mcp

English Documentation

Model Context Protocol (MCP) server providing live, read-only access to Estonia (EE) legislation, official gazettes, multi-tier judicial decisions (First Instance, Regional/Cantonal/Appellate, and Supreme/Constitutional courts, including HTML and PDF full-text extraction), and statutory citation verification across all major AI clients (ChatGPT Desktop, OpenAI Codex CLI, Claude Desktop, Claude Code CLI, Cursor, Windsurf, VS Code / GitHub Copilot / Cline / Roo Code, Google Antigravity / Gemini CLI, Perplexity, and Continue.dev).


Interactive Desktop Setup (Select Your AI Assistant)

This package includes a graphical installer for legal practitioners and non-technical users that lets you select which AI application(s) you use:

  1. Download: Click <> Code at the top right of this repository, select Download ZIP, and extract the folder to your computer.

  2. Run the Setup Utility:

    • Windows: Double-click Click_Here_To_Install_Windows.bat

    • macOS: Double-click Click_Here_To_Install_Mac.command

  3. Select Your AI Client(s) & Connect: Check the box(es) for the AI assistant(s) installed on your computer (ChatGPT Desktop & OpenAI Codex CLI, Claude Desktop & Claude Code CLI, Cursor, Windsurf, VS Code / GitHub Copilot / Cline / Roo Code, Google Antigravity / Gemini CLI, or Perplexity / Continue.dev), click Install to Selected AI Clients, and restart your selected AI application.

System Integrity Note: The setup utility operates strictly in read-only mode with respect to your personal files and documents. It installs an isolated Python runtime inside the extracted folder and registers the server entry only in the AI client configuration files you select.


Multi-Tier Judicial Hierarchy & Live Indexed National Archives

This server performs live queries across the full judicial hierarchy and official legal archives of Estonia, extracting full text from both HTML pages and official court/gazette PDF judgments:

Judicial Tier

Covered Courts & Tribunals

Tier 1 — First Instance

4 Maakohtud (Harju, Tartu, Viru, Pärnu County Courts) & 2 Halduskohtud (Tallinn & Tartu Administrative Courts)

Tier 2 — Regional / Cantonal / Appellate

2 Ringkonnakohtud (Tallinna Ringkonnakohus & Tartu Ringkonnakohus — Circuit Courts of Appeal)

Tier 3 — Supreme & Constitutional

Riigikohus (Supreme Court of Estonia — Civil, Criminal, Administrative & Constitutional Review Chambers)

Official Portals & Live Indexed Domains

  • National Legislation & Official Gazette: Riigi Teataja Open API (riigiteataja.ee) — https://www.riigiteataja.ee

    • Indexed Legislation Domains: riigiteataja.ee, riigikogu.ee

  • Court Decisions & Jurisprudence Archives: Riigi Teataja Kohtulahendid (riigiteataja.ee — All County, Administrative, Circuit & Supreme Court Judgments) — https://www.riigiteataja.ee/kohtulahendid/

    • Indexed Judicial & Open Case Law Domains: riigikohus.ee, riigiteataja.ee, kohus.ee


Available MCP Tools

Tool

Description

search_legislation

Searches enacted statutes, codes, decrees, and official gazette publications in Estonia.

search_case_law

Searches national jurisprudence and open judicial archives for Estonia.

search_tiered_court_decisions

Filters case law specifically by judicial instance (first_instance, appellate_regional, supreme_constitutional) or specific regional/cantonal/district court.

list_court_hierarchy

Returns the complete 3-tier court structure and supported regional court filters for Estonia.

get_legal_document_markdown

Retrieves full statutory or judicial texts (both HTML and official .pdf court judgments) and converts them into clean Markdown.

verify_citation

Validates statutory and case law citations against official registries.


{
  "mcpServers": {
    "ee-legal-mcp": {
      "command": "uvx",
      "args": [
        "--from",
        "https://github.com/jurisatlas/ee-legal-mcp/archive/refs/heads/main.zip",
        "ee-legal-mcp"
      ]
    }
  }
}

Available Tools

6 tools
list_court_hierarchyList Court HierarchyA

Return the complete step-by-step multi-tier judicial hierarchy for Estonia (EE): Tier 1 (First Instance / Trial / Municipal / District Courts), Tier 2 (Regional / Cantonal / County / Appellate Courts), Tier 3 (Supreme / Cassation / Constitutional Courts), and all official court sub-portals.

Inputs: no named parameters. Returns: object

search_case_lawSearch Case LawB

Search Estonia (EE) court decisions and binding precedents via Riigikohus (Supreme Court of Estonia - riigikohus.ee) & Riigi Teataja Kohtulahendid and open national judicial archives (Supported courts: Riigikohus (Supreme Court), Ringkonnakohtud (Circuit Courts), Halduskohtud).

Inputs: query (required), court, limit. Returns: object

search_legislationSearch LegislationB

Search Estonia (EE) national legislation (statutes, acts, codes, regulations, official gazette) via Riigi Teataja Open API (riigiteataja.ee) and live national legal archives.

Inputs: query (required), year, limit. Returns: object

search_tiered_court_decisionsSearch Tiered Court DecisionsB

Search court decisions in Estonia (EE) filtered by specific judicial tier or regional/cantonal/appellate court. Supports Tier 1 (first_instance), Tier 2 (appellate_regional — including Cantonal/Regional/County/Circuit courts), and Tier 3 (supreme_constitutional), or a specific sub-portal key from list_court_hierarchy.

Inputs: query (required), tier, limit, sub_court. Returns: object

verify_citationVerify CitationA

No-Hallucination Citation Verifier for Estonia (EE). Validates format and live existence of legal citations (e.g., 'ECLI:EE:RK:2024:1.23.4567 or RT I, 01.01.2024, 1') against official Estonia and ECLI/ELI registries to prevent AI-hallucinated citations.

Inputs: citation (required). Returns: object

Tool Schema Changelog

Recent tool additions, removals, and schema changes observed during successful MCP inspections.

Loading tool schema changelog…

    TDQS

    A3.6/5.0

    Scored across 6 tools

    Disambiguation3/5

    Most tools are clearly distinct (legislation search, hierarchy listing, citation verification, document retrieval), but search_case_law and search_tiered_court_decisions both search essentially the same corpus of Estonian court decisions. The tier-filtering versus precedent/court-name framing gives some separation, but an agent can easily misselect between the two.

    Naming Consistency5/5

    All six names follow a consistent snake_case verb_noun pattern (search_*, list_*, verify_*, get_*). Verb choice matches the operation type predictably across the set.

    Tool Count5/5

    Six tools is well-scoped for a national legal research server: two search paths, one reference lookup, one verification, one retrieval, and one tiered search. No filler tools.

    Completeness4/5

    The surface covers the core workflow of search legislation, explore court structure, find decisions, verify citations, and fetch full text. Minor gaps exist around structured legislation metadata/table-of-contents retrieval and there is no way to enumerate or browse documents without a search or known URL/identifier.

    Maintenance

    ActivityMaintained
    ResponsivenessNo recent community issues

    Related MCP Connectors

    Related MCP Servers

    • A
      license
      A
      quality
      B
      maintenance
      Enables read-only search and retrieval of Austrian legislation and multi-tier court decisions, conversion of legal documents to Markdown, and verification of statutory and case-law citations against official registries.
      6
      MIT
    • A
      license
      A
      quality
      B
      maintenance
      Enables read-only search and retrieval of Finnish legislation and multi-tier court decisions from official sources, with citation verification and Markdown conversion of legal documents.
      6
      MIT