Second Brain for AI - Persistent memory for Claude, ChatGPT & Cursor. Free.
by•
Every AI conversation starts from zero. Your projects, decisions, and preferences disappear as soon as you close the chat. Second Brain fixes that. It is a self-hosted memory layer that works with Claude, ChatGPT, Cursor, and any MCP client. You can store context once and recall it by meaning instead of keywords. It includes duplicate detection, semantic search, and a web UI. Built on Cloudflare, it offers a free tier and your data remains yours. MIT licensed.


Replies
Second Brain for AI
Hey Product Hunt, I'm Rahil. I built Second Brain.
I got tired of explaining myself to every AI tool during each session. A new Claude window is a blank slate. A new Cursor project doesn’t know my stack. It adds up quickly.
Second Brain is a self-hosted memory layer that connects to Claude, ChatGPT, Cursor, and any MCP client. You store context once and recall it by meaning across any session. Everything lives in your own Cloudflare account, not on a third-party server. There's a free tier, and you don't need a subscription. You also get a web UI to browse and manage everything visually.
What makes it different:
It works with all your AI tools—not tied to one app.
It uses semantic recall, which finds memories by meaning instead of exact keywords.
It’s self-hosted, so your data stays in your own Cloudflare account.
There’s a free tier, so it costs nothing to run.
The web interface lets you browse, search, and manage memories visually.
II’m really curious: what context do you find yourself re-entering most? That has influenced my roadmap more than anything else.
Ask me anything. Big shout out to @fmerian for his support!
Second Brain for AI
Quick update since launch. Here are a few things worth noting:
We shipped the Second Brain CLI today. If you use the terminal, you can now capture and recall memories without leaving it.
For those asking about integrations, Second Brain works with Claude, ChatGPT, Cursor, Windsurf, and any MCP-compatible client. There’s also an Obsidian plugin in the community directory, a Chrome extension, iOS Shortcuts in the repo, and a web UI if you prefer managing everything visually.
CLI, Obsidian, Chrome extension, iOS Shortcuts, MCP… same memory, every interface.
Clipboard Canvas v2.0
How does duplicate detection handle near-duplicates or nuanced variations in context? I've found that tricky in my own memory tools.
Second Brain for AI
The between-session memory problem is real and this solves it well. The harder problem - at least for how I use AI - is within-session overflow. My conversations regularly hit 100K+ words before they die/lag to unusble. The context window can't hold it all anyway, so even within a single session I'm losing early context. What I actually want is a rolling summarizer that compresses as the thread grows - keeping the essential through-line while shedding weight. That plus persistent cross-session memory would be the full solution. This a great idea tho, one I really like!
Second Brain for AI
AISA AI Skills Test
the memory problem is so underrated in AI tooling right now. you spend 20 minutes setting up context in a conversation and then it just... vanishes. self-hosted is the right call too, especially for teams dealing with proprietary code. how does it handle conflicting memories across different tools?
Second Brain for AI
@ozandag Exactly right on the self-hosted point. Proprietary code should never be on someone else's server.
On conflicting memories across tools: since all your AI tools write to the same memory layer, conflicts are caught at the time of writing, no matter which tool triggered the write. When a new memory arrives that contradicts an existing one, it is detected through semantic similarity and LLM judgment. The old entry is replaced, and its vector is removed. So, if Claude updates something you told Cursor last week, it resolves automatically instead of accumulating into contradictory context.