Available in
Marketplaces, most starred first
Tags
Add to README
Shows its components, always-on context cost and install status, kept current. Add ?tokens=0 to hide the cost.
Marketplaces, most starred first
Shows its components, always-on context cost and install status, kept current. Add ?tokens=0 to hide the cost.
Marketplaces, most starred first
Shows its components, always-on context cost and install status, kept current. Add ?tokens=0 to hide the cost.
By flippyheadv3.3.0MITIn 1 marketplace
Captures project context and thoughts into a hosted AI Brain, then recalls them in later sessions with citable sources. The SessionStart hook injects your core memory before you type and stays silent without an AI_BRAIN_TOKEN API key.
Trending plugins
7-day copy clicks
Claude loads one when your task matches it, or you run it by name.
1 caution to review before installing
Connects to a remote server outside your machine
Static checks of hooks, mods, MCP servers and commands. Not a security audit.
1 marketplace, most starred first
Shows its components, always-on context cost and install status, kept current. Add ?tokens=0 to hide the cost.
Personal AI memory layer for Claude Code. Captures thoughts across sessions, syncs project context, and synthesizes what you've learned — with citable sources.
AI Brain is a thin Claude Code plugin over a hosted MCP server. The server stores your thoughts, people, projects, and insights; the plugin exposes skills that let Claude read and write that store as part of your workflow.
The server asks compatible AI clients to capture precise durable facts through typed entity relationships and coherent narrative memories separately. Captures are deduplicated. When something changes, the new current fact or memory is linked to the former record, which remains available as explicit history rather than being overwritten. For relevant prompts, the server also asks the client to recall a core fact plus query-specific current context before answering. Both behaviors remain client-mediated: the server cannot see a conversation unless the client calls a tool.
/brain-init — Preview-first onboarding. Discovers available sources, excludes incidental or inferred noise, and proposes at most 15 atomic facts/memories for approval before writing anything./brain-sync — Sync the current project's context into the brain. Compares against existing thoughts via progressive disclosure and only captures new or changed info./weekly-review — Weekly synthesis cross-referencing thoughts, workflow insights (if radar is installed), and goals. Every claim cites its source./brain-thread <topic> — Reconstruct the evolution of your thinking on a topic. Walks the chronological neighbors around a seed thought./brain-context <date> — Restore what was on your mind at a specific moment. Anchors on a date or event-like phrase.Both run once when a Claude Code session starts, and both stay silent when the brain is unreachable, slow, or rejects the credentials, so they never block a session.
Empty-brain nudge (check-brain-status.mjs): if your brain has no thoughts, prints a one-line suggestion to run /brain-init. Silent otherwise.
Core memory injection (inject-core-memory.mjs): fetches your explicitly marked core facts and core memories through the server's list_core_memories tool and prints them so they become part of the session context before you type anything. No MCP server can make a client call recall_context on its own; this hook is how standing context reaches Claude unprompted. What lands in context is a short block:
## Core memory (AI Brain)
Facts:
- <one-line fact statement> (fact:<id>)
Memories:
- <memory summary> (thought:<id>)
Fuller, message-specific recall is available via the mcp__ai-brain__recall_context tool.
It reads at most 10 core facts and 10 core memories, keeps each on one bounded line, only prints entries it can cite, writes nothing to disk, and prints nothing at all when you have no core context yet. To turn it off, set AI_BRAIN_SESSION_RECALL=0 in the environment Claude Code runs in.
Both hooks need an API key in the environment (see Install, step 3). Without one they are inert: they print nothing and the session starts normally. The skills are unaffected; they use the OAuth connection Claude Code holds.
Add the marketplace and install the plugin:
/plugin marketplace add flippyhead/ai-brain-plugin
/plugin install ai-brain@ai-brain-plugin
Connect the MCP server. The first time a skill reaches the brain, Claude Code opens your browser to sign in and authorize; that OAuth grant is what the skills and every mcp__ai-brain__* tool use from then on.
Give the hooks a key. The two SessionStart hooks run as plain Node scripts outside Claude Code's MCP connection, so they cannot use the OAuth grant from step 2 and the server rejects unauthenticated calls. Generate an API key in the AI Brain web app under Settings, then export it in the environment Claude Code starts from (for example your shell profile):
export AI_BRAIN_TOKEN=ob_...
AI_BRAIN_API_KEY and MCP_AUTH_TOKEN are accepted as aliases, and AI_BRAIN_AUTHORIZATION / MCP_AUTHORIZATION set the full Authorization header instead. Until one of these is set, both hooks stay inert: nothing is injected and nothing is printed. Treat the key like a password; the hooks send it only to the server URL in the plugin's .mcp.json.
7-day copy clicks
Plugins from other owners that cover similar ground
npx claudepluginhub flippyhead/ai-brain --plugin ai-brainBuilt from public signals: copy clicks on this site, GitHub stars and activity, the README and the manifest. Not a security audit or an endorsement.