Built on Cloudflare free tier · your account Memory layer for your AI tools v1 · MIT

Your AI finally remembers what you told it last Tuesday.

Second Brain is a self-hosted memory layer for Claude, ChatGPT, Cursor, and every other MCP-compatible tool. One URL. Three minutes to deploy. Free forever on Cloudflare.

Star on GitHub 60 3.1k views on r/Cloudflare Obsidian verified
2 min
setup
$0
forever, on cloudflare
100%
your data, your account
every
mcp-compatible tool
works with

One memory 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

You've explained your project to Claude forty-seven times this week.

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.

features

Built to be trusted

Memory that's auditable, exportable, and entirely yours — not a vendor's black box.

Time-aware recall

Recent memories rank higher. When a decision changes, the latest version surfaces first.

Semantic search

Finds memories by meaning. "Users drop off at checkout" surfaces when you search "conversion problems."

Web dashboard

Browse, search, and edit memories from a clean UI at your Worker URL. No CLI required.

Your account, your keys

Everything lives in your own Cloudflare account. No third party ever touches your memories.

Works everywhere

Claude, Cursor, Windsurf — every MCP-compatible client. One memory layer, every tool.

Obsidian sync

Verified Obsidian plugin syncs your vault directly. Your knowledge base becomes AI context.

Smart chunking

Long notes split into overlapping segments — specific paragraphs surface precisely.

Duplicate detection

Near-exact matches blocked before storing. Your memory stays clean and dense.

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.

integrations

Capture from anywhere

iOS Shortcuts

Capture thoughts as they happen. 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
  1. Download a shortcut template below.
  2. Open it in the Shortcuts app and tap Add Shortcut.
  3. Replace YOUR_WORKER_URL and YOUR_TOKEN with your values.
  4. Say "Hey Siri, Brain Dump" or invoke from the share sheet.
Obsidian Plugin

Turn your entire Obsidian vault into AI context. Sync everything or just tagged notes, with auto-sync on save and sidebar search.

  1. Open Obsidian → Settings → Community Plugins → Browse.
  2. Search for Second Brain Sync and click Install.
  3. Enable the plugin and open its settings.
  4. Enter your Worker URL and Auth token, then click Test.
  5. Choose sync mode and hit Sync all.
comparison

Second Brain vs. built-in memory

FEATURE
BUILT-IN
SECOND BRAIN
Searchable
Exportable
Works across tools
Time-decay ranking
Web dashboard
Self-hosted
Obsidian sync
what builders are saying

Trusted by developers
and knowledge workers

"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 MCP TypeScript MIT License
get started

Stop wasting time
re-explaining context.

Deploy your Second Brain in three minutes. Free forever, open source, self-hosted. Your memories stay in your own Cloudflare account.