lv-legal-mcp
Server Configuration
Describes the environment variables required to run the server.
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||
Instructions
Guidance the server publishes about itself, which clients place ahead of the tool catalog so the model reads it before choosing anything.
Official-source legal research, multi-tier judicial hierarchy search (First Instance, Regional/Cantonal/Appellate, and Supreme/Constitutional courts), and citation verification MCP server for Latvia (LV).
Capabilities
Features and capabilities supported by this server
Protocol revision2025-11-25
| Capability | Details |
|---|---|
| tools | {
"listChanged": true
} |
| logging | {} |
| prompts | {
"listChanged": true
} |
| resources | {
"subscribe": false,
"listChanged": true
} |
Tools
Functions exposed to the LLM to take actions
| Name | Description |
|---|---|
| search_legislationB | Search Latvia (LV) national legislation (statutes, acts, codes, regulations) via Likumi.lv Official Legislation Portal (Latvijas Vēstnesis) and European/International legal registries. |
| search_case_lawB | Search Latvia (LV) court decisions and binding precedents via Latvijas Tiesu Portāls (eli.tiesas.lv / at.gov.lv) & Satversmes tiesa (Supported courts: Augstākā tiesa (Senāts), Satversmes tiesa (Constitutional Court), Apgabaltiesas). |
| get_legal_document_markdownA | Retrieve full Markdown text of a legislation document or court judgment from Latvia (LV) by its URL or official identifier. |
| list_court_hierarchyA | Return the complete step-by-step multi-tier judicial hierarchy for Latvia (LV): Tier 1 (First Instance / Trial / Municipal / District Courts), Tier 2 (Regional / Cantonal / County / Appellate Courts), Tier 3 (Supreme / Cassation / Constitutional Courts), and all official court sub-portals. |
| search_tiered_court_decisionsA | Search court decisions in Latvia (LV) filtered by specific judicial tier or regional/cantonal/appellate court. Supports Tier 1 (first_instance), Tier 2 (appellate_regional — including Cantonal/Regional/County/Circuit courts), and Tier 3 (supreme_constitutional), or a specific sub-portal key from list_court_hierarchy. |
| verify_citationA | No-Hallucination Citation Verifier for Latvia (LV). Validates format and live existence of legal citations (e.g., 'ECLI:LV:AT:2024:0101.SKC000124 or Likumi.lv') against official Latvia and ECLI/ELI registries to prevent AI-hallucinated citations. |
Prompts
Interactive templates invoked by user choice
| Name | Description |
|---|---|
No prompts | |
Resources
Contextual data attached and managed by the client
| Name | Description |
|---|---|
No resources | |
TDQS
Scored across 6 tools
Most tools target clearly distinct operations (hierarchy listing, legislation search, document retrieval, citation verification). However, search_case_law and search_tiered_court_decisions both search Latvian court decisions, differing mainly by filtering, so an agent may struggle to choose between them. The descriptions help somewhat by explaining tier filters, but the boundary is still fuzzy.
All six tools use a consistent snake_case verb_noun pattern: list_court_hierarchy, search_legislation, search_case_law, get_legal_document_markdown, search_tiered_court_decisions, verify_citation. The naming is predictable and readable throughout.
Six tools is a well-scoped set for a focused Latvian legal research server, with each tool covering a distinct capability. There is no bloat and no obvious missing operational area requiring additional tools.
The surface covers the core read-only legal research lifecycle: court hierarchy discovery, legislation search, case-law search, full-text retrieval, and citation verification. Minor gaps exist, such as no explicit tool for browsing or listing legislation sources or metadata, but agents can work around these via search and retrieval.