memento-mcp
by gannonh·★ 418·综合分 49
为大型语言模型提供语义检索和时间感知能力的知识图谱内存系统。
概述
Memento MCP 是一个复杂的知识图谱内存系统,为大型语言模型提供持久、自适应的长期记忆。它使用 Neo4j 作为后端,同时支持图存储和向量搜索功能。系统支持包含丰富元数据的实体、具有置信度评分的关系以及对所有变更的时间跟踪,允许进行特定时间点的查询和历史分析。
试试问 AI
装完之后,这里有 5 个你可以让 AI 做的事:
什么时候选它
当您的 LLM 应用需要持久化知识图谱记忆和语义检索功能,特别是当您已经在使用或愿意设置 Neo4j 时,选择 Memento MCP。
什么时候不要选它
如果您需要轻量级解决方案而不想添加额外的数据库依赖,或者您需要图操作但不具备向量搜索功能,则不要选择 Memento MCP。
此 server 暴露的工具
从 README 抽取出 12 个工具create_entitiesCreate multiple new entities in the knowledge graph
add_observationsAdd new observations to existing entities
delete_entitiesRemove entities and their relations
delete_observationsRemove specific observations from entities
create_relationsCreate new relations between entities with enhanced properties
get_relationGet a specific relation with its enhanced properties
update_relationUpdate an existing relation with enhanced properties
delete_relationsRemove specific relations from the graph
read_graphRead the entire knowledge graph
search_nodesSearch for nodes based on query
semantic_searchSearch for entities semantically using vector embeddings
get_entity_historyGet complete version history of an entity
可对比工具
安装
安装
先决条件
- Neo4j 5.13+
设置选项
Neo4j Desktop 设置(推荐)
- 下载并安装 Neo4j Desktop
- 创建新项目
- 添加新数据库
- 将密码设置为
memento_password - 启动数据库
Docker 设置
docker-compose up -d neo4jMCP 配置
添加到 Claude Desktop 配置:
{
"mcpServers": {
"memento": {
"command": "npx",
"args": ["-y", "@gannonh/memento-mcp"]
}
}
}FAQ
- Memento 与其他记忆系统有什么不同?
- Memento 使用基于 Neo4j 的知识图谱方法,提供时间感知、语义搜索和置信度衰减功能,而传统的键值记忆系统不提供这些功能。
- 我可以在除 Claude Desktop 之外的其他 LLM 客户端上使用它吗?
- 是的,Memento MCP 支持任何支持模型上下文协议的 LLM 客户端,包括 Cursor 和 GitHub Copilot。
memento-mcp 对比
最后更新于 · 由 README + GitHub 公开数据自动生成。