LegalTech Logo

LegalTech

← Back to blog

Published on by Miguel Gonzalez Herrera

Finlex is Finland’s official legal database, run by the Ministry of Justice. It publishes the precedents (ennakkopäätökset) of the Korkein oikeus (KKO, Supreme Court) and the Korkein hallinto-oikeus (KHO, Supreme Administrative Court), plus decisions of the hovioikeudet (courts of appeal), the administrative courts and the specialist courts: the Market Court, the Labour Court and the Insurance Court. Each precedent carries official keywords (asiasanat) and a summary with the provisions applied. In this guide you will connect the legaltech/finlex connector to Claude or ChatGPT so you can search it from the chat, even when you ask in English.

✅ Why this instead of just asking the AI: if you ask Claude or ChatGPT about case law from memory, it may give you a convincing answer with made-up decisions. With the connector, the AI doesn’t answer from memory: it goes to the official source, searches it and brings back real decisions with their links so you can check them.

⚖️ What does the legaltech/finlex connector cover?

The legaltech/finlex connector queries Finlex case law and returns:

🔌 How to add Apify to Claude (5 minutes, first time only)

You don’t need to know how to code. You will copy one address and paste it into Claude’s settings. You do it once; after that you just ask your questions.

1. Create your free Apify account. Apify is the service that searches the official source for you. Sign up (you can use your Google account) and stay logged in in your browser. The free plan is enough to try it.

Create a free Apify account

2. Open Claude’s connectors.

3. Click “Add custom connector”. On the phone it is under the + in the top-right corner.

4. Fill in the form and click “Add”. There are only two fields:

https://mcp.apify.com/?tools=actors,docs,runs,storage,tasks,legaltech/finlex

Leave the other fields (the “OAuth” ones) empty.

5. Click “Connect”. An Apify window opens: click Allow and you will be back in Claude with the connector ready.

6. Try it. Open a new chat and paste the first prompt from the example below. The first time, Claude will ask for permission to use Apify: click Allow.

💡 Already have Apify in Claude? Don’t install it again: start your question with “Use the connector legaltech/finlex” and Claude will run it.

If you get stuck, the installation guide has a screenshot of every step. Using ChatGPT? The steps are different: follow the ChatGPT guide.

🧪 Worked example: recovery to the bankruptcy estate (takaisinsaanti)

Takaisinsaanti konkurssipesään is the clawback action: it lets the estate recover payments and transfers the debtor made before bankruptcy. Let’s look at recent Supreme Court precedents:

Use the connector legaltech/finlex and find KKO precedents since 2018 on recovery to the bankruptcy estate (takaisinsaanti)

Claude picks the collection and searches the official keywords:

{
  "searchTerms": ["takaisinsaanti"],
  "collections": ["kko"],
  "yearFrom": 2018,
  "searchIn": "keywords",
  "maxResults": 4,
  "passages": 1
}

Result of a real run (these are the insolvency precedents):

PrecedentDateKeywordsProvisionsWhat it decides
KKO:2026:1310 Feb 2026Konkurssi – Takaisinsaanti konkurssipesään – KanneaikaTakSL 24 § 1 momThe three-month time limit for the action runs from when the estate had sufficient grounds to sue
KKO:2025:614 Jan 2025Ulosottokaari – Takaisinsaanti ulosotossaUK 3:84; TakSL 9 §; AL 104 §Clawback of a division of matrimonial property: an earlier tax debt counts even though it later became time-barred (with dissents)
KKO:2024:269 Apr 2024Konkurssi – Takaisinsaanti konkurssipesäänOYL 12:1.1.2; TakSL 10 §Repaying matured capital loans was a premature payment and is recovered by the estate

KKO:2026:13 is the most practical. Company A had transferred funds to B for no consideration, and B used them to pay its debt to C. The estate sued on 9 Sep 2022, more than a year after the bankruptcy (22 Jun 2021). The Supreme Court holds the claim in time: the three months under s. 24 of the Recovery Act (TakSL) run from when the estate could see sufficient grounds for its claims. Here that was 21 Jun 2022, when C’s lawyer explained that the funds were not a loan but part of a share purchase financed by a dividend.

In KKO:2024:26, the payments were made two and a half months before the company applied for restructuring, even though the loans had already matured. The Supreme Court treats them as premature, because the Companies Act conditions for repaying a capital loan (OYL 12:1) were not met.

You can carry on:

💡 More prompt ideas

✅ Good practice

If you have questions or get stuck, write to us at legaltechnologybootcamp@gmail.com.

Written by Miguel Gonzalez Herrera

← Back to blog
Sources from: