Skip to content
MCP server

Basic Memory

Local-first notes your AI reads and writes as Markdown, built into a knowledge graph

Runs locally

Basic Memory is a freemium MCP server for files and documents. It runs locally on your machine and is started by your AI client.

Pricing
Freemium
Platforms
CLI, Self-hosted, Web
Runs
Locally
Version
1.0.0
Listing updated

Similar MCP servers

Install

Add with the CLI

Run in a terminal

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

Add --scope user to use it in every project, or --scope project to share it in .mcp.json.

Or share it with your project

Add to .mcp.json

{
  "mcpServers": {
    "basic-memory": {
      "command": "uvx",
      "args": [
        "basic-memory"
      ]
    }
  }
}

Claude Code setup guide

Add to claude_desktop_config.json

{
  "mcpServers": {
    "basic-memory": {
      "command": "uvx",
      "args": [
        "basic-memory"
      ]
    }
  }
}

Settings → Developer → Edit Config, then quit and reopen Claude Desktop.

Claude Desktop setup guide

Install in CursorOpens Cursor, which asks you to confirm. Or add it by hand:

Add to ~/.cursor/mcp.json

{
  "mcpServers": {
    "basic-memory": {
      "command": "uvx",
      "args": [
        "basic-memory"
      ]
    }
  }
}

Use .cursor/mcp.json in a project to share it with the project.

Cursor setup guide

Install in VS CodeOpens VS Code, which asks you to confirm. Or add it by hand:

Add to ~/.copilot/mcp-config.json

{
  "mcpServers": {
    "basic-memory": {
      "type": "stdio",
      "command": "uvx",
      "args": [
        "basic-memory"
      ]
    }
  }
}

Or put the same entry in .mcp.json at your workspace root to share it.

VS Code setup guide

Add with the CLI

Run in a terminal

codex mcp add basic-memory -- uvx basic-memory

Or add to config.toml

Add to ~/.codex/config.toml

[mcp_servers.basic-memory]
command = "uvx"
args = ["basic-memory"]

Codex setup guide

Add to your client's MCP settings (most use this shape)

{
  "mcpServers": {
    "basic-memory": {
      "command": "uvx",
      "args": [
        "basic-memory"
      ]
    }
  }
}
  • Gemini CLI and Antigravity

    Gemini CLI

    Add to ~/.gemini/settings.json

    {
      "mcpServers": {
        "basic-memory": {
          "command": "uvx",
          "args": [
            "basic-memory"
          ]
        }
      }
    }

    Or run: gemini mcp add -s user basic-memory uvx -- basic-memory

    Antigravity

    Add to ~/.gemini/config/mcp_config.json

    {
      "mcpServers": {
        "basic-memory": {
          "command": "uvx",
          "args": [
            "basic-memory"
          ]
        }
      }
    }

    Use .agents/mcp_config.json to add it to one workspace only.

    Gemini CLI and Antigravity setup guide

  • Devin Desktop (formerly Windsurf)

    Add to ~/.config/devin/mcp_config.json

    {
      "mcpServers": {
        "basic-memory": {
          "command": "uvx",
          "args": [
            "basic-memory"
          ]
        }
      }
    }

    On Windows the file is %APPDATA%\devin\mcp_config.json. Use .devin/mcp_config.json to share it with a project.

    Devin Desktop setup guide

  • Cline

    Add to cline_mcp_settings.json

    {
      "mcpServers": {
        "basic-memory": {
          "command": "uvx",
          "args": [
            "basic-memory"
          ]
        }
      }
    }

    Open it from the MCP Servers icon → Configure → Configure MCP Servers.

    Cline setup guide

  • Zed

    Add to Zed settings.json

    {
      "context_servers": {
        "basic-memory": {
          "command": "uvx",
          "args": [
            "basic-memory"
          ]
        }
      }
    }

    Open it with zed: open settings file. Merge context_servers into the settings you already have.

    Zed setup guide

  • JetBrains AI Assistant and Junie

    AI Assistant

    Add to Settings → Tools → AI Assistant → Model Context Protocol (MCP) → Add

    {
      "mcpServers": {
        "basic-memory": {
          "command": "uvx",
          "args": [
            "basic-memory"
          ]
        }
      }
    }

    Junie

    Add to ~/.junie/mcp/mcp.json

    {
      "mcpServers": {
        "basic-memory": {
          "command": "uvx",
          "args": [
            "basic-memory"
          ]
        }
      }
    }

    Use .junie/mcp/mcp.json to share it with a project.

    JetBrains AI Assistant and Junie setup guide

  • Kiro

    Add to ~/.kiro/settings/mcp.json

    {
      "mcpServers": {
        "basic-memory": {
          "command": "uvx",
          "args": [
            "basic-memory"
          ]
        }
      }
    }

    Use .kiro/settings/mcp.json to add it to one workspace only.

    Kiro setup guide

Using several servers? Build one config file with the MCP config generator.

About Basic Memory

Basic Memory keeps what you and an assistant work out together as plain Markdown files on your own disk. Both sides write to the same files and sync keeps them aligned, so notes stay readable in tools such as Obsidian. Observations and wikilinks in the notes form a knowledge graph that adds context to later conversations.

Search works by meaning as well as keywords, with optional cross-encoder reranking, and each tool is tagged with hints such as read-only, destructive or idempotent so agents can choose without trial and error. Postgres deployments that keep vectors in Milvus can use an optional extra.

Two routes are offered. The local install is free under AGPL-3.0 via uv tool install basic-memory with the prerelease flag, and works air-gapped. The hosted cloud adds cross-device sync, mobile and web access, snapshots and backups at $15 a month locked in for life (regular price $19), with a 7-day trial and a Teams option for shared workspaces. Notes can be exported as Markdown at any time.

What it does

Markdown on disk
Notes are plain text files both you and the AI can edit.
Knowledge graph
Observations and wikilinks link notes into connected context.
Semantic search
Finds notes by meaning with optional reranking.
Tool behaviour hints
Tools are tagged read-only, destructive or idempotent.
Optional cloud
Hosted sync, mobile access and snapshots for a monthly fee.
Teams workspace
A shared cloud workspace where teammates and their AIs see the same notes.

Good for

  • Pick up a project in Claude Code where the last session ended
  • Keep a running log of learnings across AI clients
  • Search past notes by concept instead of exact words
  • Share one knowledge base across a team and its assistants
  • Edit the same notes in Obsidian and through an AI

Pricing

Freemium, from $15 a month

Free local install (AGPL-3.0); cloud $15/mo with 7-day trial

Basic Memory FAQ

Is Basic Memory free?

The local install is free under AGPL-3.0; the cloud service costs $15 a month with a 7-day free trial.

Where is my data stored?

Locally on your disk, or in the hosted cloud if you choose it; notes can be exported as Markdown.

Which clients work?

Claude Desktop, Claude Code, Codex, Cursor, VS Code, ChatGPT and any MCP client.

Does Basic Memory work offline?

The local install is described as air-gapped friendly.

How do I add Basic Memory to Claude Code?

Run this command in your terminal: claude mcp add basic-memory -- uvx basic-memory

What are the best alternatives to Basic Memory?

The closest alternatives to Basic Memory are Codebase Memory, XERJ, Ha MCP, Claude Code Ultimate Guide and Concord MCP.

Where this comes from

  • Description: written from the project's README.
  • Install steps: from the official MCP Registry entry.

How AIPoweredBot checks servers