Skip to content
Claude Code

brains for Claude Code

io.github.spacecowboyian/brains

Personal wiki and memory for AI assistants: store, search, and recall structured notes.

client:Claude Code transport:stdio runtime:npm

Install brains in Claude Code

run in your project directory

Held in this page only — never stored, logged, or sent anywhere but back to your screen.

claude mcp add brains -e WIKI_DIR=<WIKI_DIR> -e STORAGE_BACKEND=<STORAGE_BACKEND> -e GOOGLE_CLIENT_ID=<GOOGLE_CLIENT_ID> -e GOOGLE_CLIENT_SECRET=<GOOGLE_CLIENT_SECRET> -e GOOGLE_REFRESH_TOKEN=<GOOGLE_REFRESH_TOKEN> -e DRIVE_FOLDER_ID=<DRIVE_FOLDER_ID> -e SUPABASE_URL=<SUPABASE_URL> -e SUPABASE_SERVICE_ROLE_KEY=<SUPABASE_SERVICE_ROLE_KEY> -- npx -y brains-mcp

Adds it for this project only. Append --scope user to make it available everywhere. Claude Code docs

brains in other clients