finlex-mcp-server
Finnish Legislation (Finlex) MCP
Search and read Finnish law with your AI agent. Find statutes by keyword and get them as clean, structured text — title, sections (§), dates, and ELI — parsed from Finlex, the official legal database of Finland's Ministry of Justice.
Example: "What does Finland's Data Protection Act say?" → the agent searches Finlex, finds the Tietosuojalaki (2018/1050), and returns the parsed law.
This package is a lightweight, open bridge that connects any MCP client (Claude Desktop, etc.) to the hosted, maintained Finlex MCP server on Apify. The bridge holds no data logic — it forwards your requests to the hosted service, which does the real work (search + Akoma Ntoso parsing) and meters usage to your own Apify account.
Tools
Tool | What it does |
| Keyword search over statute titles (returns a ready-to-use reference). |
| One statute parsed into title, sections (§), dates and ELI (in-force version). |
| Browse recently issued statutes by year. |
Languages: Finnish (default) and Swedish. Legislation only (case law added when Finlex publishes it as open data).
Related MCP server: fi-eli-mcp
Setup
1. Get access + an Apify API token
This bridge calls a hosted, paid Actor on Apify. You need your own Apify account and API token:
Open the Actor on the Apify Store: https://apify.com/nectia/finlex-mcp
Subscribe / rent the Actor (billed per call — pay only for what you use).
Copy your token from Apify Console → Settings → Integrations → API token.
2. Add it to your MCP client
Claude Desktop (claude_desktop_config.json):
{
"mcpServers": {
"finlex": {
"command": "npx",
"args": ["-y", "finlex-mcp-server"],
"env": {
"APIFY_API_TOKEN": "PASTE_YOUR_APIFY_TOKEN_HERE"
}
}
}
}Restart your client. No build step, no other keys.
How it works
Your MCP client ──stdio──► finlex-mcp-server (this bridge) ──HTTPS──► Hosted Actor on Apify ──► Finlex APIThe bridge authenticates to the hosted Actor with your APIFY_API_TOKEN and transparently
proxies the tools. Your token stays on your machine; Apify meters the calls to your account.
Data & attribution
Data © Ministry of Justice / Finlex, licensed CC BY 4.0. This project is not affiliated with or endorsed by Finlex or the Ministry of Justice.
License
MIT © Nectia Automation. The bridge code is open source; the hosted Actor is a commercial service.
This server cannot be deployed
Maintenance
Related MCP Connectors
Search Swiss federal legislation: laws, articles, amendments via the Fedlex SPARQL endpoint.
Search UK Acts, Statutory Instruments, and legislation with full text retrieval
Resolve, search and verify legal citations against the official sources, with provenance.
Semantic search over Polish law and case law, citing the exact in-force article.
Related MCP Servers
- AlicenseAqualityFmaintenanceEnables full-text search and retrieval of Finnish energy regulations from four regulators: Energiavirasto, Fingrid, TEM, and Tukes.8Apache 2.0
- AlicenseAqualityAmaintenanceEnables accessing Finnish legislation from the Finlex open-data API, listing statutes by year and retrieving their full texts with ELI identifiers and Finnish citations.4Apache 2.0
- AlicenseAqualityAmaintenanceEnables AI agents to search and retrieve consolidated Swedish statutes (SFS) from the Riksdagen open data API, with verifiable citations and persistent identifiers.4Apache 2.0
- AlicenseAqualityAmaintenanceProvides access to Danish legislation from Retsinformation.dk, enabling retrieval of act metadata, full text, and recent changes with verifiable citations.4Apache 2.0