Skip to main content
ClaudeWave

the trust layer for agent memory

MCP ServersRegistry oficial0 estrellas0 forksPythonMITActualizado today
Install in Claude Code / Claude Desktop
Method: UVX (Python) · bettermemory
Claude Code CLI
claude mcp add bettermemory -- uvx bettermemory
claude_desktop_config.json (Claude Desktop)
{
  "mcpServers": {
    "bettermemory": {
      "command": "uvx",
      "args": ["bettermemory"]
    }
  }
}
1. Run the command above in your terminal (Claude Code), or paste the JSON config into claude_desktop_config.json (Claude Desktop).
2. Replace any <placeholder> values with your API keys or paths.
3. Restart Claude. The MCP server and its tools appear automatically.
Casos de uso

Resumen de MCP Servers

<p align="center">
  <img src="https://raw.githubusercontent.com/0Mattias/bettermemory/main/docs/assets/banner.svg" alt="bettermemory: memory that is checked before it is believed" width="100%">
</p>

<p align="center">
  <a href="https://pypi.org/project/bettermemory/"><img src="https://img.shields.io/pypi/v/bettermemory.svg" alt="PyPI"></a>
  <a href="https://github.com/0Mattias/bettermemory/actions/workflows/ci.yml"><img src="https://github.com/0Mattias/bettermemory/actions/workflows/ci.yml/badge.svg" alt="CI"></a>
  <a href="https://www.python.org/downloads/"><img src="https://img.shields.io/badge/python-3.11%E2%80%933.14-blue.svg" alt="Python 3.11-3.14"></a>
  <a href="LICENSE"><img src="https://img.shields.io/badge/License-MIT-yellow.svg" alt="MIT"></a>
</p>

<!-- mcp-name: io.github.0Mattias/bettermemory -->

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.

## Install

Claude Code — two slash commands, zero config:

```
/plugin marketplace add 0Mattias/bettermemory
/plugin install bettermemory@bettermemory
```

Anything else that speaks MCP:

```sh
uv tool install bettermemory
bettermemory init --client claude-desktop   # or cursor / cline / claude-code
```

Restart the client. `bettermemory doctor` exits 0 when it's wired
correctly and prints a one-line fix for anything that isn't.

Kick the tyres without installing: `uvx bettermemory try` writes a
memory citing a file, deletes the file, and shows the next search
flagging it. Offline, throwaway store.

## What it does

- Every hit carries a staleness verdict — calendar age, the paths it
  cites, commits landed since it was last confirmed.
- Nothing is auto-injected; retrieval is a deliberate tool call. The 18
  default tools still charge schema every turn: a serialized
  `tools/list` of 33,960 bytes, 27,092 of it names and descriptions,
  measured 2026-07-31 at 3.32.0 ([bench/toolcost][toolcost]). CI caps
  the descriptions. The claude-mem head-to-head in that directory is a
  2026-07-26 run whose bettermemory arm predates these cuts, so its
  ratio is dated rather than current.
- Write gates: transient state, secret-shaped tokens and near-duplicates
  bounce; claims about *you* stage for confirmation.
- One markdown file per memory. Greppable, git-syncable. Markdown is
  canonical; the SQLite index next to it is a derived cache you can
  delete. No cloud, no account.
- `bettermemory eval` measures whether memory actually helped, against
  your own log. [Ours is published][eval-results] — a floor, from one
  user's store, caveats and misses included.

## For agents

You were likely handed this link with "set this up." On Claude Code,
the two plugin commands above are the whole install — skip to step 3.
Everywhere else, steps are idempotent and safe to re-run:

1. `uv tool install bettermemory` — or `pipx install bettermemory`,
   or `pip install bettermemory` into a venv. Python 3.11–3.14.
2. `bettermemory init --client claude-code` — likewise
   `claude-desktop`, `cursor`, `cline`. For any other MCP host, plain
   `bettermemory init` prints the canonical `mcpServers` JSON snippet
   plus known config locations. (Continue needs a hand-written YAML
   entry — see [docs/clients.md][clients-continue].)
3. `bettermemory doctor` — exit 0 means correctly wired; every failed
   check prints a one-line fix.
4. Have the user restart the client so the server loads, then confirm
   by asking the model *"what memory tools do you have?"*

Your operating contract — tool signatures, retrieval discipline,
write gates — is [docs/api.md][api]; the server's
`instructions` block delivers the core policy automatically. For the
long-form policy in your system prompt: `bettermemory init
--with-addendum`. Migrating from Claude Code's built-in auto-memory:
`bettermemory ingest` imports those files once.

## Everything else

You shouldn't need it, but it's all written down: mechanics, storage
format, the full tool surface, CLI, configuration and limitations in
[internals][internals]; per-client setup in [clients][clients] and
[installation][installation]; eval methodology in [eval][eval];
postmortems in [incidents][incidents]; release history in
[CHANGELOG][changelog]; dev setup and the compatibility contract in
[CONTRIBUTING][contributing].

MIT licensed — see [LICENSE][license].

[api]: https://github.com/0Mattias/bettermemory/blob/main/docs/api.md
[changelog]: https://github.com/0Mattias/bettermemory/blob/main/CHANGELOG.md
[clients]: https://github.com/0Mattias/bettermemory/blob/main/docs/clients.md
[clients-continue]: https://github.com/0Mattias/bettermemory/blob/main/docs/clients.md#continue-legacy-shape--see-caveat
[contributing]: https://github.com/0Mattias/bettermemory/blob/main/CONTRIBUTING.md
[eval]: https://github.com/0Mattias/bettermemory/blob/main/docs/eval.md
[eval-results]: https://github.com/0Mattias/bettermemory/blob/main/docs/eval-results.md
[incidents]: https://github.com/0Mattias/bettermemory/blob/main/docs/incidents/
[installation]: https://github.com/0Mattias/bettermemory/blob/main/docs/installation.md
[internals]: https://github.com/0Mattias/bettermemory/blob/main/docs/internals.md
[license]: https://github.com/0Mattias/bettermemory/blob/main/LICENSE
[toolcost]: https://github.com/0Mattias/bettermemory/blob/main/bench/toolcost/README.md
claudeclaude-codemcpmcp-servermemory

Lo que la gente pregunta sobre bettermemory

¿Qué es 0Mattias/bettermemory?

+

0Mattias/bettermemory es mcp servers para el ecosistema de Claude AI. the trust layer for agent memory Tiene 0 estrellas en GitHub y se actualizó por última vez today.

¿Cómo se instala bettermemory?

+

Puedes instalar bettermemory clonando el repositorio (https://github.com/0Mattias/bettermemory) o siguiendo las instrucciones del README en GitHub. ClaudeWave también te ofrece bloques de instalación rápida en esta misma página.

¿Es seguro usar 0Mattias/bettermemory?

+

0Mattias/bettermemory aún no ha sido auditado por nuestro agente de seguridad. Revisa el repositorio original en GitHub antes de usarlo en producción.

¿Quién mantiene 0Mattias/bettermemory?

+

0Mattias/bettermemory es mantenido por 0Mattias. La última actividad registrada en GitHub es de today, con 0 issues abiertos.

¿Hay alternativas a bettermemory?

+

Sí. En ClaudeWave puedes explorar mcp servers similares en /categories/mcp, ordenados por popularidad o actividad reciente.

Despliega bettermemory en tu cloud

Lleva este repo a producción en minutos. Cada plataforma genera su propio entorno con variables de entorno editables.

¿Mantienes este repo? Añade un badge a tu README

Pega el badge en tu README de GitHub para mostrar que está auditado por ClaudeWave. Cada badge enlaza de vuelta a esta página y muestra el Trust Score actual.

Featured on ClaudeWave: 0Mattias/bettermemory
[![Featured on ClaudeWave](https://claudewave.com/api/badge/0mattias-bettermemory)](https://claudewave.com/repo/0mattias-bettermemory)
<a href="https://claudewave.com/repo/0mattias-bettermemory"><img src="https://claudewave.com/api/badge/0mattias-bettermemory" alt="Featured on ClaudeWave: 0Mattias/bettermemory" width="320" height="64" /></a>

Más MCP Servers

Alternativas a bettermemory