lahend.ee MCP server

MCP serverSearch

This integration lets your AI search Estonian court decisions. It can run full-text searches across case law and shows the companies connected to each ruling. The service is free to use.

Use lahend.ee MCP server in Claude, ChatGPT or Ahel Desktop

Free. Sign in, add lahend.ee MCP server and connect your AI. About a minute.

Also: Claude Code · Cursor · Codex

Then ask your AI: use lahend.ee MCP server to search

Details

Available today. Use it from your connected AI after setup.

After adding it, ask your AI to search Estonian court decisions for a topic, phrase, or company name.

lahend.ee MCP serverStart free

What your AI can do with it

  • Search the full text of Estonian court decisions
  • Find rulings connected to a specific company
  • See which companies each ruling involves
  • Look up case law using any word or phrase

Install lahend.ee MCP server

The server’s own address, for the clients that take one directly. Or connect Ahel once and every client you use reads it from one address, with the account kept on Ahel rather than in each client’s config.

  • Claude Code

    claude mcp add --transport http --scope user lahend-ee-mcp-server 'https://lahend.ee/api/lahend-mcp/mcp'

    Run it once in your project, then open /mcp to approve any sign-in the server asks for.

  • Claude Desktop

    https://lahend.ee/api/lahend-mcp/mcp

    Add a custom connector in Settings, paste this address, and approve the sign-in.

  • Cursor

    cursor://anysphere.cursor-deeplink/mcp/install?name=lahend-ee-mcp-server&config=eyJ1cmwiOiJodHRwczovL2xhaGVuZC5lZS9hcGkvbGFoZW5kLW1jcC9tY3AifQ==

    Open the link and Cursor adds the server at that address.

  • ChatGPT

    https://lahend.ee/api/lahend-mcp/mcp

    In Settings, enable Developer mode, create an MCP app, and paste this address. Your plan and workspace must allow custom apps.

  • Codex

    codex mcp add lahend-ee-mcp-server --url 'https://lahend.ee/api/lahend-mcp/mcp'

    Run it once, then sign in with codex mcp login lahend-ee-mcp-server if the server asks for an account.

From the project's README

As published by nimistu/lahend-mcp in README.md.

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:

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.

Tools it offers (20)

What this server listed when Ahel dialed its public endpoint in Oct 2026, with no key and no account of yours. The names are the server’s own.

  • search
  • fetch
  • get_law_section
  • search_law_sections
  • search_laws
  • law_versions
  • rulings_citing_section
  • sections_cited_by_ruling
  • most_cited_sections
  • authority_documents_for_ruling
  • search_rulings
  • rulings_by_company
  • list_courts
  • list_categories
  • recent_rulings
  • eu_law_search
  • eu_act
  • estonian_rulings_citing_eu_law
  • eu_law_cited_by_ruling
  • most_cited_eu_law

Signals

GitHub stars
2
Last commit
Aug 2026
Advanced
Delivery
lahend-mcp MCP server → your Ahel connector (mcp.ahel.ai) → your AI.
Item type
mcp-server
Key
io-github-nimistu-lahend-mcp
Source
github.com/nimistu/lahend-mcp
Hosted endpoint
https://lahend.ee/api/lahend-mcp/mcp