# lahend.ee — Estonian court decisions (remote · lahend.ee)

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

- Trust score: 70/100 (medium)
- Change this week: +5
- Registry status: active
- Liveness: live
- Owner verified: no
- Last scored: 2026-08-03

## Components

- remote · `lahend.ee`: 70/100 (this document), [markdown](https://verifymcp.io/servers/nimistu-lahend-mcp/api-lahend-mcp-mcp.md), [page](https://verifymcp.io/servers/nimistu-lahend-mcp/api-lahend-mcp-mcp)
- remote · `lahend.ee`: 26/100, [markdown](https://verifymcp.io/servers/nimistu-lahend-mcp/api-lahend-mcp-sse.md), [page](https://verifymcp.io/servers/nimistu-lahend-mcp/api-lahend-mcp-sse)

## Channel facts

- Endpoint: `https://lahend.ee/api/lahend-mcp/mcp`
- Transports: `streamable-http`
- Auth: `none`
- Version: `1.0.0`

## Trust breakdown

How this component scores in each security and reliability category. Every signal is checked automatically against the live server, and we only credit what we can confirm. Scores are 0–100 per category. Scoring method: https://verifymcp.io/docs/scoring (what has changed: https://verifymcp.io/docs/scoring/changelog)

Scored 2026-08-03.

- **Endpoint Security**: 66/100
  - The endpoint's TLS certificate is valid, in date, and uses a strong key.
  - Authorisation not fully verified: no authorisation is required to call this server, and 20 tool(s) never declared a destructiveHint. The MCP spec treats an absent hint as destructive by default, so we cannot call this surface safe.
  - HTTPS is enforced; there's no plaintext access path.
  - The HSTS (Strict-Transport-Security) header is present.
  - DNSSEC is configured correctly; the domain's records validate against the full chain to the root.
- **Transport & Reachability**: 100/100
  - Verified streamable-http transport via a live MCP handshake.
- **Schema Quality & AI Usability**: 77/100
  - AI-judged instruction clarity (excellent).
  - Context-footprint check failed: tool/resource definitions use about 2414 tokens (~120/item across 20 items; 20 tools + 0 resources), over budget; trim descriptions and params.
  - Usage-examples check failed: none of the tools include examples.
- **Stability & Change Management**: 27/100
  - Stability observed for 8 of 30 days with no destabilising changes; credit accrues until the full window elapses.
- **Tool Coverage**: 94/100
  - 100% of tools have a non-trivial description (not blank, and not just the tool's name).
  - 79% of tool parameters carry a description.
  - Structured output schemas are declared (100% of tools); any adoption earns full credit.
- **Capabilities**: 100/100
  - Implements a supported MCP spec version (2025-11-25); the latest is 2026-07-28.

## Install

### Claude

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

### Codex

```toml
[mcp_servers.nimistu-lahend-mcp]
url = "https://lahend.ee/api/lahend-mcp/mcp"
```

### opencode

```json
{
  "$schema": "https://opencode.ai/config.json",
  "mcp": {
    "nimistu-lahend-mcp": {
      "type": "remote",
      "url": "https://lahend.ee/api/lahend-mcp/mcp",
      "enabled": true
    }
  }
}
```

### OpenClaw

```bash
openclaw mcp add nimistu-lahend-mcp --url https://lahend.ee/api/lahend-mcp/mcp --transport streamable-http
```

### Hermes

```yaml
mcp_servers:
  nimistu-lahend-mcp:
    url: "https://lahend.ee/api/lahend-mcp/mcp"
```

### Other

```json
{
  "mcpServers": {
    "nimistu-lahend-mcp": {
      "type": "http",
      "url": "https://lahend.ee/api/lahend-mcp/mcp"
    }
  }
}
```

The mcpServers block is a cross-client convention. Remote transports vary, so check your client's docs.

## Changelog

Every change recorded for this component, newest first. Days that predate change tracking, or that we cannot explain, say so: "we were watching and nothing happened" and "we were not watching" are different claims.

### 2026-08-02 (score 70, +1)

No change was recorded against any check on this day. Stability & Change Management went from 20 to 23. That category is still filling its 30-day observation window: 6 days of observed history at the previous scan, 7 at this one. The score rises as the window fills, whether or not the server changes.

### 2026-07-31 (score 69, +2)

- [functional] We updated how we score, so this day's move reflects our rubric, not a change to the server

### 2026-07-30 (score 67, 0)

- [functional] We updated how we score, so this day's move reflects our rubric, not a change to the server

### 2026-07-29 (score 67, +2)

- [security improvement] HSTS header: unverified → pass
- [security] Authorization: Authorisation not fully verified: no authorisation is required to call this server, and 20 tool(s) never declared a destructiveHint. The MCP spec treats an absent hint as destructive by default, so we cannot call this surface safe.

### 2026-07-28 (score 65, 0)

- [security regression] HSTS header: pass → unverified
- [security] Authorization: Authorisation not yet verified: we couldn't confirm whether this endpoint requires it.

### 2026-07-27 (score 65, 0)

- [functional] We updated how we score, so this day's move reflects our rubric, not a change to the server

### 2026-07-26 (score 65)

First indexed and scored.

## MCP tools (20)

### `search` (~169 tokens)

Search Estonian court decisions

Full-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. Inflection-tolerant; wrap a phrase in "quotes" for an exact match. Every result carries a stable typed `id` - `ruling:<n>`, `law:<n>` or `section:<n>:<par>` - which `fetch` resolves. Use this when you need the legal position on something and do not yet know whether the answer is in a statute or in case law.

Input parameters:

- `limit` (integer): Max results (default 10).
- `query` (string, required): Legal terms, a case number, a party/company name, or a "quoted phrase".

Output parameters:

- `results` (array)
- `total` (number): Total matching rulings.

### `fetch` (~128 tokens)

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.

Input parameters:

- `id` (string, required): Typed id from `search`: 'ruling:1279503', 'law:12345' or 'section:12345:199'.

Output parameters:

- `id` (string)
- `metadata` (object)
- `text` (string): The full decision rendered as Markdown.
- `title` (string)
- `url` (string)

### `get_law_section` (~221 tokens)

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.

Input parameters:

- `abbrev` (string, required): Act abbreviation as cited: KarS, TsMS, VÕS, PankrS, RahaPTS…
- `paragrahv` (string, required): Paragraph number, e.g. '199'. Superscript sections are addressed as '43-1' or '43¹' (§ 43¹) - these are DIFFERENT provisions from § 43. A full citation like '§ 430 lg 1' is also accepted; the lõige i…

Output parameters:

- `found` (boolean)
- `text` (string)
- `title` (string)
- `url` (string)

### `search_law_sections` (~116 tokens)

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`.

Input parameters:

- `limit` (integer): Max results (default 8).
- `query` (string, required): A legal term or phrase, e.g. 'pankrotiavaldus', 'ehitusluba', 'töölepingu ülesütlemine'.

Output parameters:

- `results` (array)

### `search_laws` (~108 tokens)

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.

Input parameters:

- `inForceOnly` (boolean): Only acts currently in force (default true).
- `limit` (integer): Max results (default 10).
- `query` (string, required): Title fragment or abbreviation.

Output parameters:

- `results` (array)
- `total` (number)

### `law_versions` (~82 tokens)

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.

Input parameters:

- `abbrev` (string, required): Act abbreviation, e.g. 'TsMS'.

Output parameters:

- `act` (string)
- `url` (string)
- `versions` (array)

### `rulings_citing_section` (~161 tokens)

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.

Input parameters:

- `abbrev` (string, required): Act abbreviation as cited: KarS, TsMS, VÕS, PankrS…
- `limit` (integer): Max rulings returned (default 10).
- `paragrahv` (string, required): Paragraph number, e.g. '199'. A full citation is accepted; the lõige is ignored.

Output parameters:

- `rulings` (array)
- `section` (string)
- `totalRulings` (number): How many distinct rulings cite this §.

### `sections_cited_by_ruling` (~93 tokens)

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.

Input parameters:

- `id` (string, required): Ruling id, e.g. 'ruling:1279503'.

Output parameters:

- `sections` (array)

### `most_cited_sections` (~56 tokens)

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.

Input parameters:

- `limit` (integer): How many (default 20).

Output parameters:

- `sections` (array)

### `authority_documents_for_ruling` (~107 tokens)

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.

Input parameters:

- `id` (string, required): Ruling id, e.g. 'ruling:1279503'.
- `limit` (integer): Max documents (default 8).

Output parameters:

- `documents` (array)

### `search_rulings` (~198 tokens)

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.

Input parameters:

- `case_type` (string)
- `category` (string): Exact area of law, e.g. 'Võlaõigus'.
- `court` (string): Exact court name, e.g. 'Harju Maakohus Tallinna kohtumaja'.
- `date_from` (string): YYYY-MM-DD lower bound (decision date).
- `date_to` (string): YYYY-MM-DD upper bound (decision date).
- `limit` (integer)
- `offset` (integer)
- `query` (string): Free text (or "quoted phrase"); omit to browse by filters alone.

Output parameters:

- `rulings` (array)
- `total` (number)

### `rulings_by_company` (~108 tokens)

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.

Input parameters:

- `limit` (integer)
- `reg_code` (string, required): 8-digit Estonian company registry code, e.g. '16887028'.

Output parameters:

- `company`
- `count` (number)
- `rulings` (array)

### `list_courts` (~42 tokens)

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`.

Output parameters:

- `courts` (array)

### `list_categories` (~47 tokens)

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`.

Output parameters:

- `categories` (array)

### `recent_rulings` (~35 tokens)

Most recent court decisions

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

Input parameters:

- `limit` (integer)

Output parameters:

- `rulings` (array)

### `eu_law_search` (~109 tokens)

Search EU law in Estonian

Search EU regulations and directives, and Court of Justice / European Court of Human Rights judgments, by Estonian title or case number. The corpus is Estonian-language throughout: 94% of the Court of Justice's output is translated into Estonian, and essentially nothing indexes it in Estonian. Returns ids usable with eu_law_fetch.

Input parameters:

- `limit` (integer)
- `query` (string, required): Estonian title words, or a case number such as 'C-362/14'.

Output parameters:

- `results` (array)

### `eu_act` (~109 tokens)

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.

Input parameters:

- `article` (string): Return only this article, e.g. '5'.
- `celex` (string, required): CELEX number, e.g. '32016R0679'. Sector 3 acts only.

Output parameters:

- `articleCount` (number)
- `articles` (array)
- `celex` (string)
- `citingRulings` (number)
- `mostCitedArticles` (array)
- `title` (string|null)
- `url` (string)

### `estonian_rulings_citing_eu_law` (~127 tokens)

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.

Input parameters:

- `article` (string): Only decisions citing this article of the act.
- `celex` (string, required): CELEX of an EU act or judgment.
- `limit` (integer)

Output parameters:

- `celex` (string)
- `rulings` (array)
- `totalRulings` (number)

### `eu_law_cited_by_ruling` (~73 tokens)

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.

Input parameters:

- `id` (string, required): Ruling id, e.g. 'ruling:1279503'.

Output parameters:

- `cited` (array)

### `most_cited_eu_law` (~65 tokens)

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.

Input parameters:

- `limit` (integer)

Output parameters:

- `instruments` (array)

## Diagnostics

Captured diagnostic sections: TLS, DNSSEC, Authorisation, Transports. The full working is on the page: https://verifymcp.io/servers/nimistu-lahend-mcp/api-lahend-mcp-mcp#diagnostics

## Score history

- 2026-08-03: 70
- 2026-08-02: 70
- 2026-08-01: 69
- 2026-07-31: 69
- 2026-07-30: 67
- 2026-07-29: 67
- 2026-07-28: 65
- 2026-07-27: 65
- 2026-07-26: 65

## Links

- Remote endpoint: https://lahend.ee/api/lahend-mcp/mcp
- Repository: https://github.com/Nimistu/lahend-mcp
- Website: https://lahend.ee/
- Changelog RSS feed: https://verifymcp.io/servers/nimistu-lahend-mcp/api-lahend-mcp-mcp/changelog.xml
- Changelog JSON feed: https://verifymcp.io/servers/nimistu-lahend-mcp/api-lahend-mcp-mcp/changelog.json
- HTML version of this page: https://verifymcp.io/servers/nimistu-lahend-mcp/api-lahend-mcp-mcp
