The full upstream README, mirrored here for reference. Install config, tool schemas, adoption signals, and an original overview live on the Basic Memory listing page.
Claude, Codex, or Cursor connected in 30 seconds. No Python, no JSON, no
terminal. $15.00/mo locked in for life (12.50/mo yearly pricing). 7-day free
trial — cancel any time before day 7 if it's not for you. Beta pricing —
sign up now and your rate never goes up. OSS users: code BMFOSS takes
another 20% off for 3 months.
Give your team a single, shared cloud workspace. Knowledge isn't confined to one person — anything a teammate writes is immediately available to everyone else and to their AI assistants. Edit a note together in real time, hand work off between humans and agents, and build one connected knowledge base instead of scattered copies. Same pricing - start with one user and add more as needed.
Pick up right where you left off — in Claude, Codex, Cursor, ChatGPT, or anything that speaks MCP. Your knowledge lives as Markdown files that both you and your AI can read, write, and search.
Pick the path that fits you. Both run the same product on the same Markdown.
| ☁️ Cloud | 💻 Local install |
|---|---|
|
30 seconds. Sign up, connect your AI client, done.
$15.00/mo locked for life · 7-day free trial · cancel any time |
2 minutes. Install, configure your AI client, run.
For Postgres deployments that store semantic vectors in Milvus, install the first-party optional extra instead: |
Basic Memory changed my whole relationship with LLMs. I switched from GPT and Gemini to exclusively Claude and Claude Code because of this integration and am completely revamping all our company's processes around a Basic Memory workflow.
— Alex, TrainerDay
Basic Memory is the missing 'wow' factor in AI chatbots. Now I can't imagine Claude or Claude Code without it.
— Caleb, Caleb Picker Consulting
I don't code without Basic Memory anymore. It's such a time saver to be able to refer to projects I don't currently have active and keep a running log of all my learnings and ProTips.
— @groksrc, Developer
More on basicmemory.com.
The hosted version of Basic Memory. Same product, same Markdown files, same MCP tools — we just host the database, run the sync, and put it on your phone.
Built on WorkOS AuthKit, Neon Postgres, and Tigris S3.
$15.00/mo, locked in for the life of your subscription (regular price $19). Sign up during beta and the rate never goes up — as long as you stay subscribed, you keep the price. One plan, no tiers, no surprise upgrades. Unlimited notes, unlimited projects, every feature.
BMFOSS for another 20% off for 3 months (~$11.40/mo).| Cloud | Local | |
|---|---|---|
| Setup time | 30 seconds | 2 minutes (requires Python) |
| Cost | $15.00/mo, locked for life (7-day trial) | Free |
| Storage | We host (Tigris S3) | Your disk |
| Cross-device sync | Built in | Manual (Git, Syncthing, etc.) |
| Mobile access | Yes (web + app) | No |
| Air-gapped | No | Yes |
| Your data stays yours | Yes — export anytime | Yes — already there |
| Source code | AGPL-3.0 | AGPL-3.0 |
| Snapshots & backups | Built in | Roll your own |
Both paths use the same OSS engine and the same Markdown files. There's no lock-in either way — flip between them when your needs change.
| Client | Transport | Notes |
|---|---|---|
| Cloud web app | https | Sign in at basicmemory.com — no install |
| Claude Desktop | stdio/https | macOS / Windows / Linux |
| Claude Code | stdio/https | claude mcp add |
| Codex | stdio/https | OpenAI's coding agent |
| Cursor | stdio/https | .cursor/mcp.json |
| VS Code | stdio/https | Native MCP support |
| ChatGPT | https | Custom GPT actions (search / fetch) |
| Obsidian | — | Reads/writes the same Markdown directly |
| Anything MCP | stdio/https | If it speaks MCP, it works |
This repository is also the canonical home for Basic Memory's host-native agent packages. The core Python package, Claude Code plugin, shared skills, Hermes plugin, and OpenClaw plugin all ship from the same source tree.
Maintainers can verify the whole consolidated surface from the repo root:
Package-local justfiles are also available when working inside one host:
The Claude Code plugin is the bridge between Claude's working memory and Basic
Memory — session-start briefings, pre-compaction checkpoints, an opt-in capture
output style, and /basic-memory:bm-setup · :remember · :share · :status.
Connect the Basic Memory MCP server first — see Connect your AI client. The plugin's hooks and skills call it, so it's a hard prerequisite. Then install the plugin:
That registers the marketplace and installs the plugin through Claude Code. Add
--scope project to declare both in the repository's settings for a team, or
--dry-run to see the underlying claude plugin commands without running them.
Source: plugins/claude-code.
Framework-agnostic SKILL.md files live in skills/. If your
Skills CLI supports repository subdirectory sources:
If your installed Skills CLI cannot load that source, update the CLI or copy
the memory-* directories from skills/ into your agent's skills directory.
Hermes keeps its native plugin shape under integrations/hermes:
Hermes does not install a plugin's Python dependencies, so also add the mcp
package to the Hermes venv — see the plugin README
for that step and the supported Hermes releases.
OpenClaw stays package-native and publishes from
integrations/openclaw:
https://github.com/user-attachments/assets/a55d8238-8dd0-454a-be4c-8860dbbd0ddc
If you went the Cloud route, the web app walks you through client connect. The snippets below are for local installs.
Edit ~/Library/Application Support/Claude/claude_desktop_config.json:
Restart Claude Desktop. Notes live in ~/basic-memory by default.
For the full memory bridge — session briefings, pre-compaction checkpoints, and
the /basic-memory:* commands — also install the Claude Code
plugin on top of this.
Add to ~/.codex/config.toml:
Codex can keep its default MCP approval behavior, or you can pre-approve eligible Basic Memory tools by adding this server-scoped setting to the same table:
This does not disable Codex approvals globally or expand which Basic Memory projects the server can access. Codex still requires approval for tools that advertise a destructive annotation, including Basic Memory's writes, edits, and deletes. If you installed the Basic Memory Codex plugin, use its plugin-scoped configuration instead.
Add to .cursor/mcp.json (project) or ~/.cursor/mcp.json (global):
Add to your User Settings (JSON):
Basic Memory exposes OpenAI-compatible search and fetch tools for Custom
GPT actions. See the ChatGPT integration
guide.
No setup. Point Obsidian at ~/basic-memory (or your project folder) and the
same wikilinks, frontmatter, and Markdown your AI writes appear in your graph
view. Edit either side — sync handles the rest.
Try a prompt:
uv tool
and Homebrew installs; bm update triggers a manual check.schema_infer, schema_validate, schema_diff.bm project set-cloud).edit_note append/prepend auto-creates notes when
missing; write_note guards against accidental overwrites.readOnlyHint, destructiveHint, idempotentHint,
openWorldHint) so agents can discover capabilities progressively at
runtime instead of guessing or burning tokens.--json output for scripting, workspace-aware commands,
and an htop-inspired project dashboard.Full CHANGELOG for v0.18 → v0.20.
Reranking adds a second relevance pass after vector or hybrid retrieval. It is disabled by default because it adds inference latency and, for the local provider, a first-run model download. Text, title, and permalink searches keep their existing ranking.
Enable the default local FastEmbed reranker:
The default model is jinaai/jina-reranker-v1-tiny-en. To use a hosted
reranker through LiteLLM instead:
The feature fails fast on invalid configuration and does not silently fall back to retrieval order when an enabled provider fails. See the semantic search guide for provider setup, all settings, tuning, pagination, and failure behavior.
Most LLM conversations are ephemeral. You ask a question, get an answer, then everything is forgotten. Workarounds have limits:
Basic Memory takes a simpler path: structured Markdown files that humans and LLMs both read and write.
You're chatting normally about coffee:
I've been experimenting with brewing methods. Pour over gives more clarity than French press, water at 205°F seems best, and freshly ground beans make a huge difference.
Ask the LLM to capture it:
"Make a note on coffee brewing methods."
A Markdown file appears in your project directory in real time:
Next session, the LLM picks up the thread. It follows the relations to surface what you already know about Ethiopian beans and burr grinders, and builds on it instead of starting over. You see the same files in Obsidian or your editor. Edit them by hand — the AI sees your changes too.
Real two-way flow: humans edit Markdown, LLMs read/write through MCP, sync keeps everything consistent, and the source of truth is always your files.
Each file is an Entity. Entities have Observations (facts about them) and
Relations (links to other entities). That's the whole grammar.
Facts about the entity. Categories in [brackets], tags with #, optional
context in parens.
Wiki-style links that form the graph. Single-token relation types, or quote multi-word ones.
Bare - [[Target]] and prose - Worth checking out [[Target]] index as
links_to. Full reference in the
docs.
Basic Memory exposes these tools to any MCP client. Every tool is annotated with MCP behavior hints (read-only, destructive, idempotent, open-world) so agents can pick the right one without trial-and-error:
write_note, read_note, edit_note, move_note,
delete_note, read_content, view_notesearch_notes, recent_activity, list_directorybuild_context (navigates memory:// URLs)list_memory_projects, list_workspaces,
create_memory_project, delete_projectschema_infer, schema_validate, schema_diffsearch, fetch,
basic_memory_diagnosticsAll MCP tools default to text output; pass output_format="json" for
structured responses. Full tool reference in the
docs.
Routing flags (--local / --cloud) force a target when you're in mixed
mode. Full CLI reference in the
docs.
CLI installs check for updates every 24 hours by default and apply them silently (so the MCP server keeps responding).
uv tool, Homebrewuvx (ephemeral runtime managed by uv)bm update (check + apply) or bm update --check (check only)Disable in ~/.basic-memory/config.json:
Minimal, anonymous events to understand the CLI-to-cloud conversion funnel.
What we collect: cloud promo impressions, cloud login attempts and outcomes, promo opt-out events.
What we don't: file contents, note titles, knowledge base data, PII, IP addresses, per-command or per-tool tracking.
Events go to our Umami Cloud instance (open-source, privacy-focused) on a background thread — never blocks the CLI.
Opt out:
This disables promos and all telemetry.
Basic Memory uses Loguru. Defaults vary by entry point:
| Entry point | Default | Why |
|---|---|---|
| CLI commands | File only | Doesn't interfere with command output |
| MCP server | File only | Stdout would corrupt JSON-RPC |
| API server | File (local) or stdout (cloud) | Docker/cloud uses stdout |
Log file: ~/.basic-memory/basic-memory.log (10MB rotation, 10 days
retention).
| Variable | Default | Description |
|---|---|---|
BASIC_MEMORY_LOG_LEVEL | INFO | DEBUG / INFO / WARNING / ERROR |
BASIC_MEMORY_CLOUD_MODE | false | API logs to stdout with structured context |
BASIC_MEMORY_FORCE_LOCAL | false | Force local API routing |
BASIC_MEMORY_FORCE_CLOUD | false | Force cloud API routing |
BASIC_MEMORY_EXPLICIT_ROUTING | false | Mark route selection as explicit |
BASIC_MEMORY_ENV | dev | Set to test for test mode (stderr only) |
BASIC_MEMORY_NO_PROMOS | false | Disable cloud promos and telemetry |
BASIC_MEMORY_IMPORT_UPLOAD_MAX_BYTES | 104857600 | Max uploaded import size |
Basic Memory supports SQLite (default, fast, no Docker) and Postgres (via testcontainers — Docker required).
Tests use pytest markers: windows, benchmark, smoke. See
justfile for the full list.
Contributions welcome — see CONTRIBUTING.md.
Built with ♥️ by Basic Machines