Airsc miễn phí cho tất cả. Nếu nó giúp bạn, hãy ủng hộ $2–$20.

Ủng hộ
MCP serverAn toànQuy trình & bộ nhớ agentDễ cho người mới

second-brain-cloudflare

rahilp · rahilp/second-brain-cloudflare

Một lớp bộ nhớ tự lưu trữ trên Cloudflare giúp chia sẻ ngữ cảnh giữa Claude, ChatGPT và Cursor.

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.

806 sao119Giấy phép: MITCập nhật 4 ngày trước0 lượt mở

Xem trước

▍

Bạn có thể làm gì với nó

  • Giữ các quyết định dự án nhất quán khi chuyển từ Cursor sang Claude Code
  • Lưu trữ các tùy chọn lập trình viên dài hạn không bị mất khi reset session
  • Tạo cơ sở kiến thức nhóm dùng chung mà agent AI của mọi người đều có thể truy cập

Kiểm tra an toàn

An toàn

Không thấy dấu hiệu rủi ro trong các file đã quét.

Quét tự động các file trong repo. Luôn xem lại code trước khi chạy.

Trích từ README

Private memory for you. Shared memory for your team. Available to every MCP-compatible AI tool you use.

Now with Team Edition — private personal layers plus a shared team layer, in one Worker.

Claude, ChatGPT, Cursor, Codex, and the other AI tools you use do not naturally share context. You end up repeating the same projects, decisions, and preferences in every app.

Second Brain gives those tools one persistent memory system. It runs in your own Cloudflare account, stays under your control, and retrieves the right context by meaning rather than exact wording.


The desktop app is the easiest way to start. It builds your Second Brain and connects your AI tools in about two minutes—no terminal or Cloudflare setup required.

Download for Mac or Windows


Deploy to Cloudflare · Read the documentation

What it does

  • Recalls by meaning. Ask a natural-language question and find the right memory even when you used different words when saving it.
  • Works across tools and devices. Every client talks to the same Worker, so there is nothing to copy or synchronize between apps.
  • Keeps you in control. Browse, edit, append, connect, share, export, or permanently remove any memory from the dashboard.
  • Builds useful context. Automatic classification, duplicate detection, relationships, time-aware ranking, and optional weekly insights help the brain stay useful as it grows.
  • Captures from where you already work. Use MCP clients, the CLI, browser extension, Obsidian, Notion, calendars, email, iOS Shortcuts, or the web dashboard.
  • Acts on what matters next. Add dates to memories, review overdue and upcoming commitments, and let the installed PWA proactively push a reminder when something becomes due. See the Reminders and Push guide.
  • Stays in your account. Memories, vectors, credentials, and application resources live in your own Cloudflare account.

See it in action

Team Edition

Second Brain can now be a team's memory without stopping being yours.

  • Every person gets a Personal workspace that nobody else can read, plus a Shared layer visible to the team.
  • Memories are private by default and only enter the Shared layer when someone deliberately shares them.
  • Sharing moves one canonical memory rather than making a copy. Its author remains visible, and only the author or an admin can edit, delete, or un-share it.
  • Admins can manage members, access, capture defaults, and integrations without gaining access to anyone's personal workspace.
  • Existing v2 memories become the owner's private memories during upgrade. Nothing is exposed to a team automatically.
LayerWho can read itWho can edit or delete it
PersonalOnly youOnly you
SharedEveryone on the teamThe author or an admin

The same Worker supports personal and team use; there is no separate team deployment. In the API, CLI, and MCP tools, the Shared layer is represented by the stable workspace value company. See the Team Setup guide for member management, capture policies, sharing, and upgrades.

v3.0.0 scope: each brain has one shared team. The API and MCP layer include optional team parameters and a list_teams tool so multi-team support can ship later without breaking changes; the dashboard and admin flows do not create or switch between multiple teams yet. See CHANGELOG.md.

How it works

Second Brain runs as a Cloudflare Worker backed by D1, Vectorize, Workers AI, and KV. Every app and AI client connects to that Worker through REST or the Model Context Protocol (MCP).

  1. Capture: Save a decision, preference, project update, note, or source from any connected client.
  2. Organize: Second Brain classifies it, checks for duplicates and contradictions, creates relationships, and indexes it for semantic search.
  3. Recall: Ask in natural language. Second Brain retrieves relevant memories, follows useful connections, and returns source-backed context to the tool you are using.

If Vectorize is unavailable, captures and keyword recall continue working. Your memories remain usable while semantic indexing is restored. The shipped embedding models read English best; the desktop app's Settings can switch a brain to a multilingual reading.

Search now finds the hard things: exact names, ticket numbers, versions, and phrases in any language, even when they sit in old memories, and finding them is dramatically faster and cheaper, staying that way as the brain grows, which keeps the free plan comfortable. It does this with a full-text index that ranks matches by relevance instead of scanning every memory. The upgrade is automatic: new installs use the index immediately, existing brains build it over nightly runs, and no client needs updating.

Memory tools

ToolWhat it does
rememberStore ideas, decisions, preferences, and project context; optionally when a fact became or stopped being true
appendAdd a timestamped update to an existing memory
updateReplace an existing memory; optionally set when it stopped being true
recallFind memories by meaning rather than exact wording; optionally what was true as of a past date
briefShow due items, open commitments, stale memories, and pending insights
resolveSettle one tracked task, date, insight, or stale fact
digestRead the latest existing automatic summary for a project or tag
historyRead a memory's recorded changes, with the text before each one
list_recentBrowse recently saved memories
list_teamsList shared teams you belong to (names and ids). In v3.0.0 this is one team; used by
Xem mã nguồn trên GitHub