Cuba Memroys
About
Persistent memory MCP for AI agents — Knowledge graph + Hebbian learning + Anti-hallucination. 12 tools, 1 dependency, zero manual setup.
Details
- Author
- lENADRO1910
- Downloads
- 272
- Categories
- Knowledge Base
Jump to
- Knowledge graph with entities, observations, and typed relations
- Hebbian learning (Oja's rule) and FSRS spaced repetition
- Anti-hallucination with graduated confidence scoring
- 4-signal RRF fusion search (TF‑IDF, full-text, trigrams, pgvector HNSW)
- GraphRAG enrichment with degree-1 neighbor context
- REM Sleep consolidation after 15 minutes idle
- Error memory with anti-repetition guard
- Graph analytics: PageRank, Louvain, betweenness, Shannon entropy
Setting up with Highlight
This MCP is not yet compatible with Highlight’s one-click setup. However, you can still use it with Highlight by following these steps:
- Download and install Highlight from highlightai.com/download
- Navigate to the plugins tab and select "Add Custom Plugin"
-
Configure the plugin with the settings below
Plugin Name
Cuba MemroysCommand (node, npx, python, etc.)Please refer to the README for specific instructions on how to obtain API keys or other required environment variables.
- Enable "Start Automatically" if you want the plugin to start when Highlight launches
From the repository
It auto-provisions its own PostgreSQL database via Docker, so no manual configuration is needed. The server exposes 12 tools, each inspired by Cuban cultural references, that let AI agents store, retrieve, and reason over knowledge across sessions.
Claude Desktop / Cursor
Paste into your MCP client config file to install this server.
{
"mcpServers": {
"cuba memroys": {
"cuba-memorys": {
"command": "python",
"args": [
"-m",
"cuba_memorys"
],
"env": {
"DATABASE_URL": "postgresql://cuba:memorys2026@127.0.0.1:5488/brain"
}
}
}
}
}
McpServers
{
"cuba-memorys": {
"command": "python",
"args": [
"-m",
"cuba_memorys"
],
"env": {
"DATABASE_URL": "postgresql://cuba:memorys2026@127.0.0.1:5488/brain"
}
}
}
Persistent memory for AI agents — 12 tools with Cuban soul.
Cuba-Memorys gives AI coding assistants long-term memory with a knowledge graph, Hebbian learning, GraphRAG enrichment, and anti-hallucination grounding.
What makes it different:
Knowledge graph — Entities, observations, and typed relations that persist across sessions
Hebbian learning — Memories strengthen with use (Oja's rule) and fade adaptively (FSRS spaced repetition)
Anti-hallucination — Verify claims against stored knowledge with graduated confidence scoring (verified/partial/weak/unknown)
4-signal RRF fusion search — TF-IDF + full-text + trigrams + optional pgvector HNSW
GraphRAG — Top results enriched with degree-1 graph neighbors for topological context
REM Sleep — Autonomous background consolidation after 15min idle
Error memory — Never repeat the same mistake twice with anti-repetition guard
Graph analytics — Personalized PageRank, Louvain communities, betweenness centrality, Shannon entropy
Built on peer-reviewed math: Wozniak/Ye (FSRS), Oja (Hebbian), Cormack (RRF), Brin & Page (PageRank), Collins & Loftus (spreading activation), Malkov & Yashunin (HNSW).
Zero manual setup. Auto-provisions its own PostgreSQL via Docker. 12 tools, all named after Cuban culture.
Sign in to leave a review
Use Google, GitHub, or an email account so ratings stay tied to real people.
No reviews posted yet.


