r3 MCP Server
Local Redis memory MCP for AI apps with hybrid caching and optional Mem0 cloud backup.
r3 scores 39 (Limited), licensed MIT and written in TypeScript. It installs as a local process. It declares 14 tools. Filed under Databases, AI and memory. GitHub shows 4 stars. Package registries report about 57 downloads a week. Install configs are generated for 10 clients. Being listed in the registry is not the same as being vendor-official.
Limited trust
39 of 100 from six public signals. Nobody can buy a point.
- OSI-style license: mit.
License, quality and maintenance
Quality: Grade A
89/100 for listing completeness. Lost points: 4 of 14 tools barely described, short summary.
How quality is graded
Where the 39 comes from
0 + 20 + 2 + 10 + 4 + 3 = 39. Each factor is capped, so no single signal can carry a listing.
Active in the official MCP registry, plus a known vendor namespace.
Registry: 0 of 30 points.How recently the repository saw a commit or release.
Maintenance: 20 of 20 points.GitHub stars and weekly downloads, on a log scale.
Popularity: 2 of 20 points.A clear, OSI-style open-source license.
License: 10 of 10 points.Not archived, a secure install path, a pinned version.
Security: 4 of 10 points.A real summary, a README with depth, listed tools.
Docs: 3 of 10 points.Install
Pick your client, copy the config, paste it in.
Needs Cursor or VS Code installed on this device. The button opens the app and asks you to confirm before it adds the server.
{ "mcpServers": { "n3wth-r3": { "command": "npx", "args": [ "-y", "@n3wth/r3@1.3.2" ], "env": { "MEM0_API_KEY": "YOUR_MEM0_API_KEY", "REDIS_URL": "" } } }}
Environment variables
| Name | Required | Notes |
|---|---|---|
MEM0_API_KEYSecret | Optional | Optional Mem0 API key for cloud backup (get free at mem0.ai). |
REDIS_URL | Optional | Redis connection URL. Uses embedded Redis if unset. |
Tools14Tool docs quality grade C
All capabilitiesadd_memorytoolStore content with optional metadata and priority
cache_statstoolReport cache hit rate and storage stats
Find and merge duplicate memories
delete_memorytoolRemove a memory
extract_entitiestoolExtract named entities from text
find_connectionstoolFind entities connected to a given entity
get_all_memoriestoolList stored memories with pagination
Return the entity/relationship graph
get_memorytoolRetrieve a specific memory by ID
import_memoriestoolBulk import memories
optimize_cachetoolRun cache maintenance
search_memorytoolQuery memories using semantic or keyword search
About
r3
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.

Quick start
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-serverdownloads 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_KEYis 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):
{
"mcpServers": {
"r3": {
"command": "npx",
"args": ["@n3wth/r3"]
}
}
}
Claude Code
claude mcp add r3 "npx @n3wth/r3"
Cursor
Add to .cursor/mcp.json in your project (or the global Cursor MCP config):
{
"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:
{
"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 for current limitations, including a native module build failure on some macOS setups.
Documentation
Full documentation at r3.n3wth.com.
License
MIT
Frequently asked questions
What is r3 MCP Server?
Local Redis memory MCP for AI apps with hybrid caching and optional Mem0 cloud backup.
How do I install r3 MCP Server in Claude Desktop, Cursor, or VS Code?
Pick your client in the Install section on this page and copy the generated config into the client's config file. Step-by-step guides: Claude Desktop, Cursor, and VS Code. r3 MCP Server runs locally from the npm package @n3wth/r3 with the command npx -y @n3wth/r3@1.3.2.
Is r3 MCP Server free and open source?
Yes. r3 MCP Server is released under the MIT license, an OSI-approved open-source license, so you can use, modify, and self-host it under those terms.
Does r3 MCP Server support remote (HTTP) connections?
No remote endpoint is listed for r3 MCP Server. It runs locally on your machine over stdio, started by your MCP client.
What tools does r3 MCP Server provide?
r3 MCP Server provides 14 tools, including add_memory, cache_stats, deduplicate_memories, and delete_memory. See the full tool list for descriptions and parameters.
How is r3 MCP Server's trust score calculated?
r3 MCP Server scores 39 out of 100 (Limited). The score adds six capped public signals: registry status, maintenance, popularity, license, documentation, and security. Nobody can pay for points. Read the methodology for the full formula.
Reviews
No reviews yet—Be the first to review
No published reviews yet. Used it? Tell the next person how it went.
Sign inA verified email is required to review this server.
Add badge to your README
Paste either snippet into the repository README. The image links to this listing.