Context7
Up-to-date docs for AI agents
作者提供的说明(英文原文)
Graph memory that dreams: Neo4j knowledge-graph memory for AI agents with hybrid search
这三项永远不会合并成一个分数:意见、测量和人气是不同的东西。
我们还没有为它写通俗的介绍。下面是我们从注册中心读取到的事实。
选择你使用的 AI 应用,然后复制设置。
NEO4J_URI, NEO4J_USERNAME, NEO4J_PASSWORD, NEO4J_DATABASE, REVERIE_EMBEDDINGS标为机密的值是你账户的钥匙。千万不要分享给别人,也不要粘贴到聊天里。
你需要
你用的是哪个应用?
在上方选择你的应用。我们会记住它,下次按钮会显示“安装到 …”。
打开 Claude Desktop → Settings → Developer → Edit Config,把下面的内容粘贴到 claude_desktop_config.json
{
"mcpServers": {
"reverie": {
"command": "npx",
"args": [
"-y",
"@knowall-ai/reverie"
],
"env": {
"NEO4J_URI": "your-value",
"NEO4J_USERNAME": "your-value",
"NEO4J_PASSWORD": "your-value",
"NEO4J_DATABASE": "your-value",
"REVERIE_EMBEDDINGS": "your-value"
}
}
}
}在终端中运行这条命令
claude mcp add reverie --env NEO4J_URI=your-value --env NEO4J_USERNAME=your-value --env NEO4J_PASSWORD=your-value --env NEO4J_DATABASE=your-value --env REVERIE_EMBEDDINGS=your-value -- npx -y @knowall-ai/reverie运行前请先填写空着的值。
粘贴到项目中的 .cursor/mcp.json,或 ~/.cursor/mcp.json
{
"mcpServers": {
"reverie": {
"command": "npx",
"args": [
"-y",
"@knowall-ai/reverie"
],
"env": {
"NEO4J_URI": "your-value",
"NEO4J_USERNAME": "your-value",
"NEO4J_PASSWORD": "your-value",
"NEO4J_DATABASE": "your-value",
"REVERIE_EMBEDDINGS": "your-value"
}
}
}
}浏览器会先询问是否打开应用,然后应用会显示设置并请你确认。密钥的值会留空,由你自己填写。
粘贴到项目中的 .vscode/mcp.json
{
"servers": {
"reverie": {
"type": "stdio",
"command": "npx",
"args": [
"-y",
"@knowall-ai/reverie"
],
"env": {
"NEO4J_URI": "your-value",
"NEO4J_USERNAME": "your-value",
"NEO4J_PASSWORD": "your-value",
"NEO4J_DATABASE": "your-value",
"REVERIE_EMBEDDINGS": "your-value"
}
}
}
}浏览器会先询问是否打开应用,然后应用会显示设置并请你确认。密钥的值会留空,由你自己填写。
这个服务器在你的电脑上运行,而 ChatGPT 只能连接互联网上的服务器。请选择其他应用。
你的选择通过 Cookie 保存在这台设备上,无需账户。
NEO4J_DATABASE envREVERIE_EMBEDDINGS env这些设置是根据作者在注册中心的条目生成的。如果 README 的写法不同,请以 README 为准。
它在你的电脑上运行;安装后,工具列表会显示在你的 AI 应用中。
我们检查的是任何人都能看到的信息;我们没有阅读代码。不适用的检查项不计入总数。 · 检查于 2026年11月7日
注册名称已通过域名 knowall.ai 验证(注册中心会核实域名所有权)
我们还没有从 GitHub 读取这个仓库
我们还没有从 GitHub 读取这个仓库
它在你的电脑上运行,没有互联网端点
在你的电脑上运行,改用本地设置
它在你的电脑上运行;我们只能读取互联网端点的工具列表
与注册中心里这个分类中所有活跃的服务器比较。只有当发布者拥有该仓库时,星标数才计入。
它在 1 项适用的基础检查中通过了 1 项。我们没有阅读代码。在添加密钥或令牌之前,请先看看这个服务器要求哪些权限,并使用只具备所需权限的密钥。
你需要填写:NEO4J_URI, NEO4J_USERNAME, NEO4J_PASSWORD
它在你的电脑上运行。你的 AI 应用会在需要时启动它,数据不会经过作者的服务器(除非它自己调用在线服务)。
GitHub 仓库最后更新于–,最新版本(0.5.4)于今天进入注册中心。
支持 MCP 的应用,例如 Claude Desktop、Claude Code、Cursor 和 VS Code。你的电脑上还需要有 Node.js。
同一分类中有:Context7, Codebase Memory, Exa
同一分类中其他作者的服务器,按星标数排序。
如何看卡片:★ GitHub 星标i三大支柱:评价 · 检查 · 使用情况i更新 = 最新版本发布到注册中心的时间i
Up-to-date docs for AI agents
Codebase knowledge graph for AI agents — 162 languages, sub-ms queries, 99% fewer tokens.
Connect AI agents to Exa for web search, content fetching, and multi-step research.
按原文从作者的仓库复制。PopNx MCP 没有审查或背书其内容。HTML、图片和脚本已被移除。链接会离开本站。
Reverie is KnowAll AI's Neo4j knowledge-graph memory for AI agents, served over MCP. It is published on npm as @knowall-ai/reverie (successor to the legacy package @knowall-ai/mcp-neo4j-agent-memory). The GitHub repository is now knowall-ai/mcp-reverie, and old URLs redirect.
Reverie turns an agent's memory from a pile of facts into a map of the entities in its world and how they relate, and keeps that map healthy. It is an MCP server, so any agent that speaks the Model Context Protocol (Claude Desktop, OpenClaw, Azure AI Foundry, Cursor…) gets the same graph; a Hermes Agent memory-provider flavour lives in hermes-reverie.
dream tool merges duplicates safely, canonicalises labels, re-embeds, counts orphans and flags nodes that have become property dumps, so a nightly job can keep the graph clean.You can run this MCP server directly using npx:
npx -y @knowall-ai/reverie
Or add it to your Claude Desktop configuration:
{
"mcpServers": { "reverie": { "command": "npx", "args": ["-y", "@knowall-ai/reverie"], "env": { "NEO4J_URI": "bolt://localhost:7687", "NEO4J_USERNAME": "neo4j", "NEO4J_PASSWORD": "your-password", "NEO4J_DATABASE": "neo4j" } } } }
Unlike traditional approaches that embed complex logic in tools, this server provides simple, atomic operations and lets the LLM handle all the intelligence:
search_memories is hybrid: each result ranks by its best keyword, semantic or fuzzy name signal. See Search below.
This approach makes the system more powerful and adaptable, as improvements in LLM capabilities directly translate to better memory management.
search_memories supports four matching signals — keyword, semantic, fuzzy and exact — through these modes:
hybrid (default): rank by the best signal — keyword share of query words, semantic cosine or fuzzy name similaritykeyword: any word of the query as a substring of any searchable content property (timestamps, status and embedding fields are never matched)semantic: embeddings only; if embeddings are unavailable it falls back to keyword matching (and hybrid keeps its keyword and fuzzy signals)fuzzy: match misspelled or misheard names and aliases using spelling, prefixes and phonetics; "Ben Wicks" can find "Benjamin Weeks" without embeddingsexact: case-insensitive equality on name, aliases or email; the precise lookup to run before creating a memory, so "ben weeks" finds exactly "Ben Weeks" and nothing elseArchived memories (status = 'archived') are left out of results and of list_memory_labels unless include_archived: true is passed. Returned relationships carry _start and _end node ids, so a connection's direction is always recoverable.
Use similarity_threshold (default 0.4; must be between 0 and 1, other values are rejected) to control how strict semantic matches are. Use fuzzy_threshold (default 0.85, range 0–1) for fuzzy strictness. Results include _score, _match and, for fuzzy hits, _matched (the stored name or alias). Confirm differing names with the user; nicknames such as Bill/William need aliases.
This server now supports connecting to specific databases in Neo4j Enterprise Edition. By default, it connects to the "neo4j" database, but you can specify a different database using the NEO4J_DATABASE environment variable.
search_memories: Search and retrieve memories from the knowledge graphBen Wicks can find Benjamin Weekssearch_mode = hybrid, keyword, semantic, fuzzy or exactsimilarity_threshold (default 0.4) and fuzzy_threshold (default 0.85)_score, _match and _matched for fuzzy hitsperson and Person both work), date, depth, result limit, and sort ordercreate_memory: Create a new memory in the knowledge graphdream canonicalises lowercase labelscreate_connection: Create relationships between memoriesupdate_memory: Update properties of existing memories_hint when the node exceeds the property limit: the graph is for entities and relationships, not a notebookupdate_connection: Update relationship propertiesdelete_memory: Remove memories and all their connectionsdelete_connection: Remove specific relationshipslist_memory_labels: List all unique memory labels in usequery_memories: Run a read-only Cypher queryCALL subqueries, and any procedure outside a small read-only allow-list (db.labels, db.propertyKeys, db.index.*.query*, schema procedures). For belt and braces, run the server with a read-only Neo4j role where you canmemory_stats: Summarize the current graphdream: Deterministically clean up and consolidate the graphperson → Person), merges same-named nodes within a label when APOC is available, and refreshes embeddingsname, timestamps and vectors and combines every other property (conflicting values become lists, nothing is dropped) and skips pairs whose identity fields differ (email, phone, website, company, organisation, organization), so two different "John Smith"s stay separate. The report lists every group under duplicates with what was merged and what was skipped and why. Run with dry_run: true first to reviewbloated nodes (more than REVERIE_MAX_PROPERTIES, default 30, real properties) with the keys that look like dated facts or prose, so a nightly sleep can fold them into attributes, relationships or notesdry_run for a no-write reportget_guidance: Get help on using the memory tools effectivelydream tool uses COUNT {} and IS :: STRING); APOC for duplicate mergingdocker run -p 7474:7474 -p 7687:7687 -e NEO4J_AUTH=neo4j/password neo4jReverie is listed in the MCP Registry as ai.knowall/reverie (KnowAll's domain namespace, verified by a DNS TXT record on knowall.ai) (the successor of the "Neo4j Agent Memory" entry that used to sit in the modelcontextprotocol/servers README). server.json in this repository is the listing; the release workflow republishes it on every tag.
To install Reverie for Claude Desktop automatically via Smithery (currently indexed under its legacy package name):
npx -y @smithery/cli install @knowall-ai/mcp-neo4j-agent-memory --client claude
git clone https://github.com/knowall-ai/mcp-reverie.git
cd mcp-reverie
npm install
npm run build
The server requires the following environment variables:
NEO4J_URI: Neo4j database URI (required, e.g., bolt://localhost:7687)NEO4J_USERNAME: Neo4j username (required)NEO4J_PASSWORD: Neo4j password (required)NEO4J_DATABASE: Neo4j database name (optional) - For Neo4j Enterprise with multiple databasesSet REVERIE_EMBEDDINGS to choose the embedding provider used by hybrid and semantic search. Changing REVERIE_EMBEDDINGS or REVERIE_EMBEDDING_MODEL causes nodes to be re-embedded lazily on the nex
只显示了开头部分;其余内容请在仓库中阅读