What it is
Basic Memory (basic-memory) by Basic Machines stores an agent's memory as Markdown notes with links, searchable through MCP tools. It runs locally and offers an optional cloud service.
- Maintainer
- Communitybasicmachines-co on GitHub (organisation account, community project)
- Source
- basicmachines-co/basic-memory4,854 GitHub stars · AGPL-3.0 licence
- Transport
- stdio, SSE or Streamable HTTP (optional)
- Packages
- basic-memory pypi · latest 1.0.0 · 48,168 downloads last month
- Latest release
- v1.0.0 2026-10-29
- Public advisories
- 2GitHub and OSV, as of December 5, 2026
What it can do
Read from the public tool definitions in the source, not from a live run. A capability marked "yes" means at least one tool can do it.
- Reads: yes
- Writes: yes
- Deletes: yes
- Runs code: no
- Network: no
- Sends: no
Notes can hold sensitive context. Only read-only mode hides the write tools.
| Tool | What it can do | Notes |
|---|---|---|
bm_read | Reads | |
bm_find | Reads | |
bm_search | Reads | |
bm_context | Reads | |
bm_recent | Reads | |
bm_write | Writes | |
bm_edit | Writes | |
bm_move | Writes | |
bm_delete | Deletes | |
bm_project_create | Writes | |
bm_project_delete | Deletes |
Tool names read from the source. The README names six write tools that read-only mode hides: bm_write, bm_edit, bm_move, bm_delete, bm_project_create and bm_project_delete.
Credentials and least privilege
Local use needs no credential.
| Credential | What it is for | Least privilege |
|---|---|---|
None for local mode (cloud account optional) | The optional cloud service uses an account. | Stay local. Set BASIC_MEMORY_NO_PROMOS=true if you do not want promos and telemetry, per the README. |
Public security advisories
Advisories published on GitHub or OSV for this project, as of December 5, 2026. Fixed issues are a normal part of a maintained project. What matters is that the version you run is not in an affected range.
| Advisory | Severity | Summary | Affected | Fixed in |
|---|---|---|---|---|
| GHSA-4gfv-c2mm-mvj2 | High | DNS rebinding lets a web page find, exfiltrate, and delete private notes via the unauthenticated MCP SSE transport, bypassing the documented localhost mitigation | < 0.24.0 | 0.24.0 |
| GHSA-pqm2-2wxw-p5hx | Low | Path validation follows server symlinks, letting project names probe the server filesystem | < 0.24.0 | 0.24.0 |
What stands out
- README: read-only mode covers the tools, not the indexer, which can still stamp frontmatter into files.
- GitHub lists a high-severity DNS rebinding advisory on the SSE transport, and a low one about symlinks, both fixed in 0.24.0.
- The README mentions cloud routing and a
BASIC_MEMORY_NO_PROMOSsetting for promos and telemetry.
Safe-install checklist
Install command from the project's docs: uvx basic-memory mcp.
- Pin the version. Use an exact version, not
latest:uvx basic-memory==1.0.0 mcp. Use stdio. Set BASIC_MEMORY_READ_ONLY=true for readers. - Scope the credential. Stay local. Set
BASIC_MEMORY_NO_PROMOS=trueif you do not want promos and telemetry, per the README. - Run 0.24.0 or later over stdio, and use
BASIC_MEMORY_READ_ONLY=truefor secondary clients. - Keep the notes folder under version control and deny
bm_deleteandbm_project_delete. - Deny the tools you do not need. In Claude Code, deny rules in
.claude/settings.jsonuse the formmcp__<server name>__<tool>, where the server name is whatever you called it in your config. Example, if you named itbasic-memory:{ "permissions": { "deny": [ "mcp__basic-memory__bm_write", "mcp__basic-memory__bm_edit", "mcp__basic-memory__bm_move", "mcp__basic-memory__bm_delete", "mcp__basic-memory__bm_project_create", "mcp__basic-memory__bm_project_delete" ] } } - Snapshot the tool list. Save the
tools/listoutput right after you install, then compare it before every upgrade with the free PTS MCP tool diff checker. It runs in your browser and flags new tools and changed descriptions or schemas. - Watch for fixes. Watch the project's security advisories and upgrade on purpose, after the diff.
For the general version of this list, see the MCP server security checklist. Not sure about a server that is not listed here? Read Is an MCP server safe to install?
Quick follow-ups
What can Basic Memory do on my machine or accounts?
Based on its public tool definitions, it can: reads local files or data; creates or changes files, records or settings; deletes or destroys data. Notes can hold sensitive context. Only read-only mode hides the write tools.
Does Basic Memory need a token or API key?
Yes, depending on setup: None for local mode (cloud account optional). Local use needs no credential.
Has Basic Memory had public security advisories?
Yes. 2 public advisories (GitHub or OSV) listed for it as of December 5, 2026. Each one is linked on this page with its affected and fixed versions, so you can check the version you run. Fixed issues are normal for active projects. Running a current, pinned version is what matters.
How do I keep Basic Memory from changing under me?
Pin the version, for example uvx basic-memory==1.0.0 mcp. Then save its tool list (name, description, input schema) with the free PTS MCP tool diff checker and compare it before each upgrade.
Sources
This page is a factual summary of public information about the software. It is not a verdict on the maintainers and not an audit. Check the project's own docs for your version before you rely on it. Educational, not legal or security advice.
