Skip to content
Skillpedia
βœ“ Official Β· Basic Machines● Free and open sourceπŸ’» LocalπŸ”“ No API keyAI, memory and agents

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

For local use: Python through uv, then uv tool install basic-memory --prerelease=allow. The prerelease flag is required. The cloud version needs a paid account and no local install.

Skills that pair well

⭐ Skillpedia MCP Β· freeYour agent finds the right skill on its ownInstall our MCP and your agent searches 15,000+ skills whenever it needs one.Install for free β†’

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.