← Back to blog # How to Search Swedish Case Law (Högsta domstolen and Rättspraxis) with Claude, ChatGPT and the Apify MCP
Connect the legaltech/domstol-se connector to Claude or ChatGPT and search precedents of Högsta domstolen, the Supreme Administrative Court, the courts of appeal and Swedish specialist courts: NJA reports, keywords, applied statutes by SFS number and relevant passages.
**Rättspraxis** is the official case-law service of **Domstolsverket**, the Swedish National Courts Administration. It holds the precedents of **Högsta domstolen** (Supreme Court), **Högsta förvaltningsdomstolen** (Supreme Administrative Court), the courts of appeal (**hovrätter** and **kammarrätter**), the **Labour Court** (Arbetsdomstolen) and the specialist migration, environment and IP appeal courts. Each precedent lists the **statutes applied with their SFS number**, so you can search by statute. In this guide you will connect the **`legaltech/domstol-se`** 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/domstol-se` connector cover?
The [`legaltech/domstol-se`](https://apify.com/legaltech/domstol-se?fpr=legaltech) connector queries the official Rättspraxis API and returns:
- **Courts:** Högsta domstolen, Högsta förvaltningsdomstolen, the hovrätter, the kammarrätter, Arbetsdomstolen, Migrationsöverdomstolen, Mark- och miljööverdomstolen, Patent- och marknadsöverdomstolen and others.
- **Search:** Swedish text with `OCH`, `ELLER`, `INTE`, exact phrases and `*` wildcard, or a decision by **case number** (`T 557-24`) or **report number** (`NJA 2020 s. 123`, `AD`, `RH`…).
- **Filters:** court, **precedent value** (*prejudikat*, guiding…), publication form (*referat*, *notis*), **applied statutes by SFS number** (e.g. `1970:994`, the Land Code) and dates.
- **Output:** court, date, case number, report number, **official summary**, keywords, applied statutes, preparatory works, cited literature, referenced decisions, the passages where your terms appear and, optionally, the full text.
## 🔌 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.
<a href="https://console.apify.com/sign-up?fpr=legaltech" target="_blank" rel="noopener noreferrer" style="display: inline-block; padding: 10px 20px; font-size: 16px; font-weight: bold; text-align: center; text-decoration: none; color: #ffffff; background-color: #6B46C1; border-radius: 8px;">
Create a free Apify account
</a>
**2. Open Claude's connectors.**
- **On a computer:** open [Claude's connectors page](https://claude.ai/customize/connectors) directly and sign in with your account. (Inside Claude it is under **Customize → Connectors**.)
- **On your phone:** open the [Claude app](https://claude.com/download), tap the **+** next to the message box, then **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:
- **Name:** `Apify`
- **URL:** copy this address with the button and paste it:
https://mcp.apify.com/?tools=actors,docs,runs,storage,tasks,legaltech/domstol-se
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/domstol-se`" and Claude will run it.
If you get stuck, the [installation guide](/en/instalar/?assistant=claude&jurisdiction=se) has a screenshot of every step. Using ChatGPT? The steps are different: follow the [ChatGPT guide](/en/instalar/?assistant=chatgpt&jurisdiction=se).
## 🧪 Worked example: defects in property sales (Jordabalken)
**Defects in real property** (*fel i fastighet*) are governed by chapter 4 of the **Jordabalken** (JB), the Land Code, SFS 1970:994. Instead of searching by text alone, we ask Claude to filter by that statute:
> **Use the connector legaltech/domstol-se and find Högsta domstolen precedents since 2015 that apply the Jordabalken and deal with defects**
Claude combines the term with the statute's SFS number:
```json
{
"searchTerms": ["fel"],
"sfsNumbers": ["1970:994"],
"courts": ["HDO"],
"decisionTypes": ["PREJUDIKAT"],
"dateFrom": "2015-01-01",
"maxResults": 4,
"passages": 1
}
```
Result of a real run (18 precedents found; these are the most recent):
| Report | Case | Date | Provisions | What it decides |
| --- | --- | --- | --- | --- |
| NJA 2025 s. 1308 | FT 8543-24 | 23 Dec 2025 | 4:19 JB | The seller is **not liable** for an estate agent's wrong statement the seller neither knew nor should have known about |
| NJA 2024 s. 657 | Ö 873-24 | 24 Oct 2024 | 12:11, 12:16 and 12:24 JB | A commercial tenant has **no duty to give notice** (*reklamera*) of a defect in the premises |
| NJA 2024 s. 369 | T 1247-23 | 13 Jun 2024 | 4:11 and 4:19 c JB; Consumer Services Act | A seller who compensated the buyers for water damage can **recover** from the cleaning firm that caused it |
The first is the most useful in practice. According to the passage the connector returns, the buyer paid **SEK 200,000** for a plot in Vaggeryd to build a house and found it was **not connected to the electricity grid**. All contact went through the estate agent. The Supreme Court holds that the seller is **not liable** for the agent's wrong statement, because the seller did not know and should not have known the agent had made it.
The second draws a contrast with sales: art. 4:19 a JB requires a buyer to **give notice within a reasonable time**, but chapter 12 places no such burden on a commercial tenant.
You can carry on:
- *Search the courts of appeal for later cases citing NJA 2025 s. 1308 and tell me how they apply it.*
- *Which preparatory works (förarbeten) does NJA 2024 s. 657 cite?*
- *Find precedents on the buyer's duty to inspect (undersökningsplikt) under 4:19 JB.*
## 💡 More prompt ideas
- *Use legaltech/domstol-se and find 2025 Labour Court judgments on dismissal (uppsägning) for personal reasons.*
- *Use legaltech/domstol-se and get report NJA 2020 s. 951 with its summary and applied statutes.*
- *Use legaltech/domstol-se and find Migration Court of Appeal precedents on family reunification (anhöriginvandring).*
## ✅ Good practice
- **Filter by SFS number** whenever you can. Our first search, with the free text `dolda fel fastighet`, returned unrelated precedents; filtering by the Jordabalken made the results precise.
- **Search in Swedish** with specific terms (*fel*, *uppsägning*, *skadestånd*…).
- **Check the precedent value**: Högsta domstolen *prejudikat* are binding; court-of-appeal decisions are only guiding.
- **Always check** the decision on rattspraxis.etjanst.domstol.se before citing it.
If you have questions or get stuck, write to us at [legaltechnologybootcamp@gmail.com](mailto:legaltechnologybootcamp@gmail.com).
Published on by Miguel Gonzalez Herrera
Rättspraxis is the official case-law service of Domstolsverket, the Swedish National Courts Administration. It holds the precedents of Högsta domstolen (Supreme Court), Högsta förvaltningsdomstolen (Supreme Administrative Court), the courts of appeal (hovrätter and kammarrätter), the Labour Court (Arbetsdomstolen) and the specialist migration, environment and IP appeal courts. Each precedent lists the statutes applied with their SFS number, so you can search by statute. In this guide you will connect the legaltech/domstol-se 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/domstol-se connector cover?
The legaltech/domstol-se connector queries the official Rättspraxis API and returns:
Courts: Högsta domstolen, Högsta förvaltningsdomstolen, the hovrätter, the kammarrätter, Arbetsdomstolen, Migrationsöverdomstolen, Mark- och miljööverdomstolen, Patent- och marknadsöverdomstolen and others.
Search: Swedish text with OCH, ELLER, INTE, exact phrases and * wildcard, or a decision by case number (T 557-24) or report number (NJA 2020 s. 123, AD, RH…).
Filters: court, precedent value (prejudikat, guiding…), publication form (referat, notis), applied statutes by SFS number (e.g. 1970:994, the Land Code) and dates.
Output: court, date, case number, report number, official summary, keywords, applied statutes, preparatory works, cited literature, referenced decisions, the passages where your terms appear and, optionally, the full text.
🔌 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.
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/domstol-se” 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: defects in property sales (Jordabalken)
Defects in real property (fel i fastighet) are governed by chapter 4 of the Jordabalken (JB), the Land Code, SFS 1970:994. Instead of searching by text alone, we ask Claude to filter by that statute:
Use the connector legaltech/domstol-se and find Högsta domstolen precedents since 2015 that apply the Jordabalken and deal with defects
Claude combines the term with the statute’s SFS number:
Result of a real run (18 precedents found; these are the most recent):
Report
Case
Date
Provisions
What it decides
NJA 2025 s. 1308
FT 8543-24
23 Dec 2025
4:19 JB
The seller is not liable for an estate agent’s wrong statement the seller neither knew nor should have known about
NJA 2024 s. 657
Ö 873-24
24 Oct 2024
12:11, 12:16 and 12:24 JB
A commercial tenant has no duty to give notice (reklamera) of a defect in the premises
NJA 2024 s. 369
T 1247-23
13 Jun 2024
4:11 and 4:19 c JB; Consumer Services Act
A seller who compensated the buyers for water damage can recover from the cleaning firm that caused it
The first is the most useful in practice. According to the passage the connector returns, the buyer paid SEK 200,000 for a plot in Vaggeryd to build a house and found it was not connected to the electricity grid. All contact went through the estate agent. The Supreme Court holds that the seller is not liable for the agent’s wrong statement, because the seller did not know and should not have known the agent had made it.
The second draws a contrast with sales: art. 4:19 a JB requires a buyer to give notice within a reasonable time, but chapter 12 places no such burden on a commercial tenant.
You can carry on:
Search the courts of appeal for later cases citing NJA 2025 s. 1308 and tell me how they apply it.
Which preparatory works (förarbeten) does NJA 2024 s. 657 cite?
Find precedents on the buyer’s duty to inspect (undersökningsplikt) under 4:19 JB.
💡 More prompt ideas
Use legaltech/domstol-se and find 2025 Labour Court judgments on dismissal (uppsägning) for personal reasons.
Use legaltech/domstol-se and get report NJA 2020 s. 951 with its summary and applied statutes.
Use legaltech/domstol-se and find Migration Court of Appeal precedents on family reunification (anhöriginvandring).
✅ Good practice
Filter by SFS number whenever you can. Our first search, with the free text dolda fel fastighet, returned unrelated precedents; filtering by the Jordabalken made the results precise.
Search in Swedish with specific terms (fel, uppsägning, skadestånd…).
Check the precedent value: Högsta domstolen prejudikat are binding; court-of-appeal decisions are only guiding.
Always check the decision on rattspraxis.etjanst.domstol.se before citing it.
How to search ECHR case law (HUDOC) with Claude, ChatGPT and the Apify MCP
Connect the legaltech/tedh connector to Claude or ChatGPT and search judgments and decisions of the European Court of Human Rights in HUDOC: by respondent State, Convention article and violation found, with official headnote, operative part and passages.
How to Search French Administrative Case Law (Conseil d’État, CAA and TA) with Claude, ChatGPT and the Apify MCP
Connect the legaltech/conseil-etat connector to Claude or ChatGPT and search decisions of the Conseil d’État, the administrative courts of appeal and the administrative tribunals: panel, ECLI, Lebon publication status and relevant passages.
How to Search German Federal Court Case Law (BGH, BVerfG, BAG…) with Claude, ChatGPT and the Apify MCP
Connect the legaltech/rechtsinformationen-bund connector to Claude or ChatGPT and search decisions of the BVerfG, BGH, BVerwG, BFH, BAG, BSG and BPatG: headnote, operative part, cited statutes, lower-court decisions and passages with margin numbers.
How to Search Swiss Federal Supreme Court Case Law (BGer / BGE) with Claude, ChatGPT and the Apify MCP
Connect the legaltech/bger connector to Claude or ChatGPT and search judgments of the Swiss Federal Supreme Court (Bundesgericht / Tribunal fédéral) since 2000 and BGE/ATF leading cases since 1954: official Regeste, considerations, operative part and relevant passages.
How to Search Italian Constitutional Court Case Law with Claude, ChatGPT and the Apify MCP
Connect the legaltech/corte-costituzionale connector to Claude or ChatGPT and search over 20,000 judgments and orders of the Corte costituzionale since 1956: official massime, operative part, reporting judge and constitutional articles invoked.
How to Search Portuguese Case Law (DGSI: STJ, Courts of Appeal and STA) with Claude, ChatGPT and the Apify MCP
Connect the legaltech/dgsi connector to Claude or ChatGPT and search rulings of the Supreme Court of Justice, the Supreme Administrative Court, the courts of appeal and the TCAs in the DGSI databases: headnote, descriptors, reporting judge and outcome.
How to Search Danish Case Law (Domsdatabasen) with Claude, ChatGPT and the Apify MCP
Connect the legaltech/domsdatabasen connector to Claude or ChatGPT and search judgments of Højesteret, the high courts and Danish district courts in Domsdatabasen: ECLI, status (final or appealed), amount claimed and the case's path through the instances.
How to Search Swedish Case Law (Högsta domstolen and Rättspraxis) with Claude, ChatGPT and the Apify MCP
Connect the legaltech/domstol-se connector to Claude or ChatGPT and search precedents of Högsta domstolen, the Supreme Administrative Court, the courts of appeal and Swedish specialist courts: NJA reports, keywords, applied statutes by SFS number and relevant passages.
How to Search Finnish Case Law (Finlex: KKO and KHO) with Claude, ChatGPT and the Apify MCP
Connect the legaltech/finlex connector to Claude or ChatGPT and search precedents of the Finnish Supreme Court (KKO), the Supreme Administrative Court (KHO) and Finnish courts on Finlex: ECLI, official keywords, summary and applied provisions.
How to Search Italian Administrative Case Law (Consiglio di Stato and TAR) with Claude, ChatGPT and the Apify MCP
Connect the legaltech/giustizia-amministrativa connector to Claude or ChatGPT and search judgments of the Consiglio di Stato, the Sicilian CGA and the 29 regional TARs: outcome, chamber, reporting judge, operative part (P.Q.M.) and relevant passages.
How to Search Dutch Case Law (Rechtspraak) with Claude, ChatGPT and the Apify MCP
Connect the legaltech/rechtspraak connector to Claude or ChatGPT and search decisions of the Hoge Raad, the Council of State and Dutch courts from Rechtspraak Open Data: ECLI, summary, links between instances and annotations.
How to Search Austrian Case Law (RIS) with Claude, ChatGPT and the Apify MCP
Connect the legaltech/ris-austria connector to Claude or ChatGPT and search decisions of the OGH, VfGH, VwGH, BVwG and Austrian courts in the RIS: legal principles (Rechtssätze), operative part, cited statutes, ECLI and official PDF.
How to Search Portuguese Constitutional Court Case Law with Claude, ChatGPT and the Apify MCP
Connect the legaltech/tribunal-constitucional-pt connector to Claude or ChatGPT and search rulings (acórdãos) of Portugal's Constitutional Court since 1983 by text, chamber, proceeding type, reporting judge and date, with the operative part and full text.
How to Search UK Case Law (Find Case Law) with Claude, ChatGPT and the Apify MCP
Connect the legaltech/find-case-law-uk connector to Claude or ChatGPT and search judgments of the Supreme Court, Court of Appeal, High Court and UK tribunals on The National Archives’ Find Case Law: neutral citation, judges, parties and PDF.
How to Search Brandenburg and Berlin-Brandenburg Case Law with Claude, ChatGPT and the Apify MCP
Connect the legaltech/gerichtsentscheidungen-brandenburg connector to Claude or ChatGPT and search decisions from 31 Brandenburg courts and the joint Berlin-Brandenburg courts: ECLI, operative part, statutes and procedural history.
How to Search Bavarian Case Law (gesetze-bayern.de) with Claude, ChatGPT and the Apify MCP
Connect the legaltech/gesetze-bayern connector to Claude or ChatGPT and search Bavarian court decisions on the official gesetze-bayern.de portal, including by applied statute (e.g. BGB § 536): headnotes, keywords and operative part.
How to Search Belgian Case Law (Juportal) with Claude, ChatGPT and the Apify MCP
Connect the legaltech/juportal connector to Claude or ChatGPT and search decisions of the Court of Cassation, the Constitutional Court, the Council of State and Belgian courts on Juportal: ECLI, case notes, thesaurus and legal bases.
How to Search North Rhine-Westphalia Case Law (NRWE) with Claude, ChatGPT and the Apify MCP
Connect the legaltech/nrwe connector to Claude or ChatGPT and search decisions from every North Rhine-Westphalia court in the official NRWE database: headnotes, operative part, ECLI and lower-court decision, just by asking in plain language.
How to Search Lower Saxony Case Law (NI-VORIS) with Claude, ChatGPT and the Apify MCP
Connect the legaltech/rechtsprechung-niedersachsen connector to Claude or ChatGPT and search some 32,000 Lower Saxony court decisions in NI-VORIS: ECLI, applied statutes, headnote and operative part, just by asking in plain language.
How to Use the Apify MCP with a Local Model (Ollama) to Search CENDOJ Rulings
Learn how to search Spanish CENDOJ rulings in natural language with a language model that runs on your own computer: Ollama, AnythingLLM and the Apify MCP, without sending your conversations or documents to Claude or ChatGPT.
How to Use the Apify MCP in Claude to Find Which Cadastral Parcel You Are In and Look Up Its Data
Learn how to connect the Apify MCP to Claude and use the legaltech/catastro actor to get a parcel's cadastral reference from your coordinates or an address, and look up its official data without going through the Spanish Cadastre website.
How to Use the Apify MCP in Claude to Cross-Reference Spanish Mortgage and Foreclosure Data from the INE
Learn how to connect the Apify MCP to Claude and use the legaltech/ine actor to cross-reference Spain’s Mortgage Statistics and Mortgage Foreclosure Statistics from the INE, and reach the provincial figure no article publishes.
How to Use the Apify MCP in ChatGPT to Access LegalTech Legal Connectors
Learn how to use LegalTech legal connectors from a free ChatGPT account: enable Developer Mode, add the Apify MCP (@Apify), and query Fiscalía, CENDOJ, Hacienda, Property Registry, and more directly from the chat.
How to Use the Apify MCP in Claude to Query Doctrine from the Spanish State Prosecutor Office
Learn how to connect the Apify MCP to Claude and use the legaltech/fiscalia actor to search Circulares, Instrucciones and Consultas from the Spanish State Prosecutor Office directly from the chat, simply by asking in natural language.
How to Use the Apify MCP in Claude to Query Spanish Tax Authority Administrative Doctrine
Learn how to connect the Apify MCP to Claude and use the legaltech/hacienda actor to query TEAC tax administrative doctrine, DGT binding rulings, and historical resolutions directly from the chat.
We use Google Analytics cookies to analyze traffic and improve your experience. You can accept them, reject them, or read our Privacy & Cookies policy. Privacy & Cookies.