Open Source · MIT License · Free Tier

Your AI tools have
no memory.
Now they do.

Every AI conversation starts from zero. Second Brain gives Claude, ChatGPT, Cursor, and any MCP client persistent memory — self-hosted on Cloudflare's free tier.

Deploy to Cloudflare See how it works
thesecondbrain.dev
Recall
94% match
Rebuilding the onboarding flow — decided to use progressive disclosure instead of a wizard
work
87% match
Q3 goal is to reduce time-to-activate from 4 days to under 24 hours
strategy
Recent
Today
Switched from Vercel to Cloudflare for better cold start times
Append Forget
Yesterday
Users drop off at the payment step — need to investigate Stripe logs
Append Forget
Remember
What do you want to remember? Use #tags to organize.
Tip: add #tags anywhere in your message
Free
Cloudflare free tier
3 min
One-click deploy
Yours
Data stays in your account
Any
MCP-compatible AI client
The problem

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

Every new conversation, you re-paste context. Your tech stack, your decisions, what you agreed on last Thursday. The AI is brilliant in the moment and completely blank at the start of the next session.

The built-in memory features that exist are black boxes. You can't search them, audit them, or control what gets stored. They occasionally remember something useful.

Second Brain is a memory layer you actually control.

Up and running in three steps

One
Deploy to Cloudflare

Click the deploy button. Cloudflare provisions your D1 database, Vectorize index, and Worker automatically. No configuration needed.

Two
Connect your AI tools

Add your Worker URL to Claude Desktop, Claude Code, or claude.ai. Works with Cursor and any MCP-compatible client. One URL, every tool.

Three
It remembers

Claude stores context automatically during conversations. At the start of every new session, it recalls what's relevant. You stop re-explaining.

Built to be trusted

Semantic search

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

Web dashboard

Browse, search, and manage your memories from a clean UI at your Worker URL. No API knowledge required.

Your data, your account

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

Works everywhere

Claude Desktop, Claude Code, claude.ai, Cursor, and any MCP-compatible client. One memory layer, every tool.

Smart chunking

Long notes split into overlapping segments. Each section gets its own vector so specific parts surface precisely.

Duplicate detection

Near-exact matches blocked before storing. Your memory stays clean without accumulating repeated context.

The stack

Built entirely on
Cloudflare's free tier

No credit card required for personal use.

Cloudflare Workers D1 SQLite Vectorize Workers AI bge-small-en-v1.5 MCP Protocol TypeScript MIT License
Get started

Deploy your second brain
in three minutes

Free, open source, and self-hosted. Your memories stay in your own Cloudflare account.

Deploy to Cloudflare View on GitHub