Cuba Memorys
by github.com/LeandroPG19 · v0.24.0 · updated Aug 16, 2026
Persistent memory MCP server. 28 tools, BM25+MMR+OOD retrieval, tamper-evident audit, code graph.
Run it locally
Install the package and point your AI client at it.
npm
npx -y [email protected]Environment variables
DATABASE_URLrequiredPostgreSQL connection URL (e.g. postgresql://user:pass@localhost:5432/brain)
CUBA_PROJECT_FILTERSet to 'off' to disable v0.8 project scoping filters (admin/debug only).
CUBA_SYNC_DIRDirectory used by cuba_sync export/import (default ./.cuba-memorys/).
CUBA_JUDGEcuba_juez backend selector: claude_cli | anthropic_api | heuristic | auto (default auto).
CUBA_JUEZ_CLISubprocess CLI used by ClaudeCodeJudge (default 'claude').
CUBA_JUEZ_MODELModel name passed to the judge backend (default 'claude-haiku-4-5').
ANTHROPIC_API_KEYsecretAPI key for AnthropicApiJudge (only used when feature 'anthropic-api' is built in).
CUBA_REM_RELATION_BATCHIsolated entities the REM cycle scans for relations per run (default 5, 0 disables).
CUBA_RERANKER_PATHDirectory holding the bge-reranker ONNX model; enables cross-encoder reranking (+93% nDCG on GPU).
CUBA_RERANK_FIXED_SHAPEPad reranker batches to a constant 512 tokens. Defaults on for GPU builds, off on CPU.
PyPI
uvx cuba-memorys==1.26.0Environment variables
DATABASE_URLrequiredPostgreSQL connection URL (e.g. postgresql://user:pass@localhost:5432/brain)
More from github.com/LeandroPG19
More MCP servers
Learnosity Build Aide
github.com/Learnosity
Build Learnosity integrations from Learnosity's own documentation and integration skills.
Servicenow Mcp Ai
github.com/LeassTaTT
ServiceNow MCP server — 67 tools over the full REST surface, every auth method, flows, diagrams.
TakeHome API
github.com/Leeday-devs
Verified UK take-home pay: income tax, NI, student loans, pensions, with GOV.UK sources.
Korea MCP
github.com/Leegwangwoon
Get around Korea: subway routes in English, fares, public holidays and guides. No API key.
Agent Dapps MCP
github.com/Lefgk
Read state and build unsigned txs for 10 agent dapps on Base.
StoreFast
github.com/LegendarySpy
Publish desktop apps to the Microsoft Store and check their downloads, reviews and Store listing.