Built on Cloudflare Persistent memory for every AI tool v1.5.1 · MIT

Your AI shouldn’t start from zero

Second Brain gives Claude, ChatGPT, Cursor, and every MCP-compatible tool a shared continuity layer, so your projects, decisions, and context follow you across every session.

Deployed by developers worldwide
2 min
setup
$0
forever, on cloudflare
100%
your data, your account
every
mcp-compatible tool
works with

One continuity layer for every AI tool you use.

any client that speaks MCP - that's all of them now

If it speaks the Model Context Protocol, it plugs in. One Worker URL, every tool.

the problem

The problem isn’t that AI lacks memory. The problem is that every tool starts over

Every new conversation, you re-paste context. The tech stack. The architecture decisions. What you agreed on last Thursday. The file structure. The naming conventions. Again. And again.

The model is brilliant in the moment and completely blank at the start of the next session. You burn ten minutes per chat re-establishing context that should already exist.

Built-in memory features are black boxes. You can't search them. You can't audit what's stored. You can't export them. You can't control when they trigger. They occasionally remember the right thing. Mostly they don't.

Second Brain is different. It's a memory layer you actually control - searchable, exportable, self-hosted, and yours.
how it works

Up and running in three steps

STEP 01
One-click deploy

Click the button. Cloudflare provisions your D1 database, Vectorize index, and Worker. Schema auto-creates on first request. Nothing to configure.

STEP 02
Connect your tools

Paste your Worker URL into Claude Desktop, Claude Code, claude.ai, Cursor, or any MCP-compatible client. One URL, every tool.

STEP 03
It remembers

Context gets stored automatically as you work. At the start of each new session, the relevant parts surface. You stop re-explaining. Forever.

proof

See it in action

Watch the same question asked across ChatGPT, Claude, and Cursor - all returning consistent answers thanks to Second Brain.

features

Not just memory. Understanding that compounds.

Second Brain doesn't just store what you tell it - it synthesizes, resolves conflicts, and surfaces patterns you never explicitly wrote down.

AI Synthesis

Ask "what did I decide about the pricing model?" and get a direct answer - not a dump of raw entries. Supporting memories shown below if you want them.

Pattern Derivation

Second Brain scans your memories after every recall and surfaces recurring themes you never wrote down. "You revisit this tradeoff every quarter." Derived, not told.

Semantic Recall

"Users dropping off at checkout" surfaces when you search "conversion problems." Meaning-based retrieval - no exact match, no tagging required.

Smart Merge

When two memories conflict or overlap, Second Brain resolves them - merging near-duplicates, auto-correcting contradictions. Context stays clean over months.

Importance Scoring

Every memory gets an AI score at capture. Frequently recalled entries rank higher over time. Ask "what was I building last Tuesday?" and get the right moment.

Universal MCP

Claude, ChatGPT, Cursor, Windsurf - every MCP-compatible client shares the same memory layer. One deployment, one brain, every tool you use.

Web Dashboard

Browse by date, filter by tag, edit memories in place. Export everything to JSON or Markdown. Full visibility into what your AI knows - no CLI needed.

Self-Hosted

Runs entirely on your own Cloudflare account. No vendor touches your data. Covered by the free tier - no credit card, no lock-in.

memory health

Your brain never contradicts itself.

Most memory tools accumulate. Second Brain reconciles. Every new memory is checked against what's already stored - conflicts get resolved, near-duplicates get merged, stale beliefs get replaced.

STORED · 2 MONTHS AGO

"Based in New York - not planning to move anytime soon."

#life #location
CONTRADICTION DETECTED

"Moving to Lisbon in March. Remote made it possible, cost of living did the rest."

#life #location
AUTO-RESOLVED

"Moving to Lisbon in March. Remote made it possible, cost of living did the rest."

Superseded prior belief · #life #location
Contradiction Detection

Every incoming memory is semantically compared against existing ones. When two beliefs conflict, Second Brain flags it and auto-resolves to the newer truth - without you having to manage it.

Smart Merge

Near-duplicates in the 0.85–0.95 similarity band go through an LLM prompt that decides: keep both, replace, or merge into a single coherent memory. Nothing accumulates blindly.

Hard Duplicate Block

Exact or near-exact matches (≥0.95 similarity) are blocked before storing - no LLM call, no overhead. Your brain stays dense, not bloated.

the dashboard

A full UI at your Worker URL.

No separate service. No extra deploy. Open your Worker URL in any browser - auth is handled client-side, your token lives in localStorage.

Second Brain dashboard shown on three iPhones - Recall, Recent, and Remember views
VIEW 01
Recall

Semantic search across your whole brain - not keyword matching. "payment drop-off" finds "users abandoning checkout". Each result shows match score, tags, source, and timestamp.

VIEW 02
Recent

Every entry in reverse chronological order. Filter by tag to review what you stored under work or decision this week. Append updates or forget entries inline.

VIEW 03
Remember

Type a note and hit save. Drop #tags anywhere in the text - the UI strips them and stores them as tags. Works from your phone browser too.

ecosystem

Extend your Second Brain

Capture context - wherever you are, whatever you're using.

npm · second-brain-cf-cli
Second Brain CLI

Capture and recall from your terminal. Pipe meeting notes, grep output, or anything else straight into your brain - no copy-paste required.

# install once
npm install -g second-brain-cf-cli
 
brain remember "switching to React Query"
brain recall "state library decision"
cat notes.md | brain remember
Obsidian community plugin
Obsidian Plugin

Turn your entire Obsidian vault into AI context. Sync everything or just tagged notes, with auto-sync on save and a built-in sidebar for searching your brain without leaving the app.

Auto-sync on save Sidebar search Tag filtering Selective sync
Apple Shortcuts
iOS Shortcuts

Capture thoughts the moment they hit. Voice memo while walking, a quick text note, or save from any app's share sheet - straight to your AI's memory.

Brain Dump · voice Text Brain Dump Save to Brain

View all integrations →

comparison

Second Brain vs. the alternatives

FEATURE
BUILT-IN
MEM0
SECOND BRAIN
Searchable
Export to JSON / Markdown
Works across AI tools
Time-decay ranking
Web dashboard
Self-hosted
Obsidian sync
Contradiction detection
Smart merge & deduplication
AI-synthesized answers
Pattern derivation across memories
Free forever on your own infra
what builders are saying

Trusted by developers
and knowledge workers

Second Brain for AI - Persistent memory for Claude, ChatGPT & Cursor. Free. | Product Hunt
"One of the easiest ways to deploy a separate shared vectorized memory layer. Two minutes to set up - one-click deploy, schema, auth token, done."
Impressive-Sir9633 - r/Cloudflare
"I appreciate how no-fluff this is. Exactly the sort of thing CF likes to highlight as an example of the promise of the platform."
tumes - r/Cloudflare
"The 85–95 flagged tier is the clever bit. Most setups hard-dedupe at one threshold and lose the partial overlaps that actually carry new context."
NeedleworkerSmart486 - r/Cloudflare
"This is awesome. I've been building on Cloudflare and was thinking of something similar to Claude-mem but in the cloud."
bpGodspeed - r/Cloudflare
"Love the included iOS shortcuts + bookmarklet. I've built so many of those for personal use; this brings it to another level."
GludiusMaximus - r/Cloudflare
"A clever setup, especially running entirely on the free tier. Memory is the new moat for agents."
nicoloboschi - r/Cloudflare
"Boring-in-a-good-way infrastructure. Built-in memory feels magical until it remembers the wrong thing confidently. Explicit control is the saner version."
rupert_at_work - r/SideProject
the stack

Built entirely on
Cloudflare's free tier

No credit card required for personal use. Schema auto-creates. You own every byte.

Powered by Cloudflare Workers d1 · vectorize · workers ai
Cloudflare Workers D1 SQLite Vectorize Workers AI bge-small-en-v1.5 Llama 4 Scout MCP TypeScript MIT License
get started

Your AI is only as good as
what it remembers about you.

Two minutes to deploy. Free forever. Every AI tool you use, finally working from the same page.