lahend.ee — Estonian court decisions

io.github.NimistuPublished by GitHub account Nimistuv1.0.0Updated Nov 2, 2026

Estonian court decisions: full-text case-law search, each ruling linked to its companies. Free.

VerifiedStreamable HTTPWeb executableWeb Search & ScrapingKnowledge & Memory

Overview

AI-generated overview

Free remote MCP server for Estonian law: full-text search of court rulings, legislation paragraph by paragraph, and EU law in Estonian, linked by citations.

What you can do
  • Search and read court rulings, filtered by court, case type, area of law or date, and list courts and categories
  • Look up companies' court cases by Estonian registry code, and find authority documents naming the same companies
  • Find acts and search or fetch individual paragraphs, and list an act's consolidated versions with validity ranges
  • Trace citations between rulings and statute paragraphs, including the most-cited provisions
  • Search EU regulations, directives and court judgments in Estonian, fetch them by CELEX, and see which Estonian rulings cite them
When to use it
Useful when answering questions about Estonian case law or legislation, checking how courts have applied a specific provision, or connecting an Estonian ruling to the EU law and company records behind it.
Requirements
A remote streamable HTTP endpoint; no API key, sign-up or environment variables are needed. Data is drawn from Riigi Teataja, EUR-Lex, HUDOC and the Estonian Business Register via nimistu.ee.
Before you install
Read-only lookup service; no credentials are requested. Coverage is partial: companies are linked on roughly 19% of rulings, about 26% of rulings carry no area-of-law category, and citations were extracted from only part of the corpus, so empty results do not prove absence. Queries and identifiers are sent to lahend.ee.

Installation

In SourceWeft

  1. Open lahend.ee — Estonian court decisions in the dashboard and add it to a workspace.
  2. Enable the server for the chats that should use its tools.

Web executable via Streamable HTTP. Remote servers run from the web runtime once configured in a workspace.

Use with an agent

Paste this prompt into Claude Code, Codex, Cursor or another agent — or into SourceWeft chat. The agent reads this server's install guide, shows you its publisher, endpoint and sign-in, and adds it to your client once you agree. Keys never go into a command.

Read https://sourceweft.com/mcp/io.github.Nimistu%2Flahend-mcp/install.md and connect the MCP server it describes to my client. Before changing any config, show me its publisher, endpoint and sign-in method and wait for my OK. Never put an API key in a command or in a file I would commit; ask me where it should come from.

Read the install guide the agent follows

Other MCP clients

Add this to your client's mcpServers config.

{
  "mcpServers": {
    "lahend-ee-estonian-court-decisions": {
      "type": "http",
      "url": "https://lahend.ee/api/lahend-mcp/mcp"
    }
  }
}

README

lahend.ee MCP server

Free, no-API-key MCP server for Estonian law: court decisions, legislation paragraph by paragraph, and EU law in Estonian - with the citation index that links them to each other.

https://lahend.ee/api/lahend-mcp/mcp     (streamable HTTP)https://lahend.ee/api/lahend-mcp/sse     (SSE)

No key, no sign-up, no rate limit worth mentioning. Data comes from Riigi Teataja, EUR-Lex and HUDOC; company links come from the Estonian Business Register via nimistu.ee.

What it can do

Legislation is served in full, not just case law - each paragraph is addressable on its own, with every ruling that has ever cited it. That link is the point of the server: 3.05 million citations extracted from the decision texts, so you can ask what a statute means in practice rather than what it says.

The corpus is 564,503 rulings. Citations were extracted from 324,968 of them - the rest either cite no statute or state it in a form the extractor does not resolve. Two further coverage limits are worth knowing before you rely on a negative result:

  • Companies are linked on ~19% of rulings. Parties are matched by registry code found in the decision text, and many judgments name a company without ever stating its code. An empty companies array means no code was found - not that no company was involved.
  • ~26% of rulings carry no asja_kategooria. Filtering search_rulings by category silently excludes them; list_categories reports the uncategorised count alongside the per-category totals.

Case law

ToolWhat it does
search_rulingsFull-text ruling search with optional filters: court name, case type (civil/administrative/criminal), area of law (asja_kategooria) and a decision-date range
rulings_by_companyGiven an 8-digit Estonian registry code (registrikood), return every court decision that names that company, with its role (claimant/defendant/etc.) and the other parties
recent_rulingsThe newest published rulings (by decision date), across all courts and areas of law
list_courtsAll Estonian courts that have published decisions, each with its ruling count
list_categoriesAll areas of law (asja_kategooria) present in the corpus, each with its ruling count

Legislation

ToolWhat it does
get_law_sectionReturn a single § of an Estonian act, addressed the way lawyers cite it: an abbreviation and a number, e.g
search_law_sectionsFull-text search across the paragraphs of every in-force Estonian act (4M+ sections)
search_lawsFind Estonian acts by title or abbreviation (KarS, TsMS, VÕS…)
law_versionsList an act's redaktsioonid (consolidated versions) with their validity ranges, newest first

Rulings ↔ statute

ToolWhat it does
rulings_citing_sectionGiven an act abbreviation and a §, return the court decisions that actually cite it, newest first, with a total count
sections_cited_by_rulingGiven a ruling id (from search), list the statute paragraphs it cites, with the lõiked named and each § resolved to its act
most_cited_sectionsThe statute paragraphs cited by the most court decisions, ranked

EU law in Estonian

ToolWhat it does
eu_law_searchSearch EU regulations and directives, and Court of Justice / European Court of Human Rights judgments, by Estonian title or case number
eu_actFetch an EU regulation or directive by CELEX (e.g
estonian_rulings_citing_eu_lawGiven a CELEX (an act like '32016R0679', or a Court of Justice judgment like '62014CJ0362'), return the Estonian court decisions that cite it
eu_law_cited_by_rulingGiven an Estonian ruling id (from search), list the EU instruments it cites - regulations, directives and Court of Justice judgments - with the articles named where the decision names them
most_cited_eu_lawRanked by how many Estonian decisions cite them

Cross-register

ToolWhat it does
authority_documents_for_rulingGiven a ruling id, return documents from Estonian public-authority document registers that name the same companies - procurement files, licences, correspondence, inspections

Generic (ChatGPT/Claude connectors)

ToolWhat it does
searchFull-text search across Estonian LAW - both court decisions (civil, administrative and criminal rulings) and legislation (acts and their individual paragraphs), from Riigi Teataja, indexed by lahend.ee
fetchRetrieve the full text + metadata for any id returned by search

Add it

Claude Code:

bash
claude mcp add --transport http lahend https://lahend.ee/api/lahend-mcp/mcp

Any client that takes a remote MCP URL works the same way. search and fetch are present so the ChatGPT and Claude connector UIs work out of the box; the named tools above are better when you know what you want.

Examples

  • "What does TLS § 88 say, and how have the courts applied it?" - get_law_section then rulings_citing_section.
  • "Which Estonian decisions apply the GDPR?" - estonian_rulings_citing_eu_law with CELEX 32016R0679.
  • "Which provisions does this ruling turn on?" - sections_cited_by_ruling.

Licence

Source data is public. Built and run by Nimistu MTÜ (reg. 80673204), a non-profit; free to use and free of advertising.

Source: README.md at commit 5fec230

Tools

20

fetch

Fetch a court decision by id

Retrieve the full text + metadata for any `id` returned by `search`. Handles all three kinds: `ruling:<n>` (a court decision with its linked companies), `law:<n>` (an act in its current redaktsioon, all paragraphs) and `section:<n>:<par>` (a single paragraph - prefer this over pulling a whole act). Returns Markdown plus the canonical lahend.ee URL.

Parametersidrequired

get_law_section

Get one paragraph of an Estonian act

Return a single § of an Estonian act, addressed the way lawyers cite it: an abbreviation and a number, e.g. abbrev='KarS', paragrahv='199', or abbrev='TsMS', paragrahv='430'. This is the precise way to answer a legal question - pulling a whole act costs thousands of tokens and buries the answer. Text comes from the act's current redaktsioon.

Parametersabbrevrequiredparagrahvrequired

search_law_sections

Search the text of Estonian legislation, paragraph by paragraph

Full-text search across the paragraphs of every in-force Estonian act (4M+ sections). Answers 'which provision governs X' directly, returning the paragraphs themselves rather than acts you then have to read. Each hit carries a `section:` id for `fetch`.

Parameterslimitqueryrequired

search_laws

Find Estonian acts

Find Estonian acts by title or abbreviation (KarS, TsMS, VÕS…). Returns each act with a `law:` id for `fetch`, its type, issuer and whether it is still in force. Use get_law_section when you already know the paragraph you want.

ParameterslimitqueryrequiredinForceOnly

law_versions

List the redaktsioonid of an act

List an act's redaktsioonid (consolidated versions) with their validity ranges, newest first. Use this to answer 'what did this say on date X' - Estonian law is amended constantly and the current text is often not the one that applied to the facts.

Parametersabbrevrequired

rulings_citing_section

Find the case law applying a given paragraph

Given an act abbreviation and a §, return the court decisions that actually cite it, newest first, with a total count. Built from 3.05M citations extracted from the decision texts themselves. This answers 'how have the courts applied KarS § 199' - the question statute text alone cannot answer, and the reason to use lahend.ee over reading Riigi Teataja.

Parameterslimitabbrevrequiredparagrahvrequired

sections_cited_by_ruling

List the provisions a decision relies on

Given a ruling id (from `search`), list the statute paragraphs it cites, with the lõiked named and each § resolved to its act. Use it to see the legal basis of a decision without reading the whole judgment, then `fetch` a `section:` id for the provision text.

Parametersidrequired

most_cited_sections

The most-litigated provisions in Estonian law

The statute paragraphs cited by the most court decisions, ranked. A map of where Estonian litigation actually happens, and a good starting point when exploring an unfamiliar area.

Parameterslimit

authority_documents_for_ruling

Public-authority documents about the companies in a ruling

Given a ruling id, return documents from Estonian public-authority document registers that name the same companies - procurement files, licences, correspondence, inspections. A court dispute and an authority's file about the same company are the two halves nobody normally sees together. Sourced from dokumendiregister.ee. This depends on the ruling having a company linked to it, which holds for about 19% of the corpus: parties are extracted from the decision text by registry code, and a judgment that names a company without its code yields no link. An empty list therefore means either no linked company or no matching documents - it is not evidence that no authority holds a file.

Parametersidrequiredlimit

search_rulings

Search court decisions with filters

Full-text ruling search with optional filters: court name, case type (civil/administrative/criminal), area of law (asja_kategooria) and a decision-date range. Returns a page of rulings with a total count. Use `list_courts` / `list_categories` to discover valid filter values. Two coverage limits worth knowing, because both are silent: - `companies` is populated on about 19% of rulings. Parties are extracted from the decision text by registry code, and many judgments name a company without ever stating its code. An EMPTY array means no code was found in the text, NOT that no company was involved. - About 26% of rulings carry no `asja_kategooria` at all, so filtering by `category` silently excludes them. Omit the filter to search the whole corpus.

Parameterscourtlimitqueryoffsetdate_tocategorycase_typedate_from

rulings_by_company

Court decisions involving a company

Given an 8-digit Estonian registry code (registrikood), return every court decision that names that company, with its role (claimant/defendant/etc.) and the other parties. This company↔case-law join is unique to lahend.ee. Find a registry code via nimistu.ee or the nimistu MCP.

Parameterslimitreg_coderequired

list_courts

List Estonian courts

All Estonian courts that have published decisions, each with its ruling count. Use a court name as the `court` filter in `search_rulings`.

Takes no parameters.

list_categories

List areas of law

All areas of law (asja_kategooria) present in the corpus, each with its ruling count. Use a category as the `category` filter in `search_rulings`. These counts do NOT sum to the corpus size: about 26% of rulings carry no category, so they appear in `list_courts` totals and in unfiltered search but in no category here. Filtering by category silently excludes them.

Takes no parameters.

recent_rulings

Most recent court decisions

The newest published rulings (by decision date), across all courts and areas of law.

Parameterslimit

eu_act

Read an EU act in Estonian

Fetch an EU regulation or directive by CELEX (e.g. '32016R0679' for the GDPR), article by article, in Estonian. Also reports how many Estonian court decisions cite it and which articles they lean on - the part EUR-Lex cannot answer.

Parameterscelexrequiredarticle

estonian_rulings_citing_eu_law

Find Estonian case law applying an EU instrument

Given a CELEX (an act like '32016R0679', or a Court of Justice judgment like '62014CJ0362'), return the Estonian court decisions that cite it. This is the join no other source publishes: EUR-Lex knows the EU instrument, Riigi Teataja knows the Estonian decision, and nobody connects them.

Parameterscelexrequiredlimitarticle

eu_law_cited_by_ruling

List the EU law a decision relies on

Given an Estonian ruling id (from `search`), list the EU instruments it cites - regulations, directives and Court of Justice judgments - with the articles named where the decision names them.

Parametersidrequired

most_cited_eu_law

The EU instruments Estonian courts apply most

Ranked by how many Estonian decisions cite them. A good starting point for 'which EU law actually matters in Estonian practice' - the answer is concentrated in consumer protection, jurisdiction, asylum and agriculture rather than spread evenly.

Parameterslimit

Version history

1
  1. v1.0.0LatestSep 16, 2026

Score

100% of the applicable checks met

How complete this listing is, computed from the registry entry, the endpoint and public sources. Not a rating of the server and not a statement that it is safe or working today: reachability is a dated check, and no installs or reviews go into the score.

  • Reached in the last 30 daysRequired25 pts
  • Auth declaredRequired10 pts
  • Tools listedRequired15 pts
  • DescriptionRequired15 pts
  • Logo10 pts
  • Documentation15 pts
  • License10 pts