second-brain-cf-cli
v0.1.0
Published
CLI for Second Brain — give your terminal a persistent AI memory layer
Downloads
140
Maintainers
Readme
second-brain-cli
A CLI for Second Brain — give your terminal a persistent AI memory layer that works across every session and every tool.
npm install -g second-brain-cliOr without installing:
npx second-brain-cliQuick start
brain setupThe first-run wizard walks you through connecting to your Second Brain Worker. After that:
brain remember "decided to use TypeScript for the CLI"
cat meeting-notes.md | brain remember
brain recall "TypeScript decision"
brain listCommands
| Command | Description |
|---|---|
| brain setup | Run the interactive setup wizard |
| brain remember [text] | Save a memory (reads stdin if no text given) |
| brain recall <query> | Search memories semantically |
| brain list | Browse recent memories |
| brain append <id> <text> | Add more context to an existing memory |
| brain forget <id> | Delete a memory |
| brain stats | See memory count and top tags |
Options
brain remember "note" --tags work,decisions
brain recall "last week's decision" --limit 10
brain recall "architecture" --tags engineering
brain list --limit 20What is Second Brain?
Second Brain is a self-hosted memory layer that works across every AI tool — Claude, ChatGPT, Cursor, and anything else that supports MCP. Store notes, decisions, and context once, then recall them by meaning across every session.
Built on Cloudflare Workers + D1 + Vectorize. One-click deploy, free tier, your data stays in your own account.
Other integrations
| Integration | Repo | |---|---| | MCP Server | second-brain-cloudflare | | Obsidian Plugin | second-brain-obsidian-plugin | | Web UI | Built into the Worker — no install needed |
License
MIT
