Skip to main content
ClaudeWave

Intelligent memory MCP for AI apps

MCP ServersRegistry oficial2 estrellas0 forksTypeScriptMITActualizado today
ClaudeWave Trust Score
95/100
Verified
Passed
  • Open-source license (MIT)
  • Actively maintained (<30d)
  • Clear description
  • Topics declared
  • Documented (README)
Last scanned: 9/9/2026
Install in Claude Code / Claude Desktop
Method: NPX · @n3wth/r3
Claude Code CLI
claude mcp add r3 -- npx -y @n3wth/r3
claude_desktop_config.json (Claude Desktop)
{
  "mcpServers": {
    "r3": {
      "command": "npx",
      "args": ["-y", "@n3wth/r3"]
    }
  }
}
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

# r3

<!-- mcp-name: io.github.n3wth/r3 -->

[![npm version](https://img.shields.io/npm/v/@n3wth/r3.svg)](https://www.npmjs.com/package/@n3wth/r3)
[![npm downloads](https://img.shields.io/npm/dm/@n3wth/r3.svg)](https://www.npmjs.com/package/@n3wth/r3)
[![License: MIT](https://img.shields.io/badge/License-MIT-yellow.svg)](https://opensource.org/licenses/MIT)

Persistent memory for MCP clients (Claude Desktop, Claude Code, Cursor) that runs entirely on your machine, with no accounts, no API keys, and no cloud service required to start.

![Memory persisting across two separate server processes](demo/demo.gif)

## Quick start

```bash
npx @n3wth/r3
```

That single command starts an MCP server backed by an embedded Redis instance and a local vector index. There is no separate database to install and no signup step.

## How it works

```
MCP client (Claude Desktop / Claude Code / Cursor)
        |
        v
   r3 MCP server (stdio)
        |
   +----+-----------------------+
   |                            |
embedded Redis            vectra local index
(redis-memory-server,      (on-disk vector store
 auto-downloaded binary,    for semantic search,
 no external service)       no external service)
   |
   +--- optional ---> Mem0 cloud API (MEM0_API_KEY)
                       cross-device sync, off by default
```

- **Embedded Redis** — `redis-memory-server` downloads and manages a local Redis binary for you. It stores memory content and metadata. If it cannot start, r3 falls back to an in-process store.
- **vectra** — a local, file-backed vector index used for semantic search. No network calls, no external vector database.
- **Mem0 (optional)** — if `MEM0_API_KEY` is set, r3 also syncs to Mem0's cloud API so memories can follow you across machines. Without a key, nothing leaves your machine.

## MCP client configuration

### Claude Desktop

Edit `claude_desktop_config.json` (macOS: `~/Library/Application Support/Claude/claude_desktop_config.json`):

```json
{
  "mcpServers": {
    "r3": {
      "command": "npx",
      "args": ["@n3wth/r3"]
    }
  }
}
```

### Claude Code

```bash
claude mcp add r3 "npx @n3wth/r3"
```

### Cursor

Add to `.cursor/mcp.json` in your project (or the global Cursor MCP config):

```json
{
  "mcpServers": {
    "r3": {
      "command": "npx",
      "args": ["@n3wth/r3"]
    }
  }
}
```

Restart the client after editing config. In a new conversation:

```
You: Remember that I prefer TypeScript and dark mode.
AI: I'll remember that.

[new conversation]

You: What are my preferences?
AI: You prefer TypeScript and dark mode.
```

## Tools

| Tool                   | Description                                       |
| ---------------------- | ------------------------------------------------- |
| `add_memory`           | Store content with optional metadata and priority |
| `search_memory`        | Query memories using semantic or keyword search   |
| `get_all_memories`     | List stored memories with pagination              |
| `get_memory`           | Retrieve a specific memory by ID                  |
| `update_memory`        | Modify existing memory content or metadata        |
| `delete_memory`        | Remove a memory                                   |
| `deduplicate_memories` | Find and merge duplicate memories                 |
| `cache_stats`          | Report cache hit rate and storage stats           |
| `sync_status`          | Report Mem0 cloud sync status                     |
| `optimize_cache`       | Run cache maintenance                             |
| `import_memories`      | Bulk import memories                              |

Enhanced mode (default, `INTELLIGENCE_MODE=enhanced`) adds:

| Tool                  | Description                               |
| --------------------- | ----------------------------------------- |
| `extract_entities`    | Extract named entities from text          |
| `get_knowledge_graph` | Return the entity/relationship graph      |
| `find_connections`    | Find entities connected to a given entity |

## Configuration

Environment variables, all optional:

| Variable            | Description                                       | Default            |
| ------------------- | ------------------------------------------------- | ------------------ |
| `REDIS_URL`         | Use an external Redis instead of the embedded one | embedded server    |
| `MEM0_API_KEY`      | Enables Mem0 cloud sync                           | unset (local only) |
| `MEM0_USER_ID`      | Namespace for memories                            | `default`          |
| `INTELLIGENCE_MODE` | `enhanced` or `basic`                             | `enhanced`         |

Example with cloud sync enabled:

```json
{
  "mcpServers": {
    "r3": {
      "command": "npx",
      "args": ["@n3wth/r3"],
      "env": {
        "MEM0_API_KEY": "mem0_..."
      }
    }
  }
}
```

## Comparison

|                                   | r3                            | mem0 (OSS)                                  | zep                                        |
| --------------------------------- | ----------------------------- | ------------------------------------------- | ------------------------------------------ |
| Runs fully local with zero config | yes (embedded Redis + vectra) | requires a Postgres/vector DB you configure | requires a Postgres instance you configure |
| Needs an API key to try it        | no                            | no (self-hosted) / yes (cloud)              | yes (cloud), or self-hosted setup          |
| Optional cloud sync               | yes, via Mem0                 | n/a (is the cloud option)                   | yes                                        |

This table only reflects setup requirements observed in each project's own documentation, not benchmark performance or feature completeness. Verify against current upstream docs before relying on it.

## Known issues

See [LAUNCH_AUDIT.md](./LAUNCH_AUDIT.md) for current limitations, including a native module build failure on some macOS setups.

## Documentation

Full documentation at [r3.n3wth.com](https://r3.n3wth.com).

## License

MIT
aicacheclaudeclaude-codegeminigemini-clillmmcpmcp-servermem0memorynodejsredistypescript

Lo que la gente pregunta sobre r3

¿Qué es n3wth/r3?

+

n3wth/r3 es mcp servers para el ecosistema de Claude AI. Intelligent memory MCP for AI apps Tiene 2 estrellas en GitHub y su última actualización registrada es del 2026-09-09.

¿Cómo se instala r3?

+

Puedes instalar r3 clonando el repositorio (https://github.com/n3wth/r3) 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 n3wth/r3?

+

Nuestro agente de seguridad ha analizado n3wth/r3 y le ha asignado un Trust Score de 95/100 (tier: Verified). Revisa el desglose completo de comprobaciones superadas y flags en esta página.

¿Quién mantiene n3wth/r3?

+

n3wth/r3 es mantenido por n3wth. La última actividad registrada en GitHub es del 2026-09-09, con 15 issues abiertos.

¿Hay alternativas a r3?

+

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

Despliega r3 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: n3wth/r3
[![Featured on ClaudeWave](https://claudewave.com/api/badge/n3wth-r3)](https://claudewave.com/repo/n3wth-r3)
<a href="https://claudewave.com/repo/n3wth-r3"><img src="https://claudewave.com/api/badge/n3wth-r3" alt="Featured on ClaudeWave: n3wth/r3" width="320" height="64" /></a>

Más MCP Servers

Alternativas a r3