Skip to content

Latest commit

 

History

History
79 lines (54 loc) · 1.98 KB

File metadata and controls

79 lines (54 loc) · 1.98 KB

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-cli

Or without installing:

npx second-brain-cli

Quick start

brain setup

The 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 list

Commands

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 20

What 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.

Deploy your Second Brain →


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