LeandroPG19

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

14
2
100% credibility
Found Mar 15, 2026 at 14 stars -- GitGems finds repos before they trend. Get early access to the next one.
Sign Up Free
AI Analysis
Rust
AI Summary

A memory server that gives AI coding assistants persistent knowledge storage using a graph database with neuroscience-inspired retention and anti-hallucination search.

How It Works

1
🔍 Discover a smart memory for your AI helper

You hear about Cuba-Memorys, a way to give your AI coding buddy a brain that remembers everything from project to project, so it stops forgetting and repeating mistakes.

2
📥 Download and wake up the memory brain

Grab the free tool, start its special thinking database with a quick setup, and watch it come alive on your computer.

3
🔗 Link it to your favorite AI

Tell your AI tool like Claude or Cursor where the memory lives, and suddenly it has a forever notebook just for you.

4
💭 Start saving memories

As you chat with your AI, it automatically notes facts, errors, and lessons in the brain, building a web of knowledge.

5
🔎 Ask and get perfect recalls

Search your memories anytime, and get grounded answers with confidence scores—no more wild guesses from your AI.

6
🧠 Watch your AI grow smarter

Over time, the brain cleans house, strengthens key ideas, and spots patterns, making your AI a reliable long-term partner.

🎉 AI remembers forever, you code happier

Your projects flow smoothly with an AI that learns from every session, avoids old pitfalls, and feels like a true teammate.

Sign up to see the full architecture

5 more

Sign Up Free

Star Growth

See how this repo grew from 14 to 14 stars Sign Up Free
Repurpose This Repo

Repurpose is a Pro feature

Generate ready-to-use prompts for X threads, LinkedIn posts, blog posts, YouTube scripts, and more -- with full repo context baked in.

Unlock Repurpose
AI-Generated Review

What is cuba-memorys?

Cuba-memorys is a Rust-based MCP server that delivers persistent memory to AI coding agents in tools like Cursor or Claude Code. It stores knowledge as a graph in PostgreSQL, letting agents remember entities, facts, relations, errors, and sessions across interactions—solving the "amnesiac agent" problem where LLMs forget everything post-session. You get 12 tools for CRUD ops, hybrid search, error tracking, and maintenance, all via simple JSON-RPC over stdin/stdout, with Docker Postgres for zero-setup persistent storage.

Why is it gaining traction?

It crushes basic memory MCPs with neuroscience-backed features like adaptive forgetting curves, Hebbian strengthening, dual-strength recall, and anti-hallucination verification that grounds agent claims in stored evidence. The Rust rewrite yields a 7.6MB binary with sub-millisecond responses, zero runtime deps, and built-in REM consolidation—no more flaky Python heaps or vendor lock-in. Devs hook it into editors via one config snippet for persistent memory LLM agents that actually learn from mistakes.

Who should use this?

AI-assisted coders building agents for repetitive tasks, like debugging FastAPI endpoints or tracking architecture decisions across sessions. Indie devs prototyping persistent memory modules for non-volatile agent state, or teams wanting anti-hallucination guards without persistent memory programming overhead. Skip if you're doing commercial work—CC BY-NC license blocks it.

Verdict

Grab it for personal projects if you need robust persistent memory for agents; 14 stars and 1.0% credibility reflect early maturity, but solid docs, tests, and internal audit make it low-risk to spin up. Non-commercial only—watch for production forks.

(198 words)

Sign up to read the full AI review Sign Up Free

Similar repos coming soon.