Bettermemory MCP Server

Memory for coding agents, checked against the filesystem and git before it is believed.

Local serverstdioPython

What is the Bettermemory MCP server?

Bettermemory MCP server is a locally run integration for AI assistants that speak the Model Context Protocol. Memory for coding agents, checked against the filesystem and git before it is believed.

What you get

An MCP memory server for coding agents. Stored facts get checked against the filesystem and git before the model relies on them, so a memory that has rotted is flagged instead of quoted back at you.

  • Every hit carries a staleness verdict — calendar age, the paths it
  • Nothing is auto-injected; retrieval is a deliberate tool call. The 18
  • Write gates: transient state, secret-shaped tokens and near-duplicates
  • One markdown file per memory. Greppable, git-syncable. Markdown is
  • bettermemory eval measures whether memory helped, against your own

Setting it up

bettermemory on PyPI is all you need. Most clients run it directly, so configuration is a few lines and a restart.

Choosing this one

Among the knowledge and memory options, the useful question is rarely "what can it do" but "what does it cost you to run" — permissions, credentials, and how much of your context its toolset consumes. It is maintained by 0Mattias; worth a glance at recent repository activity before you build anything load-bearing on it.

SyncDev reviews every entry in this directory against the project's own documentation before publishing, and revisits them as servers change.

Before you rely on it

  • It runs with your machine's permissions. That is convenient and also the reason to think about what you point it at before you approve a tool call.
  • MCP clients confirm each tool call by default. Leave that on until you have watched what the bettermemory mcp server does with a few real requests.

How to install the Bettermemory MCP server

{
  "mcpServers": {
    "bettermemory": {
      "command": "uvx",
      "args": ["bettermemory"]
    }
  }
}

Add to claude_desktop_config.json, then restart Claude Desktop.

Frequently asked questions

It connects Bettermemory to MCP-compatible AI assistants such as Claude and Cursor. Instead of copying data back and forth by hand, the assistant works with Bettermemory directly.