basic-memory
MCP server by basicmachines-co Community
Basic Memory is a local-first knowledge tool that lets AI assistants read and write Markdown notes on your disk. It suits people who use MCP clients such as Claude, Cursor or Codex and want their assistant to remember past work. A hosted cloud version is also offered.
Install basic-memory
Built from the published package, never by AI.
claude mcp add basic-memory -- uvx basic-memoryRun in your terminal. Add --scope user to use it in every project.
{
"mcpServers": {
"basic-memory": {
"args": [
"basic-memory"
],
"command": "uvx"
}
}
}Settings, Developer, Edit config. Paste into claude_desktop_config.json and restart.
{
"mcpServers": {
"basic-memory": {
"args": [
"basic-memory"
],
"command": "uvx"
}
}
}Add to ~/.cursor/mcp.json (all projects) or .cursor/mcp.json (this project).
{
"servers": {
"basic-memory": {
"args": [
"basic-memory"
],
"command": "uvx"
}
}
}Add to .vscode/mcp.json. VS Code uses "servers", not "mcpServers".
codex mcp add basic-memory -- uvx basic-memory{
"mcpServers": {
"basic-memory": {
"args": [
"basic-memory"
],
"command": "uvx"
}
}
}Add to ~/.gemini/config/mcp_config.json (all projects) or .agents/mcp_config.json (this project).
gemini mcp add basic-memory uvx basic-memoryGemini CLI was replaced by Antigravity CLI in June 2026 and remains only for enterprise licences and paid API keys.
MCP servers run with your permissions and can read what you give them access to. Some need an API key: check the README and add it under env in the basic-memory block.
About
Basic Memory is an MCP server that stores your knowledge as Markdown files on your disk. AI assistants and humans read and write the same files, and a sync step keeps them in step. Notes can link to each other with wikilinks and observations, and semantic search finds notes by meaning as well as by keywords.
It works with Claude Desktop, Claude Code, Codex, Cursor, VS Code and ChatGPT, and the local version is installed with uv. The local version is free under AGPL-3.0 and keeps all data on your disk. An optional hosted cloud version adds cross-device sync, snapshots and backups. It is aimed at people who want their AI assistant to keep projects, learnings and context across sessions.
Written from the project's README and checked against it.
Tools it gives your assistant
searchExposed as an OpenAI-compatible tool for ChatGPT Custom GPT actions.fetchExposed as an OpenAI-compatible tool for ChatGPT Custom GPT actions.Semantic searchFinds notes by meaning, with optional cross-encoder reranking for vector and hybrid results.Two-way syncAI and humans write to the same Markdown files, and sync keeps them in step.Knowledge graphObservations and wikilinks connect notes into linked context.Tool behavior hintsTools are tagged as read-only, destructive or idempotent so agents choose the right one.
What you need
- Python, installed through uv
- An MCP-compatible AI client such as Claude Desktop, Claude Code, Cursor or Codex
- Optional paid plan for the cloud version, from $19/mo
Try asking
- Search my notes for the launch checklist for the new project.
- Save a note summarizing what we decided about the API design today.
- Link my meeting notes to the Q3 roadmap note.
Good to know
- The cloud version starts at $19/mo after a 7-day free trial.
- Cross-device sync for the local install is manual, for example with Git or Syncthing.
- Mobile access is listed only for the cloud version.
- Codex still asks for approval before tools that carry a destructive annotation, including writes, edits and deletes.
Security check
ANo download-and-run commands, hidden instructions or signs of sending keys out were found.
Checked automatically: README.md. This looks for known risky patterns and is not a full audit. How grades work
Alternatives to basic-memory
All alternatives →Connects a Zotero research library to AI assistants such as Claude and ChatGPT through the Model Context Protocol. It lets the assistant search, read, annotate and add papers, in local mode or through the web API. Built for researchers who want their references available in chat.
AgentDB is a vector memory database for AI agents. It stores embeddings, indexes and learning state in one file and exposes 41 MCP tools to clients such as Claude Code, Cursor and Cline.
Genkitx MCP is listed as a Genkit plugin for Model Context Protocol interoperability. The source is the main Genkit framework README and does not describe this plugin, so its features cannot be confirmed.
QMD is an on-device search engine for markdown notes, meeting transcripts and documentation. It combines BM25 keyword search, vector search and LLM reranking, and exposes an MCP server for AI assistants.
RuVector is a Rust native vector database that gives AI agents persistent memory and local semantic retrieval. Its npm package includes an MCP server for MCP compatible clients, and it suits developers building agent memory in Node.js, Python, or Rust.
Gives AI coding agents persistent memory, so each new session starts where the last one left off. Works with Claude Code, Codex, Cursor, OpenCode and 11 more agents.
Compare with Zotero MCP, Agentdb or Genkitx MCP
basic-memory: common questions
Where are my notes stored?
In the local install, notes live in ~/basic-memory by default as plain Markdown files on your disk. The cloud version hosts the database and sync for you.
Is Basic Memory free?
The local install is free under the AGPL-3.0 license. The hosted cloud version has paid plans starting at $19/mo with a 7-day free trial.
Which AI assistants can use it?
The source lists Claude Desktop, Claude Code, Codex, Cursor, VS Code, ChatGPT and Obsidian, and says any MCP client can connect.
How do I install basic-memory?
In Claude Code run claude mcp add basic-memory -- uvx basic-memory. For Claude Desktop, Cursor and VS Code, paste the config shown above and restart. See the install guides.
Is basic-memory the official server?
basic-memory is a community project by basicmachines-co, not verified by a company domain.
Is basic-memory free?
The code is published under the AGPL-3.0 licence. The service it connects to may have its own pricing.
Is basic-memory safe to use?
It scores 92 of 100. Grades: maintenance A, licence C, quality A. Security check: grade A, no risky patterns found in the files checked. Review the code before you install. How grades work.
What are alternatives to basic-memory?
Similar MCP servers: Zotero MCP, Agentdb, Genkitx MCP, Qmd.
Does basic-memory work with ChatGPT?
Not directly. It runs locally, and ChatGPT only connects to remote servers with a URL. Use it in Claude Code, Claude Desktop, Cursor, VS Code or Codex.
