R3 logo

R3

Local MCP memory server using embedded Redis, a vector index, and optional Mem0 cloud synchronization.

Install R3

Pick your client, then add it in one click or paste the config.

STDIONode.js
~/Library/Application Support/Claude/claude_desktop_config.json
claude_desktop_config.json
{
  "mcpServers": {
    "r3-2": {
      "command": "npx",
      "args": [
        "-y",
        "@n3wth/r3"
      ]
    }
  }
}

Settings → Developer → Edit Config, merge this into mcpServers, then fully quit and reopen Claude Desktop.

We couldn’t confirm it starts correctly

We ran the install command but it didn't respond within our test window — this can mean a slow first-time install rather than a real problem.

npx -y @n3wth/r3

No response to initialize.

This is an experimental automated check and can have false negatives — missing environment variables, a slow cold install, etc. It doesn’t necessarily mean something’s wrong. Last checked .

Overview

The r3 MCP server gives MCP clients persistent memory through local Redis storage and a file-backed vector index. It runs over stdio with no database, account, or API key required by default, and can use external Redis or optional Mem0 synchronization. Reach for it when an agent needs memories to persist across conversations and processes, with semantic or keyword search. Enhanced mode also provides entity extraction, knowledge graphs, and connection discovery.

Use cases

  • Store user preferences across conversations
  • Search prior agent memories semantically or by keyword
  • Import and deduplicate an existing memory collection
  • Inspect entity relationships in enhanced mode

Key features

  • Embedded Redis memory storage
  • Local vectra semantic index
  • Semantic and keyword memory search
  • Optional Mem0 cloud synchronization
  • Memory import and deduplication
  • Entity and relationship tools in enhanced mode

Tools14

What R3 lets your agent do. Expand a tool for its parameters.

Self-reported~167 tokens of context

Security & health

What it can reach and how reliably it runs — from our own checks, not the maintainer’s claims.

ActiveLast checked

Recent health check succeeded.

11/11 checks healthy over the last 43d

Supply-chain signal

No high-severity advisories surfaced by our automated scan.

Critical 0High 0Medium 0Low 0

Scanned 15d ago via OSV.dev · @n3wth/r3 (npm)

Adoption & maintenance

Factual signals from GitHub, npm, and our automated checks — not a rating.

GitHub stars4Stargazers on the source repository.
npm downloads243Package downloads in the last 30 days.
Last commit12d agoMost recent push to the default branch.
Install checkInconclusiveDidn't respond in our test window — often a slow first install.
Tools exposed14Callable tools this server registers over MCP.
Directory activity1 viewsConfig copies, upvotes, and views on AllMCPs.

How R3 works

What r3 MCP server does

The r3 MCP server provides persistent memory for MCP clients such as Claude Desktop, Claude Code, and Cursor. It stores memory content and metadata locally, allowing information saved in one conversation or server process to remain available later. The default setup does not require an account, API key, separate database, or cloud service.

Memory operations include adding, searching, listing, retrieving, updating, deleting, importing, and deduplicating records. The server also exposes cache statistics, cache maintenance, and Mem0 synchronization status. Search supports semantic and keyword queries through its local vector index.

When enhanced intelligence is enabled, r3 can extract named entities, return an entity and relationship graph, and find connections related to a specified entity. Basic mode is available when these enhanced capabilities are not wanted.

How it works

The r3 MCP server communicates with clients through stdio. Running npx @n3wth/r3 starts the server and prepares its local storage components. An embedded Redis process stores memory data and metadata; the Redis binary is managed automatically by redis-memory-server. If embedded Redis cannot start, r3 falls back to an in-process store.

A vectra index provides file-backed local vector search. This component does not require an external vector database or make network calls. The default architecture therefore keeps memory data on the machine running the server.

Mem0 is an optional cloud path. Setting MEM0_API_KEY enables synchronization with Mem0, which can make memories available across machines. Without that variable, r3 remains local. The MEM0_USER_ID value selects the memory namespace and defaults to default.

Setup and configuration

Start the server directly with:

Terminal
npx @n3wth/r3

For Claude Desktop or Cursor, add an MCP entry whose command is npx and whose argument is @n3wth/r3. Claude Code can register the same command with claude mcp add r3 "npx @n3wth/r3". Restart the client after changing its configuration.

All configuration variables are optional. REDIS_URL selects an external Redis instance instead of the embedded server. MEM0_API_KEY enables Mem0 synchronization, MEM0_USER_ID sets its namespace, and INTELLIGENCE_MODE accepts enhanced or basic, with enhanced mode as the default.

Tools and capabilities

The r3 MCP server includes these core tools:

  • add_memory stores content with optional metadata and priority.
  • search_memory performs semantic or keyword searches.
  • get_all_memories lists records with pagination.
  • get_memory, update_memory, and delete_memory manage individual records.
  • deduplicate_memories finds and merges duplicates.
  • import_memories supports bulk imports.
  • cache_stats reports cache and storage information, while optimize_cache runs maintenance.
  • sync_status reports Mem0 synchronization status.

Enhanced mode adds extract_entities, get_knowledge_graph, and find_connections.

Limitations and notes

Local operation depends on the embedded Redis process or its in-process fallback. Some macOS setups may encounter a native module build failure, according to the project’s known-issues documentation. Mem0 synchronization is disabled unless an API key is supplied, and cloud synchronization introduces a network-backed component unlike the default local configuration.

It does not provide configuration instructions for other MCP clients.

Written by AllMCPs with AI assistance from the project’s README and listing data. How we build listings

Reviews

No reviews yet — be the first to share how it worked for you.

Frequently Asked Questions about R3

r3 is an MCP server that connects MCP clients to local Redis-backed memory and a vectra vector index, with optional Mem0 cloud sync. Its main tools store, search, list, retrieve, update, delete, deduplicate, import, and maintain memories, while enhanced mode adds entity extraction, knowledge graphs, and connection discovery.

Install and start it with `npx @n3wth/r3`. The command launches the stdio server and uses an embedded Redis instance plus a local vector index, so no separate database installation or signup is required for the default setup.

Yes, r3 works with Cursor. Add an `r3` entry to the project or global Cursor MCP configuration with `npx` as the command and `@n3wth/r3` as its argument, then restart Cursor.

Set `MEM0_API_KEY` in the r3 MCP configuration. r3 then synchronizes memories with Mem0 for cross-device access; `MEM0_USER_ID` can optionally define the namespace and defaults to `default`.

Yes, r3 can use external Redis by setting `REDIS_URL`. If that variable is not set, it uses the embedded Redis server, and it can fall back to an in-process store if embedded Redis cannot start.

Related MCP servers

Add a badge to your READMEShow it’s listed — live SVG, Markdown or HTML.

AllMCPs Directory Badge

Full Badge Customizer

Showcase your server listing on GitHub or your project documentation. Embed this dynamic SVG badge to highlight official listing status and live engagement.

Badge Style:
Live Dynamic SVG PreviewR3 AllMCPs Directory Badge
Markdown (GitHub README)
[![AllMCPs](https://allmcps.com/api/badge/r3-2?style=directory)](https://allmcps.com/mcp/r3-2)
HTML Embed
<a href="https://allmcps.com/mcp/r3-2"><img src="https://allmcps.com/api/badge/r3-2?style=directory" alt="R3 on AllMCPs" /></a>