LeandroPG19/cuba-memorys
🧠Persistent memory MCP for AI agents — Knowledge graph + Hebbian learning + Anti-hallucination. 12 tools, 1 dependency, zero manual setup.
Implements a PostgreSQL-backed knowledge graph with exponential decay memory (30-day halflife) and Hebbian learning via Oja's rule, storing entities, typed relations, and observations with automatic deduplication and contradiction detection. Provides hybrid search combining full-text (pg_trgm), semantic (pgvector HNSW), and graph traversal via entropy-routed reciprocal rank fusion, plus graph analytics (Leiden communities, Brandes centrality, PageRank) for anti-hallucination grounding. Built as an MCP server with 13 tools for knowledge engineering, error tracking, session awareness, and autonomous REM-sleep consolidation that runs on PostgreSQL 18+ with optional ONNX embeddings.
Stars
6
Forks
2
Language
Rust
License
—
Category
Last pushed
Mar 12, 2026
Commits (30d)
0
Get this data via API
curl "https://pt-edge.onrender.com/api/v1/quality/mcp/LeandroPG19/cuba-memorys"
Open to everyone — 100 requests/day, no key needed. Get a free key for 1,000/day.
Higher-rated alternatives
doobidoo/mcp-memory-service
Open-source persistent memory for AI agent pipelines (LangGraph, CrewAI, AutoGen) and Claude....
Dataojitori/nocturne_memory
A lightweight, rollbackable, and visual Long-Term Memory Server for MCP Agents. Say goodbye to...
mnemox-ai/tradememory-protocol
MCP server for AI trading memory — outcome-weighted cognitive memory with 10 tools, 399 tests.
spences10/mcp-memory-libsql
🧠High-performance persistent memory system for Model Context Protocol (MCP) powered by libSQL....
gannonh/memento-mcp
Memento MCP: A Knowledge Graph Memory System for LLMs