Neo4j Knowledge Graph Memory MCP Server
This Neo4j MCP servers enable AI models to interact with Neo4j graph databases, providing capabilities for graph-based operations, relationship queries, and complex data modeling.
{
"mcpServers": {
"neo4j": {
"command": "docker",
"args": [
"run",
"--rm",
"-e", "NEO4J_URL=neo4j+s://xxxx.databases.neo4j.io",
"-e", "NEO4J_USERNAME=<your-username>",
"-e", "NEO4J_PASSWORD=<your-password>",
"mcp/neo4j-memory:0.1.3"
]
}
}
}
Overview
A Model Context Protocol (MCP) server implementation that provides persistent memory capabilities through Neo4j graph database integration. The server maintains complex relationships between entities as memory nodes and enables long-term retention of knowledge that can be queried and analyzed across multiple conversations or sessions.
The MCP server leverages Neo4j's graph database capabilities to create an interconnected knowledge base that serves as an external memory system. Through Cypher queries, it allows exploration and retrieval of stored information, relationship analysis between different data points, and generation of insights from the accumulated knowledge. This memory can be further enhanced with Claude's capabilities. 1
🕸️ Graph Schema
- Memory: A node representing an entity with a name, type, and observations
- Relationship: A relationship between two entities with a type
Key Features:
- Store and traverse complex relationships between contexts
- Create hierarchical knowledge structures
- Query and analyze connected data points
- Maintain persistent memory across sessions
- Leverage graph algorithms for insights
- Scale with Neo4j Aura cloud hosting
Tools
The Neo4j MCP Server provides the following tools for interacting with Neo4j databases:
🔎 Query Tools
♟️ Entity Management Tools
🔗 Relation Management Tools
📝 Observation Management Tools
Sources
Footnotes
Related Articles
Retrieval Augmented Thinking MCP Servers
Learn how to implement Retrieval Augmented Generation (RAG) in MCP servers to enhance AI responses with relevant information from external knowledge bases.
Sequential Thinking in AI Development
Master the art of sequential thinking in AI development - a step-by-step approach to breaking down complex problems into manageable components. Learn how to improve problem-solving skills, design better algorithms, and create more efficient AI solutions through structured thinking patterns.
Google Jobs MCP Server Guide
A comprehensive guide to integrating Google Jobs API with MCP servers, enabling AI models to interact with job listings, recruitment processes, and career services through standardized interfaces.