LegalTech Logo

LegalTech

← Back to blog

Published on by Miguel Gonzalez Herrera

The Swiss Federal Supreme Court (Bundesgericht, Tribunal fédéral, Tribunale federale) is Switzerland’s court of last resort, and it publishes its decisions in German, French or Italian. Its search engine has two collections: every judgment since 2000 (AZA) and the BGE/ATF, the leading cases published in the official reports since 1954, each with its Regeste (official headnote). In this guide you will connect the legaltech/bger connector to Claude or ChatGPT so you can search them 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/bger connector cover?

The legaltech/bger connector queries the official bger.ch search engine 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/bger

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/bger” 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: termination for the landlord’s own use (Eigenbedarf)

In Switzerland a tenant can challenge a notice to quit that is abusive (arts. 271 ff. of the Code of Obligations, OR). The landlord’s own need for the property (Eigenbedarf) is one of the most disputed grounds:

Use the connector legaltech/bger and find BGE leading cases since 2010 on terminating a lease because the landlord needs the property

Claude translates the query into German and chooses the leading-case collection:

{
  "searchTerms": ["Eigenbedarf Kündigung"],
  "collections": ["bge"],
  "dateFrom": "2010-01-01",
  "maxResults": 4,
  "passages": 1
}

Result of a real run (171 hits; these are the most relevant):

ReferenceProvisionsWhat the Regeste says
BGE 145 III 143Arts. 271 f. OR; arts. 328-333 ZPOOnce it is finally held that the notice was not abusive, the tenant cannot reopen it in a damages claim by arguing the Eigenbedarf was a pretext: only revision can set it aside
BGE 148 III 415Art. 243(2)(c) ZPO; art. 261b OREntering a lease in the land register counts as “protection against termination”, so the simplified procedure applies whatever the amount in dispute
BGE 141 III 101Art. 271a(1)(d) ORTemporary protection against termination during tenancy proceedings starts when the claim is filed, even if the landlord does not know of it

BGE 145 III 143 answers a very practical question: what happens if the landlord wins the challenge but never moves in? The passage the connector returns shows that the cantonal court had examined whether the Eigenbedarf was already missing when notice was given or fell away later. The Federal Supreme Court settles it: the final judgment in the challenge proceedings binds the damages court, and only a revision under arts. 328-333 ZPO can undo it.

BGE 141 III 101 also notes that urgent Eigenbedarf is one of the exceptions to temporary protection (art. 271a(3)(a) OR).

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: