Neo4j MCP Server
About
A Neo4j MCP server implementation for managing graph database operations through the Model Context Protocol
Explore
- Execute Cypher queries against your Neo4j database
- Compatible with Cursor and Claude Desktop
- Supports single connection string or separate environment variables
- Use .env file for configuration
- Easy setup with npx or global npm install
Setting up with Highlight
This MCP is not yet compatible with Highlight’s one-click setup. However, you can still use it with Highlight by following these steps:
- Download and install Highlight from highlightai.com/download
- Navigate to the plugins tab and select "Add Custom Plugin"
-
Configure the plugin with the settings below
Plugin Name
Neo4j MCP ServerCommand (node, npx, python, etc.)Please refer to the README for specific instructions on how to obtain API keys or other required environment variables.
- Enable "Start Automatically" if you want the plugin to start when Highlight launches
From the repository
You can run the server directly using npx:
NEO4J_URI=neo4j+s://your-instance.databases.neo4j.io NEO4J_USER=neo4j NEO4J_PASSWORD=your-password npx neo4j-mcpserver
You can provide the Neo4j connection details in two ways:
1. Using a single connection string:
NEO4J_CONNECTION=<uri>,<user>,<password>
2. Using separate environment variables:
NEO4J_URI=<your-uri>
NEO4J_USER=<your-user>
NEO4J_PASSWORD=<your-password>
You can also use a .env file in your project root:
NEO4J_URI=neo4j+s://your-instance.databases.neo4j.io
NEO4J_USER=neo4j
NEO4J_PASSWORD=your-password
To set up the Neo4j MCP server in Cursor:
1. Open Cursor Settings
2. Navigate to Features > MCP Servers
3. Click on the "+ Add New MCP Server" button
4. Fill out the following information:
- Name: Enter a nickname for the server (e.g., "neo4j-mcp")
- Type: Select "command" as the type
- Command: Enter the command to run the server:
env=NEO4J_URI=your-neo4j-uri,NEO4J_USER=your-neo4j-user,NEO4J_PASSWORD=your-neo4j-password npx -y @neobarrientos/neo4j_mcpserver
Important: Replace the credentials with your actual Neo4j database credentials.
create-pulse
Create a new pulse with its complete structure and file relationships
get-pulse
Get complete information about a pulse including its context
analyze-app-structure
Analyze complete application structure with data flow
update-pulse
Update pulse structure and relationships
Claude Desktop / Cursor
Paste into your MCP client config file to install this server.
{
"mcpServers": {
"neo4j mcp server": {
"neo4j-mcpserver": {
"command": "npx",
"args": [
"neo4j-mcpserver"
],
"env": {
"NEO4J_CONNECTION": "neo4j+s://your-instance.databases.neo4j.io,neo4j,your-password"
}
}
}
}
}
McpServers
{
"neo4j-mcpserver": {
"command": "npx",
"args": [
"neo4j-mcpserver"
],
"env": {
"NEO4J_CONNECTION": "neo4j+s://your-instance.databases.neo4j.io,neo4j,your-password"
}
}
}
A Neo4j MCP server implementation for managing graph database operations through the Model Context Protocol.
🔌 Compatible with both Cursor and Claude Desktop!
Quick Start
You can run the server directly using npx:
```bash
Sign in to leave a review
Use Google, GitHub, or an email account so ratings stay tied to real people.
No reviews posted yet.



