Skip to content
← Help center

How to create an API key and connect Claude to Homebears

This guide shows you how to create a personal API key, make your first API call and connect an AI assistant such as Claude through the MCP server. The short version: Settings → Manage API keys → +, pick what the key may do, copy it once and paste it into your script or assistant.

Open your API keys

  1. Tap your picture at the top right and choose Settings.
  2. Scroll down to API keys and tap Manage API keys.
The API keys page with an empty key list and, below it, the card Plug in your tools with the OpenAPI document, the MCP server address and the Claude Code command

Below your keys, Plug in your tools has the OpenAPI document, the address of the MCP server and a ready-made Claude Code command to copy.

Create a key

  1. Tap the round + button. On a computer, it’s New key at the top right.
  2. Give it a Name you’ll recognise later, like “Claude on my laptop”.
  3. Under What it may do, switch on Read or Write for each area the key needs – and nothing else. Write includes read. Households & members is useful for almost every assistant: it gives the ids of households and people.
  4. Under Circles, keep All my circles or limit the key to one circle.
  5. Under Expires, pick In 7 days, In 30 days, In 90 days or Never.
  6. Tap Create key.
The Create an API key form with the name Claude on my laptop, Shopping set to read and write, Households and members to read, the circle Kastanienallee and an expiry in 90 days

Copy it now

  1. The next screen, Copy it now, shows your key once. Tap the copy button next to API key and keep it somewhere safe, like your password manager.
  2. If you use Claude Code, copy the command under Add it to Claude Code – your key is already filled in.
  3. Tap I’ve stored it.
The dialog Copy it now with the new key, a copy button and the Claude Code command with the key filled in

Once you close this, the key is gone for good. Homebears only keeps a fingerprint of it.

Try it with curl

The REST API lives at https://api.homebears.app/api/v1. Every endpoint is described in the public OpenAPI document at https://api.homebears.app/api/v1/openapi.json.

  1. Find your circle’s id:

    curl https://api.homebears.app/api/v1/circles -H "Authorization: Bearer $HB_KEY"
  2. Add items to a shopping list (GET /api/v1/circles/{circle}/shopping-lists gives you the list’s id):

    curl -X POST https://api.homebears.app/api/v1/circles/$CIRCLE/shopping-lists/$LIST/items \
      -H "Authorization: Bearer $HB_KEY" -H 'Content-Type: application/json' \
      -H 'Idempotency-Key: 8d5e1c0a-weekly-shop' \
      -d '{"items": [{"name": "Oat milk", "quantity": "2"}, {"name": "Eggs"}]}'

Anyone with the list open sees the items appear at once, and the others are notified just as if you’d added them in the app.

Connect Claude via MCP

The MCP server is at https://api.homebears.app/mcp. Your assistant only sees the tools your key’s access allows.

Claude Code – one command in your terminal (add --scope user to have it in every project):

claude mcp add --transport http homebears https://api.homebears.app/mcp \
  --header "Authorization: Bearer hb_…"

Claude Desktop – open Settings → Developer → Edit Config, add this to claude_desktop_config.json and restart Claude Desktop:

{
  "mcpServers": {
    "homebears": {
      "command": "npx",
      "args": [
        "-y",
        "mcp-remote",
        "https://api.homebears.app/mcp",
        "--header",
        "Authorization:${HOMEBEARS_AUTH}"
      ],
      "env": { "HOMEBEARS_AUTH": "Bearer hb_…" }
    }
  }
}

Cursor, VS Code and other clients that support remote servers with custom headers:

{
  "mcpServers": {
    "homebears": {
      "url": "https://api.homebears.app/mcp",
      "headers": { "Authorization": "Bearer hb_…" }
    }
  }
}

Then just ask: “Add oat milk, flour and eggs to the weekly shop”, “Who owes whom?” or “What’s left for me this week?”

Check or revoke a key

  1. Your keys are listed on API keys with their access, circle, expiry and when they were last used.
  2. To stop a key, tap the three dots next to it and choose Revoke Claude on my laptop (with your key’s name).
  3. Confirm with Revoke key. Anything using it stops working right away.
The API keys list with the key Claude on my laptop, its access to Shopping and Households and members, the circle, expiry and last use

Connect Home Assistant

Open your Home Assistant instance and open the Homebears repository in HACS.

Create a key with Shopping and Chores set to write and Households & members to read, then install the Homebears integration through HACS and paste the key when you add it. Homebears with Home Assistant has the steps, plus YAML examples if you’d rather not install anything.

Good to know

  • A key acts as you, with exactly the access you gave it. It can’t touch your account, password or memberships, and it can’t create other keys.
  • You can have up to 20 keys. Each allows 120 requests per minute.
  • Resetting your password revokes all your keys.
  • There are no webhooks: Homebears doesn’t notify other services when something changes, so automations ask at an interval.
  • Receipt scanning isn’t available through the API or MCP, and the MCP tools can’t delete expenses or whole shopping lists.

More on the API and MCP feature page. The API is especially handy with the shopping list and the meal planner.

Questions and answers

I closed the dialog before copying the key. Can I see it again?
No. Homebears only stores a fingerprint of the key, so nobody can show it again. Revoke the old key and create a new one.
Can I add Homebears in Claude’s connector dialog?
Not yet. That dialog needs a sign-in via OAuth, which Homebears doesn’t offer. Use Claude Code, or Claude Desktop with the mcp-remote bridge, and paste your key.