
Second Brain Cloudflare
by rahilp
Shared memory layer for AI tools. Store once, recall across Claude, ChatGPT, and Cursor via Cloudflare Workers.
What it does
Second Brain provides a unified personal memory layer that allows multiple AI clients to share a common knowledge base. By hosting the server on Cloudflare Workers (using D1 and Vectorize), it creates a persistent, semantic memory that survives across different conversations and tools, preventing the "starting from zero" problem in AI interactions.
Tools
remember: Stores new ideas, decisions, or project context into the memory layer.append: Updates existing entries with new information without creating duplicates.recall: Performs a semantic search with recency bias to find relevant memories by meaning.list_recent: Retrieves the most recently stored memories in chronological order.forget: Deletes a specific memory entry and all its associated vector chunks.
Installation
Deploy via the Cloudflare Workers one-click deploy button. During deployment, set your AUTH_TOKEN (e.g., using openssl rand -base64 32).
To connect to Claude Desktop, add the following to your claude_desktop_config.json:
{
"mcpServers": {
"second-brain": {
"command": "npx",
"args": ["-y", "@rahilp/second-brain"],
"env": {
"AUTH_TOKEN": "your-token-here",
"WORKER_URL": "https://your-worker-url.workers.dev"
}
}
}
}
Supported hosts
- Claude
- ChatGPT
- Cursor
- iOS (via Shortcuts)
Quick install
npx -y @rahilp/second-brainInformation
- Pricing
- free
- Published






