lahend
Estonian case law: full-text search of court decisions, each linked to the companies named in it.
What it can do
- Search: Full-text search across the Estonian court-decision corpus (civil, administrative and criminal rulings from Riigi Teataja, indexed by lahend.ee). Inflection-tolerant; wrap a phrase in "quotes"
- Fetch: Retrieve the full text + metadata of a ruling by the `id` returned from `search` (e.g. 'ruling:1279503'). Returns the decision as Markdown with its linked companies and canonical lahend.ee URL.
- 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. Returns a page of rulings
What data it sees
Do you need an account
No: the server works without sign-in
Estonian case law: full-text search of court decisions, each linked to the companies named in it. Free, no API key. The provider is lahend.ee
How to connect
How to connect lahend to Claude
The server address to paste into Claude settings:
https://lahend--lahend.run.tools
- Open Claude (claude.ai or the desktop app).
- Go to Settings → Connectors.
- Click Add custom connector.
- Paste the server address copied below into Remote MCP server URL and click Add.
- In a chat, click + → Connectors and switch the new connector on.
Custom connectors are available on Free, Pro, Max, Team and Enterprise plans (Free is limited to one). On Team and Enterprise an organization Owner adds the connector first under Organization settings → Connectors.
Authorization
After you click Add, a sign-in window for the service opens. Sign in with your own account and approve access. Claude never sees your password.
How to connect lahend to ChatGPT
The server address to paste into ChatGPT settings:
https://lahend--lahend.run.tools
- Open ChatGPT in a browser (chatgpt.com). A Plus, Pro, Business, Enterprise or Edu plan is required.
- Turn on developer mode once: Settings → Apps → Advanced settings → Developer mode.
- Open Settings → Connectors and click Create.
- Fill in the form: Name (anything), Description (one line about what the service does), MCP server URL (copy it below).
- Under Authentication choose OAuth if the service requires sign-in, otherwise None. Click Create.
- In a new chat open + → Apps/Connectors and enable the connector.
OpenAI has renamed this section before (Connectors → Apps/Plugins). If the label differs, search settings for "developer mode". On Business/Enterprise workspaces an admin must allow custom connectors first.
Authorization
On first use ChatGPT opens the service's sign-in window. Sign in and approve access.
How to connect lahend to Cursor
The server address to paste into Cursor settings:
https://lahend--lahend.run.tools
Fastest: click Open in Cursor below and confirm the prompt.
Manually:
- In Cursor open Settings → Cursor Settings → MCP and click Add new global MCP server.
- Paste the JSON copied below into
~/.cursor/mcp.json(per project:.cursor/mcp.jsonin the repo root). - Save the file. The server appears in the MCP list; authorize it there if asked.
Authorization
If the service needs sign-in, an authorize button appears next to the server in the MCP list.
Server tool list (7)
Raw names from tools/list. Only developers need these.
| search | Full-text search across the Estonian court-decision corpus (civil, administrative and criminal rulings from Riigi Teataja, indexed by lahend.ee). Inflection-tolerant; wrap a phrase in "quotes" for an exact match. Returns matches each with a stable `id` (pass to `fetch` or `get_ruling`) and a canonical lahend.ee URL. |
| fetch | Retrieve the full text + metadata of a ruling by the `id` returned from `search` (e.g. 'ruling:1279503'). Returns the decision as Markdown with its linked companies and canonical lahend.ee URL. |
| 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. Returns a page of rulings with a total count. Use `list_courts` / `list_categories` to discover valid filter values. |
| 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. This company↔case-law join is unique to lahend.ee. Find a registry code via nimistu.ee or the nimistu MCP. |
| list_courts | All Estonian courts that have published decisions, each with its ruling count. Use a court name as the `court` filter in `search_rulings`. |
| list_categories | 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`. |
| recent_rulings | The newest published rulings (by decision date), across all courts and areas of law. |