Overview
MCP Neo4j Server is an integration tool that connects the Neo4j graph database with Claude Desktop, allowing users to perform graph database operations using natural language.
To use MCP Neo4j Server, you can run it directly using npx or add it to your Claude Desktop configuration with the required environment variables for Neo4j.
- Execute Cypher queries through natural language. - Create nodes and relationships in the graph database. - Supports all types of Cypher queries (READ, CREATE, UPDATE, DELETE).
- Querying employee data in a company.
- Creating new product entries in the database.
- Establishing relationships between different entities in the graph.
Add to your AI client
Use these steps to connect MCP Neo4j Server in Cursor, Claude, VS Code, and other MCP-compatible apps. The same JSON appears in the Use with menu above for one-click copy.
Cursor
Add this to your .cursor/mcp.json file in your project root, then restart Cursor.
.cursor/mcp.json
{
"mcpServers": {
"mcp-neo4j-server-da-okazaki": {
"command": "npx",
"args": [
"-y",
"@modelcontextprotocol/server-mcp-neo4j-server-da-okazaki"
]
}
}
}Claude Desktop
Add this server entry to the mcpServers object in your Claude Desktop config, then restart the app.
~/Library/Application Support/Claude/claude_desktop_config.json (macOS) or %APPDATA%\Claude\claude_desktop_config.json (Windows)
{
"mcpServers": {
"mcp-neo4j-server-da-okazaki": {
"command": "npx",
"args": [
"-y",
"@modelcontextprotocol/server-mcp-neo4j-server-da-okazaki"
]
}
}
}Claude Code
Add this to your project's .mcp.json file. Claude Code will detect it automatically.
.mcp.json (project root)
{
"mcpServers": {
"mcp-neo4j-server-da-okazaki": {
"command": "npx",
"args": [
"-y",
"@modelcontextprotocol/server-mcp-neo4j-server-da-okazaki"
]
}
}
}VS Code (Copilot)
Add this to your .vscode/mcp.json file. Requires the GitHub Copilot extension with MCP support enabled.
.vscode/mcp.json
{
"servers": {
"mcp-neo4j-server-da-okazaki": {
"type": "stdio",
"command": "npx",
"args": [
"-y",
"@modelcontextprotocol/server-mcp-neo4j-server-da-okazaki"
]
}
}
}Windsurf
Add this to your Windsurf MCP config file, then restart Windsurf.
~/.codeium/windsurf/mcp_config.json
{
"mcpServers": {
"mcp-neo4j-server-da-okazaki": {
"command": "npx",
"args": [
"-y",
"@modelcontextprotocol/server-mcp-neo4j-server-da-okazaki"
]
}
}
}Cline
Open Cline settings, navigate to MCP Servers, and add this server configuration.
Cline MCP Settings (via UI)
{
"mcpServers": {
"mcp-neo4j-server-da-okazaki": {
"command": "npx",
"args": [
"-y",
"@modelcontextprotocol/server-mcp-neo4j-server-da-okazaki"
]
}
}
}FAQ
Can I use natural language to interact with the database?
Yes! You can ask questions and give commands in natural language to perform database operations.
Is there a specific setup required for Neo4j?
Yes, you need to set up environment variables for Neo4j URI, username, and password.
How do I install MCP Neo4j Server?
You can install it via npx or through the Smithery CLI for Claude Desktop.