Sponsored byOutsenseAI that finds your next clients
SponsorGROUOutbound, LinkedIn content and leads for B2B teamsSponsorOutsenseAI that finds your next clientsAd+Your tool hereSeen by people installing AI tools@Weekly picksThe best new tools, one email a week

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.

  • Score 92
  • 4.8k stars
  • AGPL-3.0
  • Updated

Install basic-memory

Built from the published package, never by AI.

claude mcp add basic-memory -- uvx basic-memory

Run in your terminal. Add --scope user to use it in every project.

Step-by-step: install basic-memory in Claude Code

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

A

No 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 →

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.

basic-memory Install

Add to stack

Loading.