🧠 Built with ADHD in mind

Open Source · MIT Licensed

Your AI has
amnesia.

Persistent memory and cognitive context for AI. brain-mcp turns your conversation history into a queryable brain that any MCP client can use.

25 MCP tools · millisecond recall · 100% local · works with Claude, Cursor, Windsurf

25

MCP Tools

<12ms

Context Recovery

100%

Local & Private

MIT

Licensed

“use brain”

Type it in any conversation with Claude, Cursor, or Windsurf. Your AI instantly gains access to your full thinking history — every decision, every open question, every domain.

Before & After

Context lost vs. context recovered in milliseconds.

See It Work

Real tool calls. Real output. Real-time context recovery.

tunnel_state recovers your full context in 12ms. switching_cost quantifies what you'd lose by changing focus.

tunnel_state demo
tunnel_state

Load your save-state for any domain

what_do_i_think demo
what_do_i_think

Synthesize your views from real conversations

switching_cost demo
switching_cost

Know the cost before you context switch

context injection demo
context injection

Automatic context injected into every conversation

What It Does

🎮

State Recovery

Pick up exactly where you left off in any project. Like loading a saved game — open questions, decisions, stage, all recovered instantly.

💭

Thought Synthesis

Your AI synthesizes what you think from your real conversations. Not what you bookmarked — what you actually said and decided.

🛡️

Attention Protection

Know the cost of switching contexts before you switch. Catch dropped threads. Surface dormant work you forgot about.

🔍

Semantic Search

Find conversations by concept, not keyword. Local embeddings — no API key, no data leaving your machine.

25 MCP Tools

8 cognitive prosthetic tools + 17 generic tools. All exposed via Model Context Protocol.

🧠 Cognitive Prosthetic (8)

tunnel_state

Reconstruct your save-state for any domain.

context_recovery

Full re-entry brief for dormant topics.

switching_cost

Quantified cost of switching between domains.

open_threads

Global unfinished business across all domains.

dormant_contexts

Alarm for abandoned topics.

trust_dashboard

System-wide proof the safety net works.

cognitive_patterns

When and how you think best.

tunnel_history

Engagement meta-view over time.

🔧 Generic (17)

semantic_searchsearch_conversationsunified_searchsearch_summariessearch_docsunfinished_threadswhat_do_i_thinkalignment_checkthinking_trajectorywhat_was_i_thinkingget_conversationconversations_by_datebrain_statsgithub_searchquery_analyticslist_principlesget_principle

6 search · 4 synthesis · 3 conversation · 1 GitHub · 1 analytics · 2 meta. Full reference →

How It Compares

brain-mcpMem0Letta
Memory modelConversation archaeologyKey-value factsTiered memory
State recovery✅ 8 prosthetic tools
Data sourceYour existing conversationsRuntime extractionsAgent conversation
Runs where100% localCloud or self-hostCloud or self-host
Domain modeling✅ Multi-domain tracking
Context switching✅ Switching cost analysis
ProtocolMCP (any client)REST APIREST API
PriceFree (MIT)FreemiumFreemium

How It Works

Voice → sessions → parquet → embeddings → LanceDB → 25 MCP tools.

Sessions

Parquet

Embeddings

LanceDB

MCP Server

25 Tools

The Ecosystem

8 open-source repos. All MIT licensed. All local-first.

github.com/mordechaipotash

Why This Exists

Built by someone with ADHD who kept losing their train of thought. Not files — the state of what they were reasoning about.

Open source because this problem isn't unique. Whether you have ADHD or you just come back to a project after a week and spend the first hour re-figuring out what you already knew — brain-mcp is for you.

“After many iterations of trying to place myself in different boxes, I am rather displaying the cognitive prosthetic I built.”

— Mordechai Potash, creator of brain-mcp

Context that survives is context that compounds.

Your AI conversations already contain everything you need. brain-mcp makes it queryable.