lahend.ee — Estonian court decisions is an MCP server published by io.github.Nimistu, hosted at lahend.ee. When last checked on 2026-11-22 it was working: it answers and lists its tools. It declares 20 tools, including search, fetch, get_law_section, search_law_sections, search_laws.
Estonian court decisions: full-text case-law search, each ruling linked to its companies. Free.
4 connections through 5 shared values. Tap any node.
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. Covers statutes and case law in one query.
| Parameter | Type | Description |
|---|---|---|
| limit | integer | Max results (default 10). |
| query * | string | Legal terms, a case number, a party/company name, or a "quoted phrase". |
{
"name": "search",
"title": "Search Estonian court decisions",
"description": "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. Covers statutes and case law in one query.",
"inputSchema": {
"type": "object",
"$schema": "http://json-schema.org/draft-07/schema#",
"required": [
"query"
],
"properties": {
"limit": {
"type": "integer",
"maximum": 25,
"minimum": 1,
"description": "Max results (default 10)."
},
"query": {
"type": "string",
"description": "Legal terms, a case number, a party/company name, or a \"quoted phrase\"."
}
},
"additionalProperties": false
},
"outputSchema": {
"type": "object",
"$schema": "http://json-schema.org/draft-07/schema#",
"required": [
"total",
"results"
],
"properties": {
"total": {
"type": "number",
"description": "Total matching rulings."
},
"results": {
"type": "array",
"items": {
"type": "object",
"required": [
"id",
"title",
"url"
],
"properties": {
"id": {
"type": "string"
},
"url": {
"type": "string"
},
"title": {
"type": "string"
}
},
"additionalProperties": false
}
}
},
"additionalProperties": false
},
"annotations": {
"readOnlyHint": true,
"openWorldHint": false
}
}None yet. Changes appear after a server's second daily check.
Squares are this server's values; dots are other servers sharing them. A shared address or publisher is a lead, not proof of a common operator.
Inferred from the host name and headers: what a server runs on, not who runs it.
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, much shorter than a whole act). Returns Markdown plus the canonical lahend.ee URL.
| Parameter | Type | Description |
|---|---|---|
| id * | string | Typed id from `search`: 'ruling:1279503', 'law:12345' or 'section:12345:199'. |
{
"name": "fetch",
"title": "Fetch a court decision by id",
"description": "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, much shorter than a whole act). Returns Markdown plus the canonical lahend.ee URL.",
"inputSchema": {
"type": "object",
"$schema": "http://json-schema.org/draft-07/schema#",
"required": [
"id"
],
"properties": {
"id": {
"type": "string",
"description": "Typed id from `search`: 'ruling:1279503', 'law:12345' or 'section:12345:199'."
}
},
"additionalProperties": false
},
"outputSchema": {
"type": "object",
"$schema": "http://json-schema.org/draft-07/schema#",
"required": [
"id",
"title",
"text",
"url",
"metadata"
],
"properties": {
"id": {
"type": "string"
},
"url": {
"type": "string"
},
"text": {
"type": "string",
"description": "The full decision rendered as Markdown."
},
"title": {
"type": "string"
},
"metadata": {
"type": "object",
"additionalProperties": {}
}
},
"additionalProperties": false
},
"annotations": {
"readOnlyHint": true,
"openWorldHint": false
}
}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'. Returns only that paragraph, not the whole act. Text comes from the act's current redaktsioon.
| Parameter | Type | Description |
|---|---|---|
| abbrev * | string | Act abbreviation as cited: KarS, TsMS, VÕS, PankrS, RahaPTS… |
| paragrahv * | string | 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 is ignored. A bare second number ('43 1') is rejected as ambiguous, not treated as § 43. |
{
"name": "get_law_section",
"title": "Get one paragraph of an Estonian act",
"description": "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'. Returns only that paragraph, not the whole act. Text comes from the act's current redaktsioon.",
"inputSchema": {
"type": "object",
"$schema": "http://json-schema.org/draft-07/schema#",
"required": [
"abbrev",
"paragrahv"
],
"properties": {
"abbrev": {
"type": "string",
"description": "Act abbreviation as cited: KarS, TsMS, VÕS, PankrS, RahaPTS…"
},
"paragrahv": {
"type": "string",
"description": "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 is ignored. A bare second number ('43 1') is rejected as ambiguous, not treated as § 43."
}
},
"additionalProperties": false
},
"outputSchema": {
"type": "object",
"$schema": "http://json-schema.org/draft-07/schema#",
"required": [
"found"
],
"properties": {
"url": {
"type": "string"
},
"text": {
"type": "string"
},
"found": {
"type": "boolean"
},
"title": {
"type": "string"
}
},
"additionalProperties": false
},
"annotations": {
"readOnlyHint": true,
"openWorldHint": false
}
}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`.
| Parameter | Type | Description |
|---|---|---|
| limit | integer | Max results (default 8). |
| query * | string | A legal term or phrase, e.g. 'pankrotiavaldus', 'ehitusluba', 'töölepingu ülesütlemine'. |
{
"name": "search_law_sections",
"title": "Search the text of Estonian legislation, paragraph by paragraph",
"description": "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`.",
"inputSchema": {
"type": "object",
"$schema": "http://json-schema.org/draft-07/schema#",
"required": [
"query"
],
"properties": {
"limit": {
"type": "integer",
"maximum": 25,
"minimum": 1,
"description": "Max results (default 8)."
},
"query": {
"type": "string",
"description": "A legal term or phrase, e.g. 'pankrotiavaldus', 'ehitusluba', 'töölepingu ülesütlemine'."
}
},
"additionalProperties": false
},
"outputSchema": {
"type": "object",
"$schema": "http://json-schema.org/draft-07/schema#",
"required": [
"results"
],
"properties": {
"results": {
"type": "array",
"items": {
"type": "object",
"required": [
"id",
"title",
"url",
"excerpt"
],
"properties": {
"id": {
"type": "string"
},
"url": {
"type": "string"
},
"title": {
"type": "string"
},
"excerpt": {
"type": "string"
}
},
"additionalProperties": false
}
}
},
"additionalProperties": false
},
"annotations": {
"readOnlyHint": true,
"openWorldHint": false
}
}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.
| Parameter | Type | Description |
|---|---|---|
| limit | integer | Max results (default 10). |
| query * | string | Title fragment or abbreviation. |
| inForceOnly | boolean | Only acts currently in force (default true). |
{
"name": "search_laws",
"title": "Find Estonian acts",
"description": "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.",
"inputSchema": {
"type": "object",
"$schema": "http://json-schema.org/draft-07/schema#",
"required": [
"query"
],
"properties": {
"limit": {
"type": "integer",
"maximum": 25,
"minimum": 1,
"description": "Max results (default 10)."
},
"query": {
"type": "string",
"description": "Title fragment or abbreviation."
},
"inForceOnly": {
"type": "boolean",
"description": "Only acts currently in force (default true)."
}
},
"additionalProperties": false
},
"outputSchema": {
"type": "object",
"$schema": "http://json-schema.org/draft-07/schema#",
"required": [
"total",
"results"
],
"properties": {
"total": {
"type": "number"
},
"results": {
"type": "array",
"items": {
"type": "object",
"required": [
"id",
"title",
"lyhend",
"aktLiik",
"isInForce",
"url"
],
"properties": {
"id": {
"type": "string"
},
"url": {
"type": "string"
},
"title": {
"type": "string"
},
"lyhend": {
"type": [
"string",
"null"
]
},
"aktLiik": {
"type": [
"string",
"null"
]
},
"isInForce": {
"type": "boolean"
}
},
"additionalProperties": false
}
}
},
"additionalProperties": false
},
"annotations": {
"readOnlyHint": true,
"openWorldHint": false
}
}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.
| Parameter | Type | Description |
|---|---|---|
| abbrev * | string | Act abbreviation, e.g. 'TsMS'. |
{
"name": "law_versions",
"title": "List the redaktsioonid of an act",
"description": "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.",
"inputSchema": {
"type": "object",
"$schema": "http://json-schema.org/draft-07/schema#",
"required": [
"abbrev"
],
"properties": {
"abbrev": {
"type": "string",
"description": "Act abbreviation, e.g. 'TsMS'."
}
},
"additionalProperties": false
},
"outputSchema": {
"type": "object",
"$schema": "http://json-schema.org/draft-07/schema#",
"required": [
"act",
"url",
"versions"
],
"properties": {
"act": {
"type": "string"
},
"url": {
"type": "string"
},
"versions": {
"type": "array",
"items": {
"type": "object",
"required": [
"validFrom",
"validTo"
],
"properties": {
"validTo": {
"type": [
"string",
"null"
]
},
"validFrom": {
"type": [
"string",
"null"
]
}
},
"additionalProperties": false
}
}
},
"additionalProperties": false
},
"annotations": {
"readOnlyHint": true,
"openWorldHint": false
}
}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. Shows how the courts have applied a provision (e.g. KarS § 199), which the statute text alone does not.
| Parameter | Type | Description |
|---|---|---|
| limit | integer | Max rulings returned (default 10). |
| abbrev * | string | Act abbreviation as cited: KarS, TsMS, VÕS, PankrS… |
| paragrahv * | string | Paragraph number, e.g. '199'. A full citation is accepted; the lõige is ignored. |
{
"name": "rulings_citing_section",
"title": "Find the case law applying a given paragraph",
"description": "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. Shows how the courts have applied a provision (e.g. KarS § 199), which the statute text alone does not.",
"inputSchema": {
"type": "object",
"$schema": "http://json-schema.org/draft-07/schema#",
"required": [
"abbrev",
"paragrahv"
],
"properties": {
"limit": {
"type": "integer",
"maximum": 25,
"minimum": 1,
"description": "Max rulings returned (default 10)."
},
"abbrev": {
"type": "string",
"description": "Act abbreviation as cited: KarS, TsMS, VÕS, PankrS…"
},
"paragrahv": {
"type": "string",
"description": "Paragraph number, e.g. '199'. A full citation is accepted; the lõige is ignored."
}
},
"additionalProperties": false
},
"outputSchema": {
"type": "object",
"$schema": "http://json-schema.org/draft-07/schema#",
"required": [
"section",
"totalRulings",
"rulings"
],
"properties": {
"rulings": {
"type": "array",
"items": {
"type": "object",
"required": [
"id",
"caseNo",
"kohus",
"pubDate",
"kategooria",
"url"
],
"properties": {
"id": {
"type": "string"
},
"url": {
"type": "string"
},
"kohus": {
"type": [
"string",
"null"
]
},
"caseNo": {
"type": [
"string",
"null"
]
},
"pubDate": {
"type": [
"string",
"null"
]
},
"kategooria": {
"type": [
"string",
"null"
]
}
},
"additionalProperties": false
}
},
"section": {
"type": "string"
},
"totalRulings": {
"type": "number",
"description": "How many distinct rulings cite this §."
}
},
"additionalProperties": false
},
"annotations": {
"readOnlyHint": true,
"openWorldHint": false
}
}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.
| Parameter | Type | Description |
|---|---|---|
| id * | string | Ruling id, e.g. 'ruling:1279503'. |
{
"name": "sections_cited_by_ruling",
"title": "List the provisions a decision relies on",
"description": "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.",
"inputSchema": {
"type": "object",
"$schema": "http://json-schema.org/draft-07/schema#",
"required": [
"id"
],
"properties": {
"id": {
"type": "string",
"description": "Ruling id, e.g. 'ruling:1279503'."
}
},
"additionalProperties": false
},
"outputSchema": {
"type": "object",
"$schema": "http://json-schema.org/draft-07/schema#",
"required": [
"sections"
],
"properties": {
"sections": {
"type": "array",
"items": {
"type": "object",
"required": [
"id",
"act",
"paragrahv",
"title",
"lgs"
],
"properties": {
"id": {
"type": [
"string",
"null"
]
},
"act": {
"type": "string"
},
"lgs": {
"type": "array",
"items": {
"type": "string"
}
},
"title": {
"type": [
"string",
"null"
]
},
"paragrahv": {
"type": "string"
}
},
"additionalProperties": false
}
}
},
"additionalProperties": false
},
"annotations": {
"readOnlyHint": true,
"openWorldHint": false
}
}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.
| Parameter | Type | Description |
|---|---|---|
| limit | integer | How many (default 20). |
{
"name": "most_cited_sections",
"title": "The most-litigated provisions in Estonian law",
"description": "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.",
"inputSchema": {
"type": "object",
"$schema": "http://json-schema.org/draft-07/schema#",
"properties": {
"limit": {
"type": "integer",
"maximum": 50,
"minimum": 1,
"description": "How many (default 20)."
}
},
"additionalProperties": false
},
"outputSchema": {
"type": "object",
"$schema": "http://json-schema.org/draft-07/schema#",
"required": [
"sections"
],
"properties": {
"sections": {
"type": "array",
"items": {
"type": "object",
"required": [
"id",
"act",
"paragrahv",
"title",
"rulings"
],
"properties": {
"id": {
"type": "string"
},
"act": {
"type": "string"
},
"title": {
"type": [
"string",
"null"
]
},
"rulings": {
"type": "number"
},
"paragrahv": {
"type": "string"
}
},
"additionalProperties": false
}
}
},
"additionalProperties": false
},
"annotations": {
"readOnlyHint": true,
"openWorldHint": false
}
}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.
| Parameter | Type | Description |
|---|---|---|
| id * | string | Ruling id, e.g. 'ruling:1279503'. |
| limit | integer | Max documents (default 8). |
{
"name": "authority_documents_for_ruling",
"title": "Public-authority documents about the companies in a ruling",
"description": "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.\n\nThis 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.",
"inputSchema": {
"type": "object",
"$schema": "http://json-schema.org/draft-07/schema#",
"required": [
"id"
],
"properties": {
"id": {
"type": "string",
"description": "Ruling id, e.g. 'ruling:1279503'."
},
"limit": {
"type": "integer",
"maximum": 25,
"minimum": 1,
"description": "Max documents (default 8)."
}
},
"additionalProperties": false
},
"outputSchema": {
"type": "object",
"$schema": "http://json-schema.org/draft-07/schema#",
"required": [
"documents"
],
"properties": {
"documents": {
"type": "array",
"items": {
"type": "object",
"required": [
"title",
"authority",
"docType",
"regDate",
"company",
"url"
],
"properties": {
"url": {
"type": "string"
},
"title": {
"type": [
"string",
"null"
]
},
"company": {
"type": [
"string",
"null"
]
},
"docType": {
"type": [
"string",
"null"
]
},
"regDate": {
"type": [
"string",
"null"
]
},
"authority": {
"type": [
"string",
"null"
]
}
},
"additionalProperties": false
}
}
},
"additionalProperties": false
},
"annotations": {
"readOnlyHint": true,
"openWorldHint": false
}
}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.
| Parameter | Type | Description |
|---|---|---|
| court | string | Exact court name, e.g. 'Harju Maakohus Tallinna kohtumaja'. |
| limit | integer | |
| query | string | Free text (or "quoted phrase"); omit to browse by filters alone. |
| offset | integer | |
| date_to | string | YYYY-MM-DD upper bound (decision date). |
| category | string | Exact area of law, e.g. 'Võlaõigus'. |
| case_type | string | one of ["civil","administrative","criminal"] |
| date_from | string | YYYY-MM-DD lower bound (decision date). |
{
"name": "search_rulings",
"title": "Search court decisions with filters",
"description": "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.\n\nTwo coverage limits worth knowing, because both are silent:\n- `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.\n- 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.",
"inputSchema": {
"type": "object",
"$schema": "http://json-schema.org/draft-07/schema#",
"properties": {
"court": {
"type": "string",
"description": "Exact court name, e.g. 'Harju Maakohus Tallinna kohtumaja'."
},
"limit": {
"type": "integer",
"maximum": 25,
"minimum": 1
},
"query": {
"type": "string",
"description": "Free text (or \"quoted phrase\"); omit to browse by filters alone."
},
"offset": {
"type": "integer",
"minimum": 0
},
"date_to": {
"type": "string",
"description": "YYYY-MM-DD upper bound (decision date)."
},
"category": {
"type": "string",
"description": "Exact area of law, e.g. 'Võlaõigus'."
},
"case_type": {
"enum": [
"civil",
"administrative",
"criminal"
],
"type": "string"
},
"date_from": {
"type": "string",
"description": "YYYY-MM-DD lower bound (decision date)."
}
},
"additionalProperties": false
},
"outputSchema": {
"type": "object",
"$schema": "http://json-schema.org/draft-07/schema#",
"required": [
"total",
"rulings"
],
"properties": {
"total": {
"type": "number"
},
"rulings": {
"type": "array",
"items": {
"type": "object",
"required": [
"id",
"caseNo",
"court",
"category",
"date",
"companies",
"url"
],
"properties": {
"id": {
"type": "string"
},
"url": {
"type": "string"
},
"date": {
"type": [
"string",
"null"
]
},
"court": {
"type": "string"
},
"caseNo": {
"type": "string"
},
"category": {
"type": [
"string",
"null"
]
},
"companies": {
"type": "array",
"items": {
"type": "string"
}
}
},
"additionalProperties": false
}
}
},
"additionalProperties": false
},
"annotations": {
"readOnlyHint": true,
"openWorldHint": false
}
}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.
| Parameter | Type | Description |
|---|---|---|
| limit | integer | |
| reg_code * | string | 8-digit Estonian company registry code, e.g. '16887028'. |
{
"name": "rulings_by_company",
"title": "Court decisions involving a company",
"description": "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.",
"inputSchema": {
"type": "object",
"$schema": "http://json-schema.org/draft-07/schema#",
"required": [
"reg_code"
],
"properties": {
"limit": {
"type": "integer",
"maximum": 50,
"minimum": 1
},
"reg_code": {
"type": "string",
"description": "8-digit Estonian company registry code, e.g. '16887028'."
}
},
"additionalProperties": false
},
"outputSchema": {
"type": "object",
"$schema": "http://json-schema.org/draft-07/schema#",
"required": [
"company",
"count",
"rulings"
],
"properties": {
"count": {
"type": "number"
},
"company": {
"anyOf": [
{
"type": "object",
"required": [
"regCode",
"name"
],
"properties": {
"name": {
"type": "string"
},
"regCode": {
"type": "string"
}
},
"additionalProperties": false
},
{
"type": "null"
}
]
},
"rulings": {
"type": "array",
"items": {
"type": "object",
"required": [
"id",
"caseNo",
"court",
"category",
"date",
"role",
"url"
],
"properties": {
"id": {
"type": "string"
},
"url": {
"type": "string"
},
"date": {
"type": [
"string",
"null"
]
},
"role": {
"type": [
"string",
"null"
]
},
"court": {
"type": "string"
},
"caseNo": {
"type": "string"
},
"category": {
"type": [
"string",
"null"
]
}
},
"additionalProperties": false
}
}
},
"additionalProperties": false
},
"annotations": {
"readOnlyHint": true,
"openWorldHint": false
}
}All Estonian courts that have published decisions, each with its ruling count. Use a court name as the `court` filter in `search_rulings`.
No parameters.
{
"name": "list_courts",
"title": "List Estonian courts",
"description": "All Estonian courts that have published decisions, each with its ruling count. Use a court name as the `court` filter in `search_rulings`.",
"inputSchema": {
"type": "object",
"$schema": "http://json-schema.org/draft-07/schema#",
"properties": {}
},
"outputSchema": {
"type": "object",
"$schema": "http://json-schema.org/draft-07/schema#",
"required": [
"courts"
],
"properties": {
"courts": {
"type": "array",
"items": {
"type": "object",
"required": [
"name",
"count"
],
"properties": {
"name": {
"type": "string"
},
"count": {
"type": "number"
}
},
"additionalProperties": false
}
}
},
"additionalProperties": false
},
"annotations": {
"readOnlyHint": true,
"openWorldHint": false
}
}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.
No parameters.
{
"name": "list_categories",
"title": "List areas of law",
"description": "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`.\n\nThese 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.",
"inputSchema": {
"type": "object",
"$schema": "http://json-schema.org/draft-07/schema#",
"properties": {}
},
"outputSchema": {
"type": "object",
"$schema": "http://json-schema.org/draft-07/schema#",
"required": [
"categories",
"uncategorised",
"corpusTotal"
],
"properties": {
"categories": {
"type": "array",
"items": {
"type": "object",
"required": [
"name",
"count"
],
"properties": {
"name": {
"type": "string"
},
"count": {
"type": "number"
}
},
"additionalProperties": false
}
},
"corpusTotal": {
"type": "number"
},
"uncategorised": {
"type": "number",
"description": "Rulings with no asja_kategooria - not reachable via the `category` filter."
}
},
"additionalProperties": false
},
"annotations": {
"readOnlyHint": true,
"openWorldHint": false
}
}The newest published rulings (by decision date), across all courts and areas of law.
| Parameter | Type | Description |
|---|---|---|
| limit | integer |
{
"name": "recent_rulings",
"title": "Most recent court decisions",
"description": "The newest published rulings (by decision date), across all courts and areas of law.",
"inputSchema": {
"type": "object",
"$schema": "http://json-schema.org/draft-07/schema#",
"properties": {
"limit": {
"type": "integer",
"maximum": 25,
"minimum": 1
}
},
"additionalProperties": false
},
"outputSchema": {
"type": "object",
"$schema": "http://json-schema.org/draft-07/schema#",
"required": [
"rulings"
],
"properties": {
"rulings": {
"type": "array",
"items": {
"type": "object",
"required": [
"id",
"caseNo",
"court",
"category",
"date",
"url"
],
"properties": {
"id": {
"type": "string"
},
"url": {
"type": "string"
},
"date": {
"type": [
"string",
"null"
]
},
"court": {
"type": "string"
},
"caseNo": {
"type": "string"
},
"category": {
"type": [
"string",
"null"
]
}
},
"additionalProperties": false
}
}
},
"additionalProperties": false
},
"annotations": {
"readOnlyHint": true,
"openWorldHint": false
}
}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.
| Parameter | Type | Description |
|---|---|---|
| limit | integer | |
| query * | string | Estonian title words, or a case number such as 'C-362/14'. |
{
"name": "eu_law_search",
"title": "Search EU law in Estonian",
"description": "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.",
"inputSchema": {
"type": "object",
"$schema": "http://json-schema.org/draft-07/schema#",
"required": [
"query"
],
"properties": {
"limit": {
"type": "integer",
"maximum": 30,
"minimum": 1
},
"query": {
"type": "string",
"description": "Estonian title words, or a case number such as 'C-362/14'."
}
},
"additionalProperties": false
},
"outputSchema": {
"type": "object",
"$schema": "http://json-schema.org/draft-07/schema#",
"required": [
"results"
],
"properties": {
"results": {
"type": "array",
"items": {
"type": "object",
"required": [
"id",
"kind",
"title",
"url"
],
"properties": {
"id": {
"type": "string"
},
"url": {
"type": "string"
},
"kind": {
"type": "string"
},
"title": {
"type": [
"string",
"null"
]
}
},
"additionalProperties": false
}
}
},
"additionalProperties": false
},
"annotations": {
"readOnlyHint": true,
"openWorldHint": false
}
}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.
| Parameter | Type | Description |
|---|---|---|
| celex * | string | CELEX number, e.g. '32016R0679'. Sector 3 acts only. |
| article | string | Return only this article, e.g. '5'. |
{
"name": "eu_act",
"title": "Read an EU act in Estonian",
"description": "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.",
"inputSchema": {
"type": "object",
"$schema": "http://json-schema.org/draft-07/schema#",
"required": [
"celex"
],
"properties": {
"celex": {
"type": "string",
"description": "CELEX number, e.g. '32016R0679'. Sector 3 acts only."
},
"article": {
"type": "string",
"description": "Return only this article, e.g. '5'."
}
},
"additionalProperties": false
},
"outputSchema": {
"type": "object",
"$schema": "http://json-schema.org/draft-07/schema#",
"required": [
"celex",
"title",
"url",
"articleCount",
"citingRulings",
"articles",
"mostCitedArticles"
],
"properties": {
"url": {
"type": "string"
},
"celex": {
"type": "string"
},
"title": {
"type": [
"string",
"null"
]
},
"articles": {
"type": "array",
"items": {
"type": "object",
"required": [
"article",
"title",
"text"
],
"properties": {
"text": {
"type": "string"
},
"title": {
"type": [
"string",
"null"
]
},
"article": {
"type": [
"string",
"null"
]
}
},
"additionalProperties": false
}
},
"articleCount": {
"type": "number"
},
"citingRulings": {
"type": "number"
},
"mostCitedArticles": {
"type": "array",
"items": {
"type": "object",
"required": [
"article",
"rulings"
],
"properties": {
"article": {
"type": "string"
},
"rulings": {
"type": "number"
}
},
"additionalProperties": false
}
}
},
"additionalProperties": false
},
"annotations": {
"readOnlyHint": true,
"openWorldHint": false
}
}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.
| Parameter | Type | Description |
|---|---|---|
| celex * | string | CELEX of an EU act or judgment. |
| limit | integer | |
| article | string | Only decisions citing this article of the act. |
{
"name": "estonian_rulings_citing_eu_law",
"title": "Find Estonian case law applying an EU instrument",
"description": "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.",
"inputSchema": {
"type": "object",
"$schema": "http://json-schema.org/draft-07/schema#",
"required": [
"celex"
],
"properties": {
"celex": {
"type": "string",
"description": "CELEX of an EU act or judgment."
},
"limit": {
"type": "integer",
"maximum": 50,
"minimum": 1
},
"article": {
"type": "string",
"description": "Only decisions citing this article of the act."
}
},
"additionalProperties": false
},
"outputSchema": {
"type": "object",
"$schema": "http://json-schema.org/draft-07/schema#",
"required": [
"celex",
"totalRulings",
"rulings"
],
"properties": {
"celex": {
"type": "string"
},
"rulings": {
"type": "array",
"items": {
"type": "object",
"required": [
"id",
"caseNo",
"kohus",
"date",
"article",
"url"
],
"properties": {
"id": {
"type": "string"
},
"url": {
"type": "string"
},
"date": {
"type": [
"string",
"null"
]
},
"kohus": {
"type": [
"string",
"null"
]
},
"caseNo": {
"type": [
"string",
"null"
]
},
"article": {
"type": [
"string",
"null"
]
}
},
"additionalProperties": false
}
},
"totalRulings": {
"type": "number"
}
},
"additionalProperties": false
},
"annotations": {
"readOnlyHint": true,
"openWorldHint": false
}
}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.
| Parameter | Type | Description |
|---|---|---|
| id * | string | Ruling id, e.g. 'ruling:1279503'. |
{
"name": "eu_law_cited_by_ruling",
"title": "List the EU law a decision relies on",
"description": "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.",
"inputSchema": {
"type": "object",
"$schema": "http://json-schema.org/draft-07/schema#",
"required": [
"id"
],
"properties": {
"id": {
"type": "string",
"description": "Ruling id, e.g. 'ruling:1279503'."
}
},
"additionalProperties": false
},
"outputSchema": {
"type": "object",
"$schema": "http://json-schema.org/draft-07/schema#",
"required": [
"cited"
],
"properties": {
"cited": {
"type": "array",
"items": {
"type": "object",
"required": [
"celex",
"kind",
"label",
"title",
"articles",
"url"
],
"properties": {
"url": {
"type": "string"
},
"kind": {
"type": "string"
},
"celex": {
"type": "string"
},
"label": {
"type": "string"
},
"title": {
"type": [
"string",
"null"
]
},
"articles": {
"type": "array",
"items": {
"type": "string"
}
}
},
"additionalProperties": false
}
}
},
"additionalProperties": false
},
"annotations": {
"readOnlyHint": true,
"openWorldHint": false
}
}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.
| Parameter | Type | Description |
|---|---|---|
| limit | integer |
{
"name": "most_cited_eu_law",
"title": "The EU instruments Estonian courts apply most",
"description": "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.",
"inputSchema": {
"type": "object",
"$schema": "http://json-schema.org/draft-07/schema#",
"properties": {
"limit": {
"type": "integer",
"maximum": 50,
"minimum": 1
}
},
"additionalProperties": false
},
"outputSchema": {
"type": "object",
"$schema": "http://json-schema.org/draft-07/schema#",
"required": [
"instruments"
],
"properties": {
"instruments": {
"type": "array",
"items": {
"type": "object",
"required": [
"celex",
"kind",
"label",
"title",
"rulings",
"url"
],
"properties": {
"url": {
"type": "string"
},
"kind": {
"type": "string"
},
"celex": {
"type": "string"
},
"label": {
"type": "string"
},
"title": {
"type": [
"string",
"null"
]
},
"rulings": {
"type": "number"
}
},
"additionalProperties": false
}
}
},
"additionalProperties": false
},
"annotations": {
"readOnlyHint": true,
"openWorldHint": false
}
}lahend.ee is a free, ad-free search engine for Estonian court decisions (kohtulahendid), indexing the full published civil, administrative and criminal case law from Riigi Teataja. Every ruling is full-text searchable and linked to the companies named in it (via the Estonian Business Register / nimistu.ee). Use this server to: search case law by legal terms, a case number or a party name (inflection-tolerant; "quote" a phrase for an exact match); read a decision's full text; list every ruling involving a given company by its 8-digit registry code (registrikood) — a company↔case-law join unique to lahend.ee; and browse the courts and areas of law. Workflow: call `search` (or `search_rulings` for court/type/category/date filters) to find rulings, then `fetch` or `get_ruling` by the returned id for the full text. Use `rulings_by_company` to pull all case law for a company, and `list_courts` / `list_categories` to discover filter values. Data is Riigi Teataja open data reused under the Riigi Teataja Act; natural persons are anonymised by the courts.
Names, descriptions and schemas were written by the server and are shown as data.