by rahilp
One memory layer, every AI tool. Store anything once — recall it in Claude, ChatGPT, Cursor, or any MCP client. Self-hosted on Cloudflare's free tier.
# Add to your Claude Code skills
git clone https://github.com/rahilp/second-brain-cloudflareGuides for using mcp servers skills like second-brain-cloudflare.
Last scanned: 6/2/2026
{
"issues": [
{
"type": "npm-audit",
"message": "miniflare: Vulnerability found",
"severity": "medium"
},
{
"type": "npm-audit",
"message": "wrangler: Vulnerability found",
"severity": "medium"
},
{
"type": "npm-audit",
"message": "ws: ws: Uninitialized memory disclosure",
"severity": "medium"
}
],
"status": "PASSED",
"scannedAt": "2026-06-02T08:39:27.702Z",
"npmAuditRan": true,
"pipAuditRan": true
}second-brain-cloudflare is an open-source mcp servers skill for AI coding assistants such as Claude Code, Codex CLI, and ChatGPT, built by rahilp. One memory layer, every AI tool. Store anything once — recall it in Claude, ChatGPT, Cursor, or any MCP client. Self-hosted on Cloudflare's free tier. It has 600 GitHub stars.
Yes. second-brain-cloudflare passed SkillsLLM's automated security scan — a dependency vulnerability audit plus prompt-injection heuristics — with no high-severity issues. You can read the full report in the Security Report section on this page.
Clone the repository with "git clone https://github.com/rahilp/second-brain-cloudflare" and add it to your Claude Code skills directory (see the Installation section above).
second-brain-cloudflare is primarily written in TypeScript. It is open-source under rahilp on GitHub, so you can review or fork the full source.
Yes. SkillsLLM lists many other MCP Servers skills you can browse and compare side by side. Open the MCP Servers category from the badge at the top of this page, or use the Related Skills and comparison links further down to weigh second-brain-cloudflare against similar tools.
No comments yet. Be the first to share your thoughts!
Top skills in this category by stars
One shared memory for Claude, ChatGPT, Cursor, Codex, and every other AI tool you use.
You use Claude for some things, ChatGPT for others, and Cursor for code. But your context, including your projects, decisions, and preferences, does not move with you. You end up explaining yourself again and again.
Second Brain gives every AI tool access to the same persistent memory.
Unlike memory built into a single app, this memory belongs to you. It runs in your own Cloudflare account, stays under your control, and cannot be locked inside one AI platform.
The easiest way to get started is the desktop app. It sets everything up for you in about two minutes — no terminal, no accounts to wire together, no technical steps.
Prefer to run it yourself? Use the one-click Deploy to Cloudflare button, or follow the manual steps. See the Quick Start for all three options.
#3 Product of the Day on Product Hunt
Memory graph. Memories now connect to each other — automatically as you save, or explicitly with the new link and connections tools. Recall can follow those connections (the hops option) to surface related context that a plain search would miss, and the dashboard has a new Graph tab to explore your memory visually.
Notion sync. Connect your Notion workspace from Settings → Integrations in the dashboard. Pages you share with the connection sync into memory, stay updated as they change in Notion, and surface in recall alongside everything else. Nightly automatic sync, or on demand with Sync now.
Graceful degradation. If the Vectorize index is missing, recall now falls back to keyword search with a clear notice instead of failing, a new /health endpoint reports index status, and the dashboard shows a banner with the exact fix.
Connect Second Brain to the AI tools you already use, then save information as it comes up.
Second Brain retrieves memories by meaning rather than exact wording. Asking:
What did I decide about the pricing model?
can surface the correct memory even when the original note used completely different words.
| Tool | What it does |
|---|---|
remember |
Store ideas, decisions, preferences, and project context |
append |
Add an update to an existing memory |
update |
Replace an existing memory |
recall |
Find memories by meaning rather than exact wording |
list_recent |
Browse recently saved memories |
forget |
Permanently delete a memory |
Memory is most useful when capturing information is easy. Second Brain connects to the tools and moments where context already exists.
AI clients: Use remember directly within Claude, ChatGPT, Cursor, Codex, and other MCP clients.
Command line: Run brain remember, brain recall, and other commands from your terminal.
npm install -g second-brain-cf-cli
Notion: Connect your Notion workspace from Settings → Integrations in the web dashboard. Create an internal connection in the Notion developer portal (a connection, not a personal access token — only connections appear in a page's Connections menu), share the pages you want remembered with it, and paste its secret — shared pages sync into memory automatically (nightly, or on demand with Sync now) and stay updated as they change in Notion.
Obsidian: Automatically sync notes using the Second Brain Sync plugin, also available through Obsidian Community Plugins.
Browser extension: Capture a page or highlighted text using the Chrome extension.
iPhone and iPad: Use the Brain Dump, Text Brain Dump, and Save to Brain shortcuts in integrations/ios-shortcuts/.
Bookmarklet: Use the lightweight bookmarklet in integrations/bookmarklet.js.
Pick the option that fits you. They all deploy the same Second Brain into your own Cloudflare account — the difference is only how much setup you do by hand.
The lowest-friction way to get started. Download the Second Brain desktop app for Mac or Windows, open it, and it walks you through setup in about two minutes: you pick a password, sign in to (or create) a free Cloudflare account, and it builds your Second Brain in your own private space and connects your AI tools for you. After setup it becomes the app you open your dashboard with every day.
Nothing to install beyond the app itself — no terminal, no git, no configuration values to copy. Developers: see installer/ for how it works and how to build it.
The Mac build is signed and notarized by Apple. The Windows build is not yet code-signed, so Windows may show a SmartScreen "unrecognized app" notice on first launch — click More info → Run anyway. (Code signing for Windows is in progress.)
Prefer to deploy the Worker yourself without the app? Set it up in three steps.
Your AUTH_TOKEN is the password used to access your Second Brain.
Use either:
A memorable phrase, such as coffee-lover-2026
A randomly generated token:
openssl rand -base64 32
Save this token somewhere secure. You will need it when authorizing clients and testing your deployment.
Click Deploy to Cloudflare and follow the prompts.
Enter the following values during setup:
| FIELD | VALUE |
|---|---|
| Dimensions | 384 |
| Metric | cosine |
| AUTH_TOKEN | The token you created in step 1 |
Cloudflare will provision the required resources and deploy your Worker automatically.
When deployment finishes, copy your Worker URL. It will look similar to:
https://your-worker-name.your-subdomain.workers.dev
Choose the instructions for the clients you use.
Run the command for your operating system, replacing YOUR-WORKER-URL with the Worker URL from step 2.
macOS, Linux, WSL, or Git Bash
curl -fsSL https://raw.githubusercontent.com/rahilp/second-brain-cloudflare/main/scripts/connect-ai-clients.sh | bash -s -- https://YOUR-WORKER-URL
Windows PowerShell
iex "& { $(irm https://raw.githubusercontent.com/rahilp/second-brain-cloudflare/main/scripts/connect-ai-clients.ps1) } -WorkerUrl https://YOUR-WORKER-URL"
The setup script configures the MCP connection and global instructions using OAuth. Your authentication token is not passed to the script.
These clients require two manual setup steps:
Add the provided custom instructions to the app's personalization settings.
Add the following URL as a custom MCP connector:
https://YOUR-WORKER-URL/mcp
Follow the client-specific instructions in the wiki for the exact menus and settings.
Your Second Brain is now ready to use across every connected client.
Replace YOUR-WORKER-URL and YOUR-TOKEN with your own values:
curl -X POST https://YOUR-WORKER-URL/capture \
-H "Authorization: Bearer YOUR-TOKEN" \
-H "Content-Type: application/json" \
-d '{"content":"second brain is working","source":"test"}'
A successful response will look like:
{"ok":true,"id":"..."}
The /mcp endpoint supports OAuth 2.0 discovery and dynamic client registration.
When you add the following URL as an MCP connector:
https://YOUR-WORKER-URL/mcp
a compatible client will:
AUTH_TOKEN.This means your authentication token does not need to be placed in the client configuration or included in the connector URL.
Th