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.

接入你的智能体
發布者自己的指令。不是 PlugMCP 端點。
用我們的金鑰與日誌託管一份副本。
npx -y @n3wth/[email protected]Claude Code 沒有本機指令的安裝連結。複製下方指令並在終端機中執行。
MEM0_API_KEY=<secret> REDIS_URL=<value> claude mcp add io.github.n3wth-r3 -- npx -y @n3wth/r3@1.3.2在終端機中執行。
{ "mcpServers": { "io.github.n3wth-r3": { "command": "npx", "args": [ "-y", "@n3wth/[email protected]" ], "env": { "MEM0_API_KEY": "<secret>", "REDIS_URL": "<value>" } } }}claude_desktop_config.json
遠端 URL 還是本機指令? 兩種安裝方式的差異
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.
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
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.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.Edit claude_desktop_config.json (macOS: ~/Library/Application Support/Claude/claude_desktop_config.json):
{
"mcpServers": {
"r3": {
"command": "npx",
"args": ["@n3wth/r3"]
}
}
}
claude mcp add r3 "npx @n3wth/r3"
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.
Enhanced mode (default, INTELLIGENCE_MODE=enhanced) adds:
Environment variables, all optional:
Example with cloud sync enabled:
{
"mcpServers": {
"r3": {
"command": "npx",
"args": ["@n3wth/r3"],
"env": {
"MEM0_API_KEY": "mem0_..."
}
}
}
}
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.
See LAUNCH_AUDIT.md for current limitations, including a native module build failure on some macOS setups.
Full documentation at r3.n3wth.com.
MIT
Local Redis memory MCP for AI apps with hybrid caching and optional Mem0 cloud backup.
{ "mcpServers": { "io.github.n3wth-r3": { "command": "npx", "args": [ "-y", "@n3wth/[email protected]" ], "env": { "MEM0_API_KEY": "<secret>", "REDIS_URL": "<value>" } } }}工具
尚無工具清單。遠端伺服器會在首次健康檢查後取得工具清單。
常見問題
在本頁複製適用於 Cursor、Claude Desktop、Claude Code 或 VS Code 的 stdio 設定。它使用發布者的安裝方式,而不是 PlugMCP 代理伺服器。
發布者列出了以下環境變數:MEM0_API_KEY, REDIS_URL。
R3 透過 stdio 在本機執行。
上次檢查時間:2026-11-10。 Local Redis memory MCP for AI apps with hybrid caching and optional Mem0 cloud backup.