## for Gemini
Long-term memory for Gemini CLI
A persistent knowledge graph the CLI reads and writes across every session.
## for Gemini
A persistent knowledge graph the CLI reads and writes across every session.
Architecture decisions, conventions, and yesterday's context don't carry forward unless you paste them in again.
Give Gemini a persistent, searchable knowledge base it can read and write to.
Gemini reads and writes a knowledge base that survives the session. Architecture decisions, conventions, and accumulated project knowledge always on hand.
Every session builds a searchable knowledge graph. Gemini recalls by keyword, by meaning, or by walking the relations between notes.
Notes are files on your machine. Read them in any editor, version them in Git, take them anywhere. Open the same vault in Obsidian alongside Gemini if you want.
Connects over the Model Context Protocol — the same standard Gemini CLI uses for tools. The same knowledge graph also works in Claude, Cursor, Codex, and any MCP client.
bm cloud login && bm mcp install --client geminiOr add it by hand. In ~/.gemini/settings.json: `"mcpServers": { "basic-memory": { "command": "bm", "args": ["mcp"] } }`. The bm CLI is the Basic Memory command-line tool (`pip install basic-memory` or `brew install basic-memory`). Run `gemini` and the new tools are available. Connect to Basic Memory Cloud or a local project — your choice. Full setup guide →
Try Basic Memory free for 7 days. Your notes stay yours either way.
7-Day Free Trial
Open source available for power users
View on GitHubbm cloud login && bm mcp install --client gemini and you’re done. Manual: add an entry to ~/.gemini/settings.json: "mcpServers": { "basic-memory": { "command": "bm", "args": ["mcp"] } }. The bm CLI is the Basic Memory command-line tool (install with pip install basic-memory or brew install basic-memory). Run gemini and the new tools are available.