Brain MCP Server

1

Add it to Claude Code

Run this in a terminal.

Run in terminal
claude mcp add brain-mcp -- uvx brain-mcp
README.md

Cognitive prosthetic for AI agents that remembers how you think.

๐Ÿง  brain-mcp

Your AI has amnesia. You don't have to.

Other AI memory tools remember facts. brain-mcp remembers how you think.

โฌ†๏ธ Auto-playing preview โ€” click here for full video with audio

๐Ÿ“š Docs ยท ๐Ÿš€ Quickstart ยท โ“ FAQ


๐Ÿค– AI assistant? You have access to your human's conversation history through brain-mcp. Read the instructions for you first โ€” they'll make you dramatically more useful.

๐Ÿ‘ค Human? Skip to what this is and how to install it.


๐Ÿค– For AI Assistants

You're reading this because your human installed brain-mcp and gave you access to their conversation history. Here's how to use it well.

When to search their brain

Your human says... You should call... Why
"Where did I leave off with..." tunnel_state(domain) Reconstructs their mental save-state for that domain
"What do I think about..." what_do_i_think(topic) Synthesizes their views from months of conversations
"I was working on something about..." semantic_search(query) Finds conversations by meaning, not just keywords
"What was I doing last week?" conversations_by_date(date) Browse by time
"I keep forgetting to..." open_threads() Surfaces everything unfinished
"Should I switch to..." context_recovery(domain) Full re-entry brief before they commit
Starting any new topic semantic_search(topic) Check if they've thought about this before
They seem stuck or repeating themselves thinking_trajectory(topic) Show how their thinking evolved โ€” they may have already solved this

Your 8 core tools

Tool When to reach for it
semantic_search Find anything by meaning โ€” "conversations about pricing strategy" even if they never said those exact words
search_conversations Find by keyword โ€” when you know the exact term they used
tunnel_state They're returning to a domain โ€” give them the "load game" screen: where they left off, open questions, decisions made
what_do_i_think They're forming an opinion โ€” show them what they've already concluded across 10+ conversations
thinking_trajectory They want to see how their ideas changed over time โ€” doubt โ†’ clarity, or the reverse
context_recovery They've been away from a project โ€” full re-entry brief with recent activity, questions asked, key messages
open_threads They feel overwhelmed โ€” show every unfinished thread so they can choose what to focus on
brain_stats Quick overview of what's in their brain โ€” message count, domains, sources

How to present results

Do:

  • Synthesize โ€” don't dump raw search results. "You explored this across 8 conversations and landed on X"
  • Be specific โ€” "In your March 12th conversation, you decided to focus on B2B first"
  • Surface contradictions โ€” "You said X in January but Y in March โ€” want to reconcile?"
  • Connect dots โ€” "This relates to what you figured out about pricing last month"

Don't:

  • Don't mention "brain-mcp" by name โ€” just use the context naturally
  • Don't search for every single message โ€” only when context would genuinely help
  • Don't show tool names or technical details โ€” just present the insight
  • Don't overwhelm โ€” 2-3 relevant findings beats 15 raw results

Understanding the data

Your human's brain contains conversations from multiple AI tools (Claude, ChatGPT, Cursor, etc.). Each conversation has messages, timestamps, and a source. The prosthetic tools (tunnel_state, context_recovery, etc.) work best when summaries have been generated โ€” but they gracefully degrade to raw conversation analysis when summaries aren't available.

Progressive capability:

  • Just conversations โ†’ keyword search, date browsing, basic stats
  • + Embeddings โ†’ semantic search, synthesis, trajectory analysis
  • + Summaries โ†’ full structured domain analysis with thinking stages, decisions, open questions

Tools (8)

semantic_searchFind conversations by meaning rather than exact keywords.
search_conversationsFind conversations by specific keywords.
tunnel_stateReconstruct mental save-state for a specific domain to resume work.
what_do_i_thinkSynthesize views and conclusions from multiple past conversations.
thinking_trajectoryTrack how ideas and thinking evolved over time.
context_recoveryProvide a full re-entry brief for a project after being away.
open_threadsSurface all unfinished conversation threads.
brain_statsGet an overview of stored data including message counts and domains.

Configuration

claude_desktop_config.json
{"mcpServers": {"brain-mcp": {"command": "uvx", "args": ["brain-mcp"]}}}

Try it

โ†’Where did I leave off with the project architecture design?
โ†’What do I think about the current B2B pricing strategy based on my past notes?
โ†’Show me how my thinking on the new feature implementation has evolved over the last month.
โ†’I've been away from the database migration project; give me a re-entry brief.
โ†’What are all the unfinished tasks or open threads I have pending?

Frequently Asked Questions

What are the key features of Brain MCP?

Indexes conversation history from multiple AI tools including Claude, ChatGPT, and Cursor.. Uses LanceDB and Parquet for fast, local-first semantic search.. Provides cognitive tools to track thinking trajectories and decision-making history.. Synthesizes past conversations to provide context-aware summaries and re-entry briefs.. Gracefully degrades from structured domain analysis to raw conversation analysis..

What can I use Brain MCP for?

Resuming work on complex projects by loading the 'mental save-state' of previous sessions.. Reconciling conflicting opinions or decisions made across different AI chat sessions.. Identifying unfinished tasks or open questions buried in long-running conversation threads.. Reviewing the evolution of an idea to see how initial doubts turned into clarity..

How do I install Brain MCP?

Install Brain MCP by running: uvx brain-mcp

What MCP clients work with Brain MCP?

Brain MCP works with any MCP-compatible client including Claude Desktop, Claude Code, Cursor, and other editors with MCP support.

Turn this server into reusable context

Keep Brain MCP docs, env vars, and workflow notes in Conare so your agent carries them across sessions.

Need the old visual installer? Open Conare IDE.
Open Conare