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 installed
Maintenance
Related MCP Servers
- Alicense-qualityBmaintenanceEnables full-text search and retrieval of Finnish energy regulations from four regulators: Energiavirasto, Fingrid, TEM, and Tukes.Last updatedApache 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.Last updated3Apache 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.Last updated3Apache 2.0
- AlicenseAqualityAmaintenanceProvides access to Danish legislation from Retsinformation.dk, enabling retrieval of act metadata, full text, and recent changes with verifiable citations.Last updated3Apache 2.0
Related MCP Connectors
Search Swiss federal legislation: laws, articles, amendments via the Fedlex SPARQL endpoint.
Search French and European case law and French legal texts (codes, statutes, treaties).
Semantic search over Nordic filings, press releases, macro data and electricity prices.
Latest Blog Posts
- Who's Calling? MCP Hosts Are an Identity Blind Spot (And the Spec Knows It)By Om-Shree-0709 on .mcpAgent IdentityOAuth 2.1
- Your AI Chatbot Just Exposed Your CEO's Salary to an InternBy Om-Shree-0709 on .Agent IdentityMCP SecurityOAuth Delegation
- Why MCP Servers Need Execution Sandboxing (And Why Your Current Stack Isn't Enough)By Om-Shree-0709 on .Agentic AiPrompt InjectionWebAssembly
MCP directory API
We provide all the information about MCP servers via our MCP API.
curl -X GET 'https://glama.ai/api/mcp/v1/servers/NectiaAutomation/finlex-mcp-server'
If you have feedback or need assistance with the MCP directory API, please join our Discord server