Basic Memory
Lets your AI agent remember across chats by reading and writing a knowledge base of Markdown notes on your computer.
4.5k stars on GitHubby Basic MachinesLicense AGPL-3.0Updated 18 days ago
How to install
This MCP is local: it runs on your computer.
It works in apps installed on your PC (Claude Desktop, Claude Code, Cursor, VS Codeβ¦). Choose your app:
Paste in the terminal:
claude mcp add basic-memory -- uvx --prerelease allow basic-memory mcp basic-memory
Ready! Now test it
Restart the app and paste one of these requests in the chat:
Remember that we chose Postgres for this project and why.
Search my notes for what I wrote about the pricing decision.
What it is
Basic Memory keeps your knowledge as plain Markdown files that both you and your AI can read, write and search. Notes link together as a knowledge graph, and search can find notes by meaning. You can run it locally for free or use the paid cloud version that syncs across devices.
What it can do
- Write and edit Markdown notes from a chat
- Search notes by keyword or by meaning (semantic search)
- Build a knowledge graph from observations and wikilinks
- Read the same notes in tools like Obsidian
- Claude Code plugin: session briefings and pre-compaction checkpoints
- Shared skills for Claude and ChatGPT
When to use
- βΊWhen you are tired of re-explaining your project to your AI every session.
- βΊWhen you want a running log of learnings that you can also read in Obsidian.
- βΊWhen your team wants one shared workspace of notes for people and agents.
What you need
Skills that pair well
MCP or skill?
The MCP gives the agent the hands. The skill teaches the right way to use them. Together, the result is better and uses fewer tokens.
memoryGives your agent a way to search, save and tidy its long-term notes about people and projects, beyond the automatic memory each chat keeps.llm-wikiHelps your agent build a personal or team knowledge base in Obsidian, adding sources and keeping the links, index and notes up to date.rememberHelps your agent review its saved memory notes and suggest which ones belong in project or personal instruction files.Frequently asked questions
Is it free?
The local install is free under AGPL-3.0. The cloud is $15.00/mo locked for life during beta, with a 7-day free trial.
Where are my notes stored?
As Markdown files on your disk, in ~/basic-memory by default for the local install.
Which clients work?
Claude Desktop, Claude Code, Codex, Cursor, VS Code, ChatGPT and anything that speaks MCP.
Why is --prerelease=allow needed?
The readme says version 0.23 depends on a FastMCP 4 pre-release, and without the flag uv installs an older release.
Can I leave the cloud?
Yes. The notes are plain Markdown and you can export them any time.
Is there a team version?
Yes. Basic Memory Teams gives a shared cloud workspace with real-time editing.
If it does not work
- βΊAdd --prerelease=allow to every uv tool install, uvx and upgrade command, or an older release is installed silently.
- βΊFor Claude Desktop, add the server entry to claude_desktop_config.json and restart the app fully.
- βΊFor the Claude Code plugin, connect the Basic Memory MCP server first, then run bm install claude-code.
5 new skills a week. 1 minute to read.