{"name":"io.github.n3wth/r3","slug":"n3wth-r3","title":"r3","description":"Local Redis memory MCP for AI apps with hybrid caching and optional Mem0 cloud backup.","url":"https://mcp.market/server/n3wth-r3","rating":null,"grade":"B","score":83,"certified":false,"status":"active","category":"data","tags":["data"],"presence":{"score":31,"stars":2,"forks":0,"downloads_week":45,"last_push_at":"2026-09-18T10:48:39.000Z","license":"MIT"},"uptime":null,"claimed":false,"transport":"npm","callable_via_gateway":false,"default_price_micros":0,"repository":"https://github.com/n3wth/r3","website":"https://r3.n3wth.com","version":"1.3.2","remotes":[],"packages":[{"registryType":"npm","identifier":"@n3wth/r3","version":"1.3.2","runtimeHint":"npx","transport":{"type":"stdio"},"environmentVariables":[{"description":"Optional Mem0 API key for cloud backup (get free at mem0.ai).","format":"string","isSecret":true,"name":"MEM0_API_KEY"},{"description":"Redis connection URL. Uses embedded Redis if unset.","format":"string","name":"REDIS_URL"}]}],"tools":[{"name":"add_memory","description":"Store a new memory with automatic deduplication and indexing. Use for persisting facts, preferences, or conversation context. Checks for duplicates by default (85% similarity threshold). Returns immediately; background processing handles indexing. Prefer over update_memory for new content. Returns: confirmation text. Side effects: creates memory record, updates search index, may skip if duplicate ","write_action":false,"price_micros":0,"input_schema":null},{"name":"cache_stats","description":"View cache performance metrics and health status. Use for monitoring and debugging. Shows memory count, access patterns, and hit rates. Read-only. Returns: summary text with cached memory count. No side effects.","write_action":false,"price_micros":0,"input_schema":null},{"name":"deduplicate_memories","description":"Detect and optionally remove duplicate memories using content similarity. Run with dry_run=true first to preview. Compares all memories pairwise using Jaccard similarity. Groups duplicates with a primary (oldest) and candidates for removal. Returns: summary with duplicate groups. Side effects (when dry_run=false): deletes duplicate memories, invalidates cache.","write_action":false,"price_micros":0,"input_schema":null},{"name":"delete_memory","description":"Permanently remove a memory by ID. Irreversible operation. Removes from storage, cache, and search index. Use deduplicate_memories with dry_run first to preview bulk deletions. Returns: confirmation text. Side effects: deletes memory record, removes from all indexes, invalidates cache.","write_action":true,"price_micros":0,"input_schema":null},{"name":"extract_entities","description":"Extract named entities and relationships from text using NLP. Identifies people, organizations, technologies, and projects. Also extracts relationships (WORKS_FOR, USES, etc.) and keywords. Requires enhanced intelligence mode. Read-only, stateless. Returns: {people[], organizations[], technologies[], projects[], relationships[], keywords[]}.","write_action":false,"price_micros":0,"input_schema":null},{"name":"find_connections","description":"Discover relationship paths between entities in the knowledge graph. Uses BFS traversal to find how entities connect. Useful for answering 'how is X related to Y?' questions. Requires enhanced mode. Read-only. Returns: {from, to, max_depth, paths_found, paths[]} where each path is array of {from, to, type} edges.","write_action":false,"price_micros":0,"input_schema":null},{"name":"get_all_memories","description":"List all memories for a user with pagination. Use for browsing or bulk operations. For content search, use search_memory instead. Cache-first by default. Large result sets are automatically truncated. Read-only. Returns: {total, limit, offset, returned, hasMore, source, memories[]}.","write_action":false,"price_micros":0,"input_schema":null},{"name":"get_knowledge_graph","description":"Build a knowledge graph from stored memories. Returns entities as nodes and relationships as edges. Use for visualizing connections between concepts. Requires enhanced intelligence mode with prior entity extraction. Read-only. Returns: {nodes[], edges[]} where nodes have {id, type, name, memories[]} and edges have {from, to, type, confidence}.","write_action":false,"price_micros":0,"input_schema":null},{"name":"get_memory","description":"Retrieve a single memory by its unique ID. Use when you have a specific memory_id from prior search/list results. Returns null if not found. Prefer search_memory for content-based lookup. Read-only operation. Returns: Memory object {id, content, user_id, metadata} or null.","write_action":false,"price_micros":0,"input_schema":null},{"name":"import_memories","description":"Bulk import memories from external sources. Supports Mem0 API export or local JSON files. Processes in batches with duplicate detection. Use for migration or backup restoration. Returns: summary with imported/skipped/failed counts. Side effects: creates multiple memory records, updates search index.","write_action":false,"price_micros":0,"input_schema":null},{"name":"optimize_cache","description":"Reorganize cache for optimal hit rates. Promotes frequently accessed memories to L1 (24h TTL), demotes cold data to L2 (7d TTL). Use periodically for large memory stores. May temporarily increase latency during optimization. Returns: summary of cached memories. Side effects: modifies cache TTLs, may evict old entries.","write_action":false,"price_micros":0,"input_schema":null},{"name":"search_memory","description":"Find memories matching a natural language query using hybrid semantic + keyword search. Primary retrieval tool for content-based lookup. Uses vector similarity (enhanced mode) or keyword matching (basic mode). Cache-first by default for speed. Returns ranked results with relevance scores. Read-only. Returns: array of Memory objects or 'No memories found' text.","write_action":false,"price_micros":0,"input_schema":null},{"name":"sync_status","description":"Check background job queue and sync status. Shows pending async operations from add_memory calls. Use to verify all writes completed. Read-only. Returns: count of pending operations or 'All operations complete'. No side effects.","write_action":false,"price_micros":0,"input_schema":null},{"name":"update_memory","description":"Modify an existing memory's content or metadata. Use for corrections or adding context to existing memories. Fails if memory_id not found. Prefer add_memory for new content. Invalidates search cache. Returns: updated Memory object. Side effects: modifies memory record, invalidates cached search results.","write_action":true,"price_micros":0,"input_schema":null}],"scan":{"score":83,"grade":"B","scanned_at":"2026-09-19T21:38:48.565Z","report":{"scannerVersion":"0.1.9","scannedAt":"2026-09-19T21:38:48.580Z","components":{"code":{"score":25,"max":25,"notes":["60 source files scanned"]},"reliability":{"score":-1,"max":20,"notes":["no gateway calls yet and no remote to probe"]},"poisoning":{"score":-1,"max":15,"notes":["tools not inspected (local package is not executed); not counted"]},"auth":{"score":6,"max":15,"notes":["static API keys via environment variables"]},"maintenance":{"score":15,"max":15,"notes":["last push 1 days ago"]},"identity":{"score":8,"max":10,"notes":["registry namespace matches repository owner","GitHub account older than a year"]}},"findings":[],"inputs":{"packages":[{"registryType":"npm","identifier":"@n3wth/r3","version":"1.3.2","found":true,"license":"MIT","hasInstallScripts":false,"dependencyCount":33,"publishedAt":"2026-09-01T07:29:37.709Z","repositoryUrl":"git+https://github.com/n3wth/r3.git","weeklyDownloads":45}],"repo":{"found":true,"owner":"n3wth","repo":"r3","archived":false,"pushedAt":"2026-09-18T10:48:39Z","stars":2,"forks":0,"openIssues":2,"ownerType":"User","ownerAvatarUrl":"https://avatars.githubusercontent.com/u/5912894?v=4","ownerCreatedAt":"2013-11-11T20:44:30Z","license":"MIT"},"icon":{"url":"https://r3.n3wth.com/apple-touch-icon.png","source":"site","width":180,"height":180},"presence":{"stars":2,"forks":0,"downloadsWeek":45,"license":"MIT","lastPushAt":"2026-09-18T10:48:39.000Z","score":31}}}},"grade_history":[],"reviews":[]}