fi-legal-mcp
Click on "Deploy Server".
Wait a few minutes for the server to deploy. Once ready, it will show a "Started" state.
In the chat, type
@followed by the MCP server name and your instructions, e.g., "@fi-legal-mcp Search case law for KKO:2024:15 and verify the citation"
That's it! The server will respond to your query, and you can continue using it as needed.
Here is a step-by-step guide with screenshots.
Finland Legal Research MCP Server (fi-legal-mcp)
Suomi | Svenska | English Documentation
Oikeudellinen MCP-palvelin (Lainsäädäntö ja oikeuskäytäntö) (fi-legal-mcp) — Suomi
Tietoa tästä paketista
Tämä paketti sisältää Model Context Protocol (MCP) -palvelimen, joka yhdistää tekoälysovelluksesi (Claude Desktop, Cursor, Windsurf, VS Code / Copilot, Cline tai Antigravity) suoraan Finlex-tietokantaan (finlex.fi) ja Suomen tuomioistuinjärjestelmän ratkaisuihin (käräjäoikeudet, hallinto-oikeudet, hovioikeudet, korkein oikeus KKO ja korkein hallinto-oikeus KHO).
Asennus (Tekoälysovelluksen valinta)
Lataa: Napsauta oikeasta yläkulmasta
<> Code->Download ZIPja pura kansio tietokoneellesi.Käynnistä asennusohjelma: Kaksoisnapsauta
Click_Here_To_Install_Windows.bat(Windows) taiClick_Here_To_Install_Mac.command(macOS).Valitse tekoälysovellus: Valitse käyttämäsi tekoälyohjelmat (Claude, Cursor, Windsurf, VS Code, Antigravity), napsauta asenna ja käynnistä valitsemasi sovellus uudelleen.
Tietoturvahuomautus: Ohjelma toimii vain luku -tilassa (read-only) eikä lue tai muokkaa tietokoneellasi olevia henkilökohtaisia tiedostoja.
Oikeusasteet ja viralliset tietolähteet
Oikeusaste | Kattavat tuomioistuimet |
Ensimmäinen oikeusaste (Käräjä- ja hallinto-oikeudet) | 20 Käräjäoikeudet (District Courts), 6 Hallinto-oikeudet (Regional Administrative Courts) & Markkinaoikeus (Market Court) |
Muutoksenhakuaste (Hovioikeudet) | 5 Hovioikeudet (Courts of Appeal: Helsinki, Turku, Vaasa, Itä-Suomi, Rovaniemi) & Vakuutusoikeus |
Ylimmät tuomioistuimet (KKO ja KHO) | Korkein oikeus (KKO — Supreme Court) & Korkein hallinto-oikeus (KHO — Supreme Administrative Court) |
Finlex Open Data API (finlex.fi / data.finlex.fi): https://www.finlex.fi (
finlex.fi,eduskunta.fi)Finlex Oikeuskäytäntö (finlex.fi/fi/oikeus — KKO, KHO, Hovioikeudet & Hallinto-oikeudet): https://www.finlex.fi/fi/oikeus/ (
finlex.fi,korkeinoikeus.fi,kho.fi,oikeus.fi)
Related MCP server: be-legal-mcp
Rättslig MCP-server för lagstiftning och rättspraxis (fi-legal-mcp) — Svenska
Om detta arkiv
Detta arkiv innehåller en Model Context Protocol (MCP) server som ansluter din AI-applikation (Claude Desktop, Cursor, Windsurf, VS Code / Copilot, Cline eller Antigravity) direkt till officiella författningssamlingar och rättsfallsdatabaser för Finland (första instans, hovrätter/kammarrätter samt högsta domstolar).
Installation (Val av AI-applikation)
Ladda ner: Klicka på
<> Code->Download ZIPuppe till höger och packa upp mappen på din dator.Starta installationsguiden: Dubbelklicka på
Click_Here_To_Install_Windows.bat(Windows) ellerClick_Here_To_Install_Mac.command(macOS).Välj AI-klient: Markera de AI-program du använder (Claude, Cursor, Windsurf, VS Code, Antigravity), klicka på installera och starta om din AI-applikation.
Säkerhetsinformation: Installationsprogrammet arbetar i skrivskyddat läge (read-only) och läser eller ändrar inga personliga filer på din dator.
Domstolshierarki och officiella källor
Instans | Domstolar som omfattas |
1:a instans (Underrätter) | 20 Käräjäoikeudet (District Courts), 6 Hallinto-oikeudet (Regional Administrative Courts) & Markkinaoikeus (Market Court) |
2:a instans (Överrätter / Appellationsdomstolar) | 5 Hovioikeudet (Courts of Appeal: Helsinki, Turku, Vaasa, Itä-Suomi, Rovaniemi) & Vakuutusoikeus |
Högsta instans (Högsta domstolar) | Korkein oikeus (KKO — Supreme Court) & Korkein hallinto-oikeus (KHO — Supreme Administrative Court) |
Finlex Open Data API (finlex.fi / data.finlex.fi): https://www.finlex.fi (
finlex.fi,eduskunta.fi)Finlex Oikeuskäytäntö (finlex.fi/fi/oikeus — KKO, KHO, Hovioikeudet & Hallinto-oikeudet): https://www.finlex.fi/fi/oikeus/ (
finlex.fi,korkeinoikeus.fi,kho.fi,oikeus.fi)
English Documentation
Model Context Protocol (MCP) server providing live, read-only access to Finland (FI) legislation, official gazettes, multi-tier judicial decisions (First Instance, Regional/Cantonal/Appellate, and Supreme/Constitutional courts, including HTML and PDF full-text extraction), and statutory citation verification across all major AI clients (ChatGPT Desktop, OpenAI Codex CLI, Claude Desktop, Claude Code CLI, Cursor, Windsurf, VS Code / GitHub Copilot / Cline / Roo Code, Google Antigravity / Gemini CLI, Perplexity, and Continue.dev).
Interactive Desktop Setup (Select Your AI Assistant)
This package includes a graphical installer for legal practitioners and non-technical users that lets you select which AI application(s) you use:
Download: Click
<> Codeat the top right of this repository, selectDownload ZIP, and extract the folder to your computer.Run the Setup Utility:
Windows: Double-click
Click_Here_To_Install_Windows.batmacOS: Double-click
Click_Here_To_Install_Mac.command
Select Your AI Client(s) & Connect: Check the box(es) for the AI assistant(s) installed on your computer (ChatGPT Desktop & OpenAI Codex CLI, Claude Desktop & Claude Code CLI, Cursor, Windsurf, VS Code / GitHub Copilot / Cline / Roo Code, Google Antigravity / Gemini CLI, or Perplexity / Continue.dev), click Install to Selected AI Clients, and restart your selected AI application.
System Integrity Note: The setup utility operates strictly in read-only mode with respect to your personal files and documents. It installs an isolated Python runtime inside the extracted folder and registers the server entry only in the AI client configuration files you select.
Multi-Tier Judicial Hierarchy & Live Indexed National Archives
This server performs live queries across the full judicial hierarchy and official legal archives of Finland, extracting full text from both HTML pages and official court/gazette PDF judgments:
Judicial Tier | Covered Courts & Tribunals |
Tier 1 — First Instance | 20 Käräjäoikeudet (District Courts), 6 Hallinto-oikeudet (Regional Administrative Courts) & Markkinaoikeus (Market Court) |
Tier 2 — Regional / Cantonal / Appellate | 5 Hovioikeudet (Courts of Appeal: Helsinki, Turku, Vaasa, Itä-Suomi, Rovaniemi) & Vakuutusoikeus |
Tier 3 — Supreme & Constitutional | Korkein oikeus (KKO — Supreme Court) & Korkein hallinto-oikeus (KHO — Supreme Administrative Court) |
Official Portals & Live Indexed Domains
National Legislation & Official Gazette: Finlex Open Data API (finlex.fi / data.finlex.fi) — https://www.finlex.fi
Indexed Legislation Domains:
finlex.fi,eduskunta.fi
Court Decisions & Jurisprudence Archives: Finlex Oikeuskäytäntö (finlex.fi/fi/oikeus — KKO, KHO, Hovioikeudet & Hallinto-oikeudet) — https://www.finlex.fi/fi/oikeus/
Indexed Judicial & Open Case Law Domains:
finlex.fi,korkeinoikeus.fi,kho.fi,oikeus.fi
Available MCP Tools
Tool | Description |
| Searches enacted statutes, codes, decrees, and official gazette publications in Finland. |
| Searches national jurisprudence and open judicial archives for Finland. |
| Filters case law specifically by judicial instance ( |
| Returns the complete 3-tier court structure and supported regional court filters for Finland. |
| Retrieves full statutory or judicial texts (both HTML and official |
| Validates statutory and case law citations against official registries. |
{
"mcpServers": {
"fi-legal-mcp": {
"command": "uvx",
"args": [
"--from",
"https://github.com/jurisatlas/fi-legal-mcp/archive/refs/heads/main.zip",
"fi-legal-mcp"
]
}
}
}Available Tools
6 toolsget_legal_document_markdownGet Legal Document MarkdownA
Retrieve full Markdown text of a legislation document or court judgment (HTML or PDF) from Finland (FI) by its URL or official identifier.
Inputs: document_id_or_url (required), page. Returns: object
list_court_hierarchyList Court HierarchyA
Return the complete step-by-step multi-tier judicial hierarchy for Finland (FI): 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.
Inputs: no named parameters. Returns: object
search_case_lawSearch Case LawB
Search Finland (FI) court decisions and binding precedents via Finlex Oikeuskäytäntö (KKO Supreme Court & KHO Supreme Administrative Court) and open national judicial archives (Supported courts: Korkein oikeus (KKO), Korkein hallinto-oikeus (KHO), Hovioikeudet).
Inputs: query (required), court, limit. Returns: object
search_legislationSearch LegislationB
Search Finland (FI) national legislation (statutes, acts, codes, regulations, official gazette) via Finlex Open Data API (finlex.fi / data.finlex.fi) and live national legal archives.
Inputs: query (required), year, limit. Returns: object
search_tiered_court_decisionsSearch Tiered Court DecisionsA
Search court decisions in Finland (FI) 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.
Inputs: query (required), tier, limit, sub_court. Returns: object
verify_citationVerify CitationA
No-Hallucination Citation Verifier for Finland (FI). Validates format and live existence of legal citations (e.g., 'KKO:2024:15 or 731/1999') against official Finland and ECLI/ELI registries to prevent AI-hallucinated citations.
Inputs: citation (required). Returns: object
Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections.
Loading tool schema changelog…
TDQS
Scored across 6 tools
Most tools target clearly separate resources: legislation search, document retrieval, court hierarchy metadata, and citation verification. The one weak boundary is between search_case_law and search_tiered_court_decisions, which both search court decisions — the tier filter differentiates them, but an agent could plausibly pick the wrong one.
All names are snake_case with a leading verb (search_, get_, list_, verify_) followed by a descriptive noun phrase. Predictable and uniform across the set.
Six tools is a tight, well-scoped surface for a legal research server — each tool maps to a distinct research activity with no filler.
Covers the full research lifecycle: find legislation, find case law, retrieve full text, understand court structure, drill into tiers, and verify citations. Minor gaps such as section-level statute lookup or metadata-only retrieval are workable via the markdown retrieval tool.
Maintenance
Related MCP Connectors
Resolve, search and verify legal citations against the official sources, with provenance.
Current law as data for AI: search, read and verify statutes and citations. CIS countries first.
Search and cite official European legislation and court decisions, by article. Read-only.
French case law (Judilibre) and codes (Légifrance) from official sources, with citation checking.
Related MCP Servers
- AlicenseAqualityBmaintenanceEnables read-only search and retrieval of Austrian legislation and multi-tier court decisions, conversion of legal documents to Markdown, and verification of statutory and case-law citations against official registries.6MIT
- AlicenseAqualityBmaintenanceEnables read-only search and retrieval of Belgian legislation and multi-tier court decisions, filtering case law by judicial instance, converting legal texts to Markdown, and verifying statutory and case-law citations against official registries.6MIT
- AlicenseAqualityBmaintenanceEnables direct, read-only access to Estonia's official legislation, multi-tier court decisions, and citation verification via Riigi Teataja, including full-text retrieval in Markdown.6MIT
- AlicenseAqualityBmaintenanceEnables read-only access to national legislation, multi-tier court decisions, and citation verification against official registries, including full-text retrieval in Markdown.6MIT