LegalTech Logo

LegalTech

← Back to blog

Published on by Miguel Gonzalez Herrera

The Free State of Bavaria publishes its courts’ case law on gesetze-bayern.de, with edited headnotes (Leitsätze) and keywords. The portal’s most useful feature is filtering by applied statute: every decision that applies, say, § 536 BGB. In this guide you will connect the legaltech/gesetze-bayern connector to Claude or ChatGPT so you can run that search from the chat and analyse the decisions without leaving the conversation.

✅ 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/gesetze-bayern connector cover?

The legaltech/gesetze-bayern connector queries Bavaria’s official portal 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/gesetze-bayern

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/gesetze-bayern” 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: mould in a flat, landlord’s or tenant’s fault?

In mould disputes the key question is usually who caused it: a construction defect or the tenant’s ventilation habits. You can ask Claude to look only at decisions applying § 536 BGB (defects in the rented property):

Use the connector legaltech/gesetze-bayern and find me decisions on mould (Schimmel) that apply § 536 BGB

Claude fills in the connector’s statute filter:

{
  "searchTerms": ["Schimmel"],
  "norm": "BGB § 536",
  "maxResults": 3,
  "passages": 1
}

In a real run, the connector returned this decision:

With that as a base you can keep asking:

💡 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: