Persistent memory for AI agents — Claude Code / Codex plugin for the Brain MCP knowledge base: search-first memory, fact lineage, agent-to-agent handoffs

version

Brain — persistent memory for your AI agents

Your agents forget everything between sessions. Brain doesn't.

Brain is a hosted knowledge base your AI agents read and write overMCP — architecture decisions, runbooks,hard-won gotchas, and agent-to-agent handoffs, searchable from Claude Code,Codex, and any MCP-compatible client. Stop re-explaining your stack to everynew session.

Install (2 minutes)

Claude Code:

claude plugin marketplace add levirge/brain
claude plugin install brain@levirge-brain

Then run /mcp in a session and sign in.

Codex CLI:

codex plugin add levirge/brain

Cline, or any MCP client — remote server, no install:

{ "mcpServers": { "brain": { "type": "streamableHttp", "url": "https://brain.levirge.com/mcp" } } }

That is Cline's spelling of the transport type; other clients name it differently. OAuthsign-in on first connect. Details: llms-install.md.

What you get

  • Search-first memory — search_knowledge with semantic search + reranking;agents cite what they read instead of hallucinating.
  • Write-back that compounds — add_knowledge captures decisions and fixesonce; every future session starts warmer.
  • Fact lineage — trace any answer back to the documents and atoms it camefrom (/brain:lineage).
  • Agent-to-agent handoffs — a shared inbox between agents and machines:hand work from one session, role, or CLI to another (/brain:handoff).
  • Work sessions & context packs — /brain:start pulls the rightcontext for a task; /brain:finish persists what was learned.
  • Self-improving ranking — feedback (helpful / dead-end verdicts) tunesretrieval to how your team actually works.

Works with your models

Measured in a 10-task × 3-repeat bake-off (fixed judge): Claude Opus-classmodels ground perfectly, and the bundled search-first contract doubledretrieval compliance on a local 26B. Details inplugins/brain/README.md.

Links

Plugin versioning is semver, independent of the Brain server release.

MCP Server · Populars

MCP Server · New

    rootSunc

    CNEquity · 中国市场金融数据湖

    中国 A 股数据基础设施。55个日更数据集:股票行情、基本面、期货数据、资金面、公告事件、指数行业、宏观与风险。行级溯源、PIT 语义、复权与历史成分内置,MCP 原生。自托管,零注册、零 API Token

    Community rootSunc
    metavert-io

    LightCMS

    Self-hosted CMS that works human or headless: full admin UI plus REST and MCP APIs, built-in semantic search and site chat, and content forking, versioning, diff/merge review, templates, approvals, and static page generation.

    Community metavert-io
    pipelab-org

    pipelock

    Open-source AI agent firewall for MCP security and agent egress. Scans mediated HTTP, MCP, A2A, and WebSocket traffic for exfiltration, SSRF, and prompt injection, and emits mediator-signed action receipts: verifiable audit evidence from outside the agent.

    Community pipelab-org
    zachshallbetter

    adobe-mcp

    MCP server that turns Adobe InDesign into an AI design automation platform — 135+ tools for layout, styles, export, and publishing workflows

    Community zachshallbetter
    obsei

    obsei

    Open source, privacy-first Voice of Customer analytics. A self-hosted alternative to Enterpret and Unwrap that strips PII from feedback before any LLM sees it.

    Community obsei