MCP Neo4j Memory
MCP Neo4j Memory is an MCP server that adds database tools to AI assistants such as Claude Desktop, Claude Code and Cursor. MCP Neo4j Knowledge Graph Memory Server. It has 988 GitHub stars, is released under the MIT license and runs locally with uvx mcp-neo4j-memory.
- Official
- Needs API key
- Databases
- MIT
- Actively maintained
Install MCP Neo4j Memory
Generated from the server's MCP registry entry. Replace your-value with your own values.
Claude Desktop
{
"mcpServers": {
"mcp-neo4j-memory": {
"command": "uvx",
"args": [
"mcp-neo4j-memory"
],
"env": {
"NEO4J_URI": "your-value",
"NEO4J_USERNAME": "your-value",
"NEO4J_PASSWORD": "your-value"
}
}
}
}Settings > Developer > Edit Config. macOS: ~/Library/Application Support/Claude/, Windows: %APPDATA%\Claude\. Restart Claude Desktop afterwards.
Claude Code
claude mcp add --env NEO4J_URI=your-value --env NEO4J_USERNAME=your-value --env NEO4J_PASSWORD=your-value --transport stdio mcp-neo4j-memory -- uvx mcp-neo4j-memoryCursor
{
"mcpServers": {
"mcp-neo4j-memory": {
"type": "stdio",
"command": "uvx",
"args": [
"mcp-neo4j-memory"
],
"env": {
"NEO4J_URI": "your-value",
"NEO4J_USERNAME": "your-value",
"NEO4J_PASSWORD": "your-value"
}
}
}
}Project file; use ~/.cursor/mcp.json to enable it in every project.
VS Code
{
"inputs": [
{
"type": "promptString",
"id": "neo4j_password",
"description": "NEO4J_PASSWORD",
"password": true
}
],
"servers": {
"mcp-neo4j-memory": {
"type": "stdio",
"command": "uvx",
"args": [
"mcp-neo4j-memory"
],
"env": {
"NEO4J_URI": "your-value",
"NEO4J_USERNAME": "your-value",
"NEO4J_PASSWORD": "${input:neo4j_password}"
}
}
}
}Config formats checked against the official docs on Oct 7, 2026: modelcontextprotocol.io (opens in a new tab), code.claude.com (opens in a new tab), cursor.com (opens in a new tab), code.visualstudio.com (opens in a new tab).
Environment variables
Variables the server reads at startup.
| Name | Required | Description |
|---|---|---|
NEO4J_URI | Yes | Neo4j connection URI |
NEO4J_USERNAME | Yes | Neo4j username |
NEO4J_PASSWORDsecret | Yes | Neo4j password |
NEO4J_DATABASE | No | Neo4j database name |
NEO4J_NAMESPACE | No | Tool namespace prefix |
Tools (19)
Parsed from the Tools section of the README; check the repository for the current list.
read_graphsearch_nodesquerySearch query matching names, types, observations
find_nodesnamesEntity names to retrieve
create_entitiesentitiesArray of objects with:
typeType of the entity
observationsInitial observations about the entity
delete_entitiescreate_relationsrelationsArray of objects with:
sourceName of source entity
targetName of target entity
delete_relationsadd_observationscontentsObservations to add
delete_observationsdeletionsArray of objects with:
About MCP Neo4j Memory
mcp-name: io.github.neo4j-contrib/mcp-neo4j-memory A Model Context Protocol (MCP) server implementation that provides persistent memory capabilities through Neo4j graph database integration.
- database
- mcp
- mcp-server
- neo4j
- stdio
Similar MCP servers
More databases MCP servers
Dbx
t8y2/dbx
Query databases from AI agents using connections configured in DBX.
DatabasesRustButterbase AI MCP Server
butterbase-ai/butterbase
Butterbase MCP server — manage your backend: schemas, auth, functions, storage, RAG, deploys.
DatabasesTypeScriptDBHub
bytebase/dbhub
Token-efficient database MCP server for PostgreSQL, MySQL, MariaDB, SQL Server, Oracle, SQLite.
DatabasesTypeScriptLINQ to DB
linq2db/linq2db
Inspect database schemas and execute SQL queries across multiple database providers with LINQ to DB.
DatabasesC#Mindwtr
dongdongbh/Mindwtr
Task automation via SQLite, desktop Local API, or Mindwtr Cloud; read-only by default.
DatabasesTypeScriptMCP Memory Service
doobidoo/mcp-memory-service
Open-source persistent memory for AI agent pipelines (LangGraph, CrewAI, AutoGen) and Claude.
DatabasesPython
What is MCP Neo4j Memory?
MCP Neo4j Memory is an MCP server that adds database tools to AI assistants such as Claude Desktop, Claude Code and Cursor. MCP Neo4j Knowledge Graph Memory Server. It has 988 GitHub stars, is released under the MIT license and runs locally with uvx mcp-neo4j-memory. The source code is at github.com/neo4j-contrib/mcp-neo4j.
How do I install the MCP Neo4j Memory MCP server?
Add the command uvx mcp-neo4j-memory to your MCP client: put it in claude_desktop_config.json for Claude Desktop, run claude mcp add for Claude Code, or add it to .cursor/mcp.json (Cursor) or .vscode/mcp.json (VS Code). The snippets on this page are ready to paste.
Is MCP Neo4j Memory free?
The server is open source under the MIT license, so running it is free. It needs credentials (NEO4J_PASSWORD) for the service it connects to, which may require a paid account.
Is MCP Neo4j Memory actively maintained?
The most recent commit was on Sep 9, 2026. The latest release is mcp-neo4j-cypher-v0.6.0, published Apr 10, 2026. appsgit only lists MCP servers with a commit in the last six months and re-checks every server daily.