About lahend
lahend is an MCP server for legal professionals and researchers working with Estonian law. It combines court decisions, legislation, Estonian-language EU law, and a citation index linking rulings to statutes and companies named in decisions.
Key features
- 01Full-text court ruling search
- 02Paragraph-level legislation search
- 03Ruling and statute citation lookup
- 04Estonian-language EU law search
- 05Company-based ruling lookup
Use cases
- 01See how courts apply a statute
- 02Find rulings citing specific EU law
- 03Trace court decisions involving a company
MCP support
It exposes legal search, statute lookup, ruling retrieval, and cross-register tools to MCP clients. It supports Streamable HTTP and SSE.
Configuration
Remote servers need no local install. Pick your client, then copy the config or install in one click.
https://lahend.ee/api/lahend-mcp/mcpclaude mcp add --transport http lahend https://lahend.ee/api/lahend-mcp/mcp{"mcpServers":{"lahend":{"type":"http","url":"https://lahend.ee/api/lahend-mcp/mcp"}}}Open in Cursor{"servers":{"lahend":{"type":"http","url":"https://lahend.ee/api/lahend-mcp/mcp"}}}Open in VS Code{"mcpServers":{"lahend":{"type":"http","url":"https://lahend.ee/api/lahend-mcp/mcp"}}}{"mcpServers":{"lahend":{"serverUrl":"https://lahend.ee/api/lahend-mcp/mcp"}}}Run commands in a terminal; paste JSON into the client’s MCP config and restart. Servers that need sign-in will prompt on first connect.
https://lahend.ee/api/lahend-mcp/mcphttps://lahend.ee/api/lahend-mcp/sseTools
20| Parameter | Type | Required | Description |
|---|---|---|---|
| query | string | Yes | Legal terms, a case number, a party/company name, or a "quoted phrase". |
| limit | integer | No | Max results (default 10). |
Details
From the project READMElahend.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
companiesarray means no code was found - not that no company was involved. - ~26% of rulings carry no
asja_kategooria. Filteringsearch_rulingsbycategorysilently excludes them;list_categoriesreports the uncategorised count alongside the per-category totals.
Case law
| Tool | What it does |
|---|---|
search_rulings | Full-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_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 |
recent_rulings | The newest published rulings (by decision date), across all courts and areas of law |
list_courts | All Estonian courts that have published decisions, each with its ruling count |
list_categories | All areas of law (asja_kategooria) present in the corpus, each with its ruling count |
Legislation
| Tool | What it does |
|---|---|
get_law_section | Return a single § of an Estonian act, addressed the way lawyers cite it: an abbreviation and a number, e.g |
search_law_sections | Full-text search across the paragraphs of every in-force Estonian act (4M+ sections) |
search_laws | Find Estonian acts by title or abbreviation (KarS, TsMS, VÕS…) |
law_versions | List an act's redaktsioonid (consolidated versions) with their validity ranges, newest first |
Rulings ↔ statute
| Tool | What it does |
|---|---|
rulings_citing_section | Given an act abbreviation and a §, return the court decisions that actually cite it, newest first, with a total count |
sections_cited_by_ruling | Given a ruling id (from search), list the statute paragraphs it cites, with the lõiked named and each § resolved to its act |
most_cited_sections | The statute paragraphs cited by the most court decisions, ranked |
EU law in Estonian
| Tool | What it does |
|---|---|
eu_law_search | Search EU regulations and directives, and Court of Justice / European Court of Human Rights judgments, by Estonian title or case number |
eu_act | Fetch an EU regulation or directive by CELEX (e.g |
estonian_rulings_citing_eu_law | Given 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_ruling | 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 |
most_cited_eu_law | Ranked by how many Estonian decisions cite them |
Cross-register
| Tool | What it does |
|---|---|
authority_documents_for_ruling | Given 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)
| Tool | What it does |
|---|---|
search | 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 |
fetch | Retrieve the full text + metadata for any id returned by search |
Add it
Claude Code:
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_sectionthenrulings_citing_section. - "Which Estonian decisions apply the GDPR?" -
estonian_rulings_citing_eu_lawwith CELEX32016R0679. - "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.
Comments
New to MCP?
From what the protocol is to installing your first server, these answers cover most first questions.
An open protocol that defines how AI applications connect to external tools and data in a uniform way. Clients talk to the model; MCP servers provide tools, resources and prompt templates. They exchange standard messages, so one server can be reused by many clients.