Second Brain: A Self-Hosted Persistent Memory Layer for AI Chat Tools
By
Rahil Pirani
Pale, doughy, and a touch sad. Eat if peckish.
Summary
Second Brain is a self-hosted, open-source memory layer for AI tools like Claude, ChatGPT, and Cursor. It solves the problem of AI sessions starting from scratch by allowing users to store context once and retrieve it semantically across sessions. Built on Cloudflare, it offers a free tier, MIT license, and ensures user data remains private. Features include duplicate detection, semantic search, and a web UI for managing stored context.
Key quotes
· 5 pulledI 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.
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.
You might also wanna read

Recall: Persistent Memory for AI Assistants Using Redis
Recall is an npm package that provides persistent memory for AI assistants like Claude, enabling them to remember conversations, decisions,
npmjs.com·7mo ago
Anthropic's Claude AI Gains Automatic Memory Feature for Enterprise Users
Anthropic is introducing automatic memory capabilities for its Claude AI chatbot, allowing it to recall past conversations without user prom

Anthropic's Claude Chatbot Gains Memory Function for Past Conversations
Anthropic has introduced a memory function for its Claude chatbot, allowing it to recall and summarize past conversations when prompted. Thi
Comparative Analysis: Claude's Memory Architecture vs ChatGPT's Approach
This article provides a detailed analysis of Claude's memory system architecture and how it fundamentally differs from ChatGPT's approach. T
Privacy Risks of AI Chatbots with Memory Features
This article explores the significant privacy risks associated with AI chatbots like ChatGPT that have memory capabilities. It presents hypo
YourMemory: Open-source persistent memory layer for AI agents using Ebbinghaus forgetting curve
YourMemory is an open-source persistent memory layer for AI agents that implements Ebbinghaus forgetting curve decay to mimic human memory.
