Best for
- AI agent developers who want self-hosted Neo4j graph memory.
- Teams that need persistent memory retrieval through relationship traversal and hybrid search.
The supplied material describes Neo4j graph memory, MCP tools, stdio configuration, and a Streamable HTTP mode. The server requires Neo4j credentials; graph writes and deletions can modify or remove data.
Strongest · Documentation 14/20 Weakest · Reliability 10/20
Static review · not runReviewed 2026-11-29
Read the FMRS scoring method →Runtime:Node.js 18+
NEO4J_URI
Bolt URI for the Neo4j 5 database, such as bolt://localhost:7687.
NEO4J_USERNAME
Neo4j username configured for the database.
NEO4J_PASSWORD
Password for the configured Neo4j user.
OPENAI_API_KEY
Required when using OpenAI embeddings; obtain an API key from OpenAI.
AZURE_OPENAI_API_KEY
Required for Azure OpenAI embeddings; obtain the key from Azure.
VOYAGE_API_KEY
Required when using Voyage embeddings; obtain an API key from Voyage.
REVERIE_SERVE_TOKEN
Required only in HTTP mode; set a bearer token and provide the same token to the client.
NEO4J_DATABASE
Optional database name; set this for a Neo4j Enterprise database, or omit it on Community Edition.
REVERIE_EMBEDDINGS
Optional embedding provider for semantic search: local (default), openai, azure, ollama, voyage, or none.
REVERIE_EMBEDDING_MODEL
Optional override for the embedding model name used by the selected provider.
REVERIE_MODEL_CACHE
Optional location for the local embedding model cache.
OPENAI_BASE_URL
Optional base URL for the OpenAI API.
AZURE_OPENAI_ENDPOINT
Required for Azure OpenAI embeddings; provide your Azure OpenAI endpoint.
AZURE_OPENAI_EMBEDDING_DEPLOYMENT
Required for Azure OpenAI embeddings; provide the embedding deployment name.
AZURE_OPENAI_API_VERSION
Optional Azure OpenAI API version.
OLLAMA_HOST
Optional address of the Ollama service.
REVERIE_EMBED_TIMEOUT_MS
Optional timeout in milliseconds for remote embedding requests.
REVERIE_HTTP_HOST
Optional HTTP bind address; defaults to 127.0.0.1.
REVERIE_HTTP_PORT
Optional HTTP port; defaults to 8643.
REVERIE_ALLOWED_ORIGINS
Optional comma-separated allowlist of browser origins.
REVERIE_EVENTS_PATH
Optional activation log path; defaults to ~/.reverie/events.jsonl and can be disabled with an empty string.
REVERIE_DREAMS_DIR
Optional directory containing dream diary Markdown files.
REVERIE_USAGE_STATS_PATH
Optional path to the Presence usage statistics file.
REVERIE_BOOST_STATE_PATH
Optional path to the Presence boost state file.
REVERIE_GRAPH_POLL_SECONDS
Optional graph polling interval in seconds; defaults to 5.
REVERIE_STATE_SECONDS
Optional host state polling interval in seconds; defaults to 5.
REVERIE_EVENT_POLL_SECONDS
Optional activation log polling interval in seconds; defaults to 1.
Prepare Neo4j 5.9 or later and Node.js 18 or later. Add the supplied JSON to Claude Desktop's MCP configuration and set NEO4J_URI, NEO4J_USERNAME, and NEO4J_PASSWORD. NEO4J_DATABASE is optional and applies to multi-database Neo4j Enterprise setups. The configuration runs @knowall-ai/reverie with npx.
{"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"}}}}
Shown for Claude Desktop. Other clients may use a different file or key (VS Code uses "servers") — the configurator below converts it.
{
"servers": {
"reverie": {
"command": "npx",
"args": [
"-y",
"@knowall-ai/reverie"
],
"env": {
"NEO4J_URI": "bolt://localhost:7687",
"NEO4J_USERNAME": "neo4j",
"NEO4J_PASSWORD": "your-password",
"NEO4J_DATABASE": "neo4j"
}
}
}
}
Goes in your project's .vscode/mcp.json (VS Code uses a "servers" key).
[mcp_servers.reverie] command = "npx" args = ["-y", "@knowall-ai/reverie"] [mcp_servers.reverie.env] NEO4J_URI = "bolt://localhost:7687" NEO4J_USERNAME = "neo4j" NEO4J_PASSWORD = "your-password" NEO4J_DATABASE = "neo4j"
Append to ~/.codex/config.toml (OpenAI Codex CLI uses TOML).
claude mcp add reverie -e NEO4J_URI=bolt://localhost:7687 -e NEO4J_USERNAME=neo4j -e NEO4J_PASSWORD=your-password -e NEO4J_DATABASE=neo4j -- npx -y @knowall-ai/reverie
Run it in a terminal; replace any <…> placeholders with your own values first.
Confirm that `search_memories` and `get_guidance` appear in your client's tool list. Search for an existing memory; returned results confirm the server connected to Neo4j.
Once connected, you can ask your AI assistant things like:
No matching tools
Listed from the project's documentation, not tested by this site.
Reverie is an MCP server by KnowAll AI that stores and retrieves AI agent memories in a Neo4j knowledge graph. It provides hybrid keyword, semantic, and fuzzy-name search, entity and relationship management, read-only Cypher queries, and a dream tool for graph cleanup and embedding refresh.
Unofficial MCP server providing advanced access to the ChEMBL chemical database
Let LLMs interact directly with your Directus data.
Read-only DB access for safe analysis
Connect AI clients to Couchbase clusters.
Source revision 0640b3dc3f0f Data synced 2026-12-05 Read the FMRS scoring method Markdown