cuba-memorys
Active·★ 30·NOASSERTION·Updated 2026-10-21
Cuba-Memorys is a Model Context Protocol (MCP) server that gives AI coding assistants long-term persistent memory. It uses a knowledge graph, neuroscience-inspired algorithms like FSRS-6 adaptive decay, Hebbian learning, and dual-strength memory, along with anti-hallucination grounding. The latest version 2.0.0 is a complete Rust rewrite with 12 tools and sub-millisecond performance.
#ai-memory#ai-tools#anti-hallucination#asyncio#graph-database#graphrag#hebbian-learning#knowledge-graph
01
Features
01Knowledge graph with typed relations and Leiden community detection
02FSRS-6 adaptive spaced repetition and Hebbian/BCM metaplasticity
034-signal entropy-routed RRF fusion search (TF-IDF, pg_trgm, full-text, pgvector HNSW)
04Anti-hallucination verification with graduated confidence scoring
05REM Sleep autonomous consolidation and dual-strength memory model
02
Compatibility
Rust
Native
Verified via docs
PostgreSQL
Native
Verified via docs
MCP
MCP Compatible
Verified via docs
03
Quick start
1
$ git clone https://github.com/LeandroPG19/cuba-memorys.git
2
$ cd cuba-memorys
3
$ docker compose up -d
4
$ cd rust
5
$ cargo build --release
04
Use cases
↳Persistent learning from project context: store and retrieve entities, observations, and relations
↳Error memory: record and detect repeated mistakes, preventing re-occurrence
↳Anti-hallucination grounding: verify agent claims against stored knowledge before responding
05
Alternatives
synaptic-memory★ 33
Brain-inspired knowledge graph: spreading activation, Hebbian learning, memory consolidation.
mcp-memory-libsql★ 87
🧠 High-performance persistent memory system for Model Context Protocol (MCP) powered by libSQL. Features vector search, semantic knowledge storage, and efficient relationship management - perfect for AI agents and knowledge graph applications.
nexo★ 27
NEXO Brain — Shared brain for AI agents. Persistent memory, semantic RAG, natural forgetting, metacognitive guard, trust scoring, 150+ MCP tools. Works with Claude Code, Codex, Claude Desktop & any MCP client. 100% local, open source, free.
flywheel-memory★ 0
MCP server giving AI a knowledge graph over Obsidian vaults. 13-layer scoring that learns. Local-first, zero cloud.
Comments
Log in to leave a comment
No comments yet. Be the first!