Connect Claude Code or Codex to your Brain
Add Badland Brain to Claude Code or Codex with one command and sign in, and add the Badland help center to Claude or ChatGPT.
#Before you start
Sign up for a free Badland account at chat.badland.ai with email, Google, phone or Apple. Your email must be verified: an unverified account is asked to verify it and connect again.
The Brain’s address is:
https://api.badland.ai/api/mcp
#Claude Code
-
Add the server:
claude mcp add --transport http badland-brain https://api.badland.ai/api/mcp -
Run
/mcpin Claude Code, pick badland-brain and choose Authenticate. -
Sign in to Badland in your browser and choose Allow.
#Codex
-
Add the server:
codex mcp add badland-brain --url https://api.badland.ai/api/mcp -
Codex opens Badland in your browser. Sign in and choose Allow.
To sign in again later, run codex mcp login badland-brain.
Sign-in happens in the browser, so you never copy a key by hand. Claude Code and Codex are the clients that work today. More MCP clients are coming.
#Tell your agents to use it
Optionally, paste this into your CLAUDE.md or AGENTS.md so your agents use the Brain without being asked:
At session start call brain_context. Before asserting a fact about my systems, brain_search it. Save decisions and handoffs with brain_note.
#What a connected agent can do
- Memory: load standing facts and recent decisions (
brain_context), search (brain_search), open one entry with its history (brain_get), browse (brain_list), save (brain_note), correct (brain_supersede) and forget (brain_forget). - To-dos: list, add, update and complete the tasks in your Badland To-Do lists.
- Badland Chat: read and search your chats, notes and saved memories.
- Calendar: read your upcoming Google Calendar events, if you connected Google Calendar. See Google Calendar.
See Badland Brain for plans, limits and privacy.
#Add the Badland help center to Claude or ChatGPT
The Badland help center is also available as a public, read-only connector. Add it in Claude or ChatGPT as a custom connector with this URL:
https://api.badland.ai/api/docs/mcp
It needs no sign-in and can only search, list and read these help articles. It can’t see your account.