openflarestack Star this repo
  1. Catalog
  2. AI tools
  3. Second Brain
Ranked 26 of 234

Second Brain

rahilp/second-brain-cloudflare

One shared memory that Claude, ChatGPT, Cursor and other MCP tools can save to and recall.

What it sets up in your account

  • D1
    D1 database
    A SQL database for the app’s records.
  • KV
    KV namespace
    A key value store for settings and fast lookups.
  • AI
    Workers AI
    Runs AI models inside your account.
  • Cr
    Cron trigger
    Runs scheduled tasks.
Category
AI tools
Licence
MIT
Stars
802
Last commit
10 days ago
Latest release
installer-v4.0.0

Use it with AI or code

  • Markdown for AIPaste into ChatGPT, Claude or any LLM./apps/second-brain-cloudflare.md
    Open
  • JSON APIFree, no key, CORS open./api/v1/apps/second-brain-cloudflare.json
    Open

More in the API docs and llms.txt.

Keeping it up to date

The Deploy button copies the repo into your GitHub. Run this in your copy whenever a new version comes out.

terminal
git remote add upstream https://github.com/rahilp/second-brain-cloudflare.git
git pull upstream main
npx wrangler deploy

Second Brain questions

What is Second Brain?

One shared memory that Claude, ChatGPT, Cursor and other MCP tools can save to and recall. It runs on Cloudflare Workers in your own account.

What does Second Brain set up in my Cloudflare account?

D1 database, KV namespace, Workers AI and Cron trigger. They are created in your account, so the data stays yours.

How do I deploy Second Brain?

Press Deploy to Cloudflare. Cloudflare copies the repository into your GitHub account, creates what it needs and deploys it with Workers Builds.

Is Second Brain free and open source?

Yes. It’s published under the MIT licence. Running it uses your own Cloudflare account, and small setups usually fit in the free plan.

How do I update Second Brain?

Pull from the original repository and redeploy: add https://github.com/rahilp/second-brain-cloudflare.git as an upstream remote, run git pull upstream main, then npx wrangler deploy.