AI agent (MCP): ask Planbiene in chat and hand over tasks
Connect an AI agent – shareable graphic (1200 × 630)

Imagine just saying „What's on today?“ or „Put milk on the shopping list.“ and your family app answers. That's possible: Planbiene can be connected to an AI agent such as OpenCode via the Model Context Protocol (MCP). All you need is a Planbiene account, a personal token and a few minutes.

Two levels, one goal. The standard MCP token is made for everyday use: reading what's on and making small changes such as the shopping list and to-dos. Bigger changes – for example swapping the parents for the summer holidays – need an agent with access to your own installation. We show both below, each with a clear note.
OpenCode · Planbiene MCP
You
What's on today?
🤖
Today, 18 Nov
📅 Appointments: parents' evening 19:00
✅ Open to-dos: take out the rubbish, pay the bill
🛒 Shopping list: milk, bread, eggs (3 items)
🗑️ Rubbish: general waste tomorrow, recycling Friday
🎂 Birthdays: grandma (in 4 days, 72)
📆 Holidays: none entered for today
You
Put milk on the shopping list.
🤖
✅ Done – milk is now on the family shopping list.

This is what the conversation looks like: Planbiene answers in chat without opening the app

Step 1 – create a token in the app

  1. Open Planbiene and go to Settings → 🤖 AI assistant.
  2. Enter a label (e.g. „OpenCode on my laptop“) and click Create token.
  3. Copy the token straight away – it is shown only once (format pb_mcp_…).

The token belongs to you personally and carries exactly your permissions. Sharing it means sharing your own access – not the family's. More details in the handbook: AI assistant (MCP).

Step 2 – configure OpenCode

Add this to ~/.config/opencode/opencode.json (or opencode.jsonc):

{
  "mcp": {
    "servers": {
      "planbiene": {
        "type": "remote",
        "url": "https://app.planbiene.de/mcp.php",
        "oauth": false,
        "headers": {
          "Authorization": "Bearer {env:PLANBIENE_MCP_TOKEN}"
        }
      }
    }
  }
}

And set the environment variable (permanently in ~/.bashrc or ~/.zshrc):

export PLANBIENE_MCP_TOKEN='pb_mcp_…'

oauth: false matters – Planbiene does not offer an OAuth flow for standard MCP clients. Restart your shell after setting the variable.

Step 3 – check the connection

opencode mcp list

Expected: planbiene connected. Then you're ready to go.

Examples for everyday life

The agent understands ordinary sentences. These questions and requests work straight away with the MCP token:

  • „What's on today?“ – appointments, open to-dos, shopping list, rubbish, birthdays, holidays and the weekly plan for the day.
  • „Put 500 grams of flour on the list.“ – amount and unit are carried over.
  • „Which to-dos are still open?“ – including due dates and points.
  • „Create a to-do ‚take out the rubbish‘ for tomorrow.“ – goes into the family list.
  • „What are we cooking this week?“ – the weekly plan with recipes and portions.
  • „What appointments do we have in the next 7 days?“ – the family calendar for that period.

The assistant fetches the answers from Planbiene when needed and phrases them in ordinary language. Notes about missing permissions or demo limits come back as normal answers – not as a crash.

Real-life example: summer holidays 2027

A case that actually came up for us recently: for the summer holidays 2027 the parents responsible for care should be swapped. An agent with access to the installation can carry out a request like this:

AI agent · Planbiene
You
Swap the parents for the summer holidays 2027. Father and mother exchange their care weeks – also check that the swaps in the shared-custody model still fit.
🤖
Done: the parents on the „Summer holidays 2027“ holiday entry are swapped. I checked the affected weeks in the custody planner and adjusted the swaps in the shared-custody model.

Example answer from an agent with installation access – not possible with the standard MCP token

Important: the public MCP token can read holidays and care arrangements, but not change them. A swap like this needs an agent with access to your own Planbiene installation (API access or direct database access) – so this is for self-hosters and developers. Never give that kind of access to third parties. With the standard token, ask read-only questions such as „Who has care today?“ and make the change directly in the app – see Swapping care days and Planning a holiday.

Video guide

The recording will be embedded here. Until then, the full storyboard with every click and piece of text is below – you can follow the steps right now.

Video guide in preparation The storyboard is below. Once the recording is ready, it will play right here in your browser.
Video placeholder – the individual chapters are listed in the storyboard below

Recording storyboard

  1. Intro: „We're connecting Planbiene to an AI agent. At the end the agent simply tells us what's on today.“
  2. Create the token: Settings → 🤖 AI assistant → label „OpenCode on my laptop“ → create token → copy it immediately and put it in an environment variable.
  3. Configuration: open ~/.config/opencode/opencode.json, paste the mcp.servers.planbiene block, point out oauth: false and set the PLANBIENE_MCP_TOKEN variable.
  4. Check the connection: type opencode mcp list and highlight planbiene connected.
  5. First questions: ask „What's on today?“, then „Put milk on the shopping list.“ – briefly show the answer and the filled list in the app.
  6. Everyday examples: ask about open to-dos, the weekly plan and appointments for the next seven days one after another.
  7. Holiday example: show the prompt for swapping the parents in the summer holidays 2027 and immediately add the note that an agent with installation access is required.
  8. Security: keep the token secret, revoke and recreate it if lost; child tokens cannot see parent modules.

Good to know

  • The token belongs to one person – child tokens cannot see parent modules such as the household budget or receipts.
  • In inactive families, reading stays allowed while writing is refused.
  • A revoked token loses validity immediately on the next request.
  • MCP and Alexa use the same underlying logic – entries end up in the same list.

All tools, permissions and error messages are in the handbook: AI assistant (MCP). For the shortest introduction, see also the tutorial: connect an AI assistant (MCP).