AgentIndex icon
AgentIndex
ToolsMCP ServersHOTCategoriesTrendingNewBest ListsCompareGuides
Submit Tool
ToolsMCP ServersHOTCategoriesTrendingNewBest ListsCompareGuides
Home/
RAG / Knowledge Base/
cuba-memorys
cuba-memorys logo

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
$ Install
$ git clone https://github.com/LeandroPG19/cuba-memorys.git && cd cuba-memorys && docker compose up -d && cd rust && cargo build --release
↗ Visit site★ GitHub
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

⚡Top VS:
VSsynaptic-memory★33→VSpensyve★97→VSmcp-memory-libsql★87→VSnexo★27→
synaptic-memory logo
synaptic-memory★ 33
Brain-inspired knowledge graph: spreading activation, Hebbian learning, memory consolidation.
VSCompare→
pensyve logo
pensyve★ 97
Universal memory runtime for AI agents
VSCompare→
mcp-memory-libsql logo
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.
VSCompare→
nexo logo
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.
VSCompare→
vir logo
vir★ 20
An LLM Wiki for Claude Code, in your Obsidian vault.
VSCompare→
flywheel-memory logo
flywheel-memory★ 0
MCP server giving AI a knowledge graph over Obsidian vaults. 13-layer scoring that learns. Local-first, zero cloud.
VSCompare→
samyama-graph logo
samyama-graph★ 184
Graph-vector database that queried 1 billion edges for $2.50. Rust, OpenCypher, vector search, 14 graph algorithms. 74M nodes / 1B edges on a single machine.
VSCompare→
post-cortex logo
post-cortex★ 20
Post-Cortex provides durable memory infrastructure with automatic knowledge graph construction, intelligent entity extraction, and semantic search powered by local transformer models.
VSCompare→
See all alternatives →

Comments

Log in to leave a comment

No comments yet. Be the first!

On this page
01Features02Compatibility03Quick start04Use cases05Alternatives
LeandroPG19 /
cuba-memorys
↗

🧠 Persistent memory MCP for AI agents — Knowledge graph + Hebbian learning + Anti-hallucination. 12 tools, 1 dependency, zero manual setup.

30
Last commit2d ago
StatusActive
CategoryRAG / Knowledge Base
Links
Documentation↗Discussion↗Issues↗Releases↗
Cloud Infrastructure
Ad

Deploy on DigitalOcean

Host your MCP servers, Docker containers, and AI agents with $200 free credit over 60 days.

Claim $200 Free Credit
© 2026 AgentIndex.app|Built by a 10-year iOS Developer.
Best by use caseAboutContactAdvertisePrivacy PolicyTerms of UseQYSGitHubBuy me a coffee ☕

Browse by Category

MCP ServersCode AssistantWorkflow AutomationRAG / Knowledge BaseMulti-AgentBrowser AutomationLLM InfraDev ToolingObservability

Not affiliated with Anthropic, OpenAI or Microsoft.