MCP Catalogs
首页cuba-memorys screenshot

cuba-memorys

by LeandroPG19·22·综合分 45

为AI代理提供持久性记忆的MCP服务器,使用知识图谱、神经科学算法和防幻觉技术。

knowledge-graphai-llmdeveloper-tools
3
Forks
12
活跃 Issue
本月
最近提交
2 天前
收录于

概述

Cuba-Memorys 是一个全面的MCP服务器,为AI代理实现高级记忆功能,包括带类型关系的知识图谱、赫布学习和指数重要性衰减。该服务器提供23种内存管理工具、使用RRF融合的混合搜索功能、矛盾检测和前瞻性记忆触发器。它使用PostgreSQL后端并自动配置Docker,使其易于在各种环境中设置和使用。实现展示了严格的技术严谨性,有97个测试,零clippy警告,以及定期更新,包括项目范围划分和LLM判断的矛盾解析等新功能。

试试问 AI

装完之后,这里有 5 个你可以让 AI 做的事:

:为AI编程助手提供跨会话的长期记忆
:具有语义关系和矛盾检测的知识管理系统
:需要上下文感知记忆和前瞻性触发器的AI代理
:Cuba-Memorys与基本内存MCP服务器有何不同?
:服务器如何处理数据持久化?

什么时候选它

当您需要神经科学启发的持久性内存,具有知识图谱、矛盾检测和反幻觉基础等高级功能时,选择 Cuba-Memorys。

什么时候不要选它

如果您需要没有大量依赖的简单内存解决方案,或者需要非 CC BY-NC 4.0 许可证用于商业用途,则不适合使用。

此 server 暴露的工具

从 README 抽取出 12 个工具
  • cuba_alma

    CRUD entities with Hebbian boost + access tracking. Fires prospective triggers on access.

  • cuba_cronica

    Observations with semantic dedup, auto-tagging, session provenance, and contextual embedding.

  • cuba_puente

    Typed relations. Traverse walks the graph. Infer discovers transitive paths. Predict suggests missing relations.

  • cuba_ingesta

    Bulk knowledge ingestion: arrays of observations or long text with auto-classification.

  • cuba_faro

    RRF fusion search with entropy routing, temporal filters, tag filters, and score breakdown.

  • cuba_sueño

    REM sleep consolidation: stratified decay + PageRank + auto-prune + auto-merge + episode decay.

  • cuba_zafra

    Decay memories with testing effect: halflife scaled by access count frequency.

  • cuba_proyecto

    Isolate memories per project. List projects and manage project-scoped memories.

  • cuba_juez

    Escalate ambiguous-similarity observation pairs to LLM judge for contradiction resolution.

  • cuba_calibrar

    Bayesian calibration of source credibility with Beta(α,β) updates.

  • cuba_sync

    Export memories in git-friendly format or import idempotently.

  • cuba_faro

    Search with BM25 hybrid 3-way fusion, MMR diversification, and OOD abstention.

可对比工具

mem0memory-mcppersistent-memory-mcpknowledgewise-mcp

安装

推荐安装方式 (PyPI)

pip install cuba-memorys

Claude Desktop 配置

添加到 Claude Desktop 配置文件中:

{
  "mcpServers": {
    "cuba-memorys": {
      "command": "cuba-memorys"
    }
  }
}

自动配置设置

无需配置 - 服务器在首次运行时通过Docker自动配置PostgreSQL数据库。必须安装并运行Docker。

自定义PostgreSQL设置

如果您已有带有pgvector的PostgreSQL:

{
  "mcpServers": {
    "cuba-memorys": {
      "command": "cuba-memorys",
      "env": {
        "DATABASE_URL": "postgresql://user:pass@localhost:5432/brain"
      }
    }
  }
}

FAQ

Cuba-Memorys与基本内存MCP服务器有何不同?
Cuba-Memorys实现了高级功能,如带类型关系的知识图谱、赫布学习、混合RRF融合搜索、图智能分析、矛盾检测和神经科学启发的内存 consolidation 算法,这些是基本内存实现中不存在的。
服务器如何处理数据持久化?
服务器使用PostgreSQL作为后端,配合pgvector进行向量存储。它可以自动在首次运行时配置带有PostgreSQL的Docker容器,或连接到现有的PostgreSQL实例。数据通过各种衰减机制和consolidation流程在会话间保持。

cuba-memorys 对比

GitHub →

最后更新于 · 由 README + GitHub 公开数据自动生成。