
Neo4j Cypher MCP Server
by neo4j-contribio.github.neo4j-contrib/mcp-neo4j-cypherv1.0.0
A simple Neo4j MCP server that allows you to run Cypher queries against a Neo4j database.
context tax
queued
security
queued
cold start
queued
freshness
Active30d ago
Install Neo4j Cypher MCP server
Install in Claude Code
claude mcp add neo4j-cypher -e NEO4J_URI='<neo4j-uri>' -e NEO4J_USERNAME='<neo4j-username>' -e NEO4J_PASSWORD='<neo4j-password>' -- uvx mcp-neo4j-cypherInstall in Cursor
{
"mcpServers": {
"neo4j-cypher": {
"command": "uvx",
"args": [
"mcp-neo4j-cypher"
],
"env": {
"NEO4J_URI": "<neo4j-uri>",
"NEO4J_USERNAME": "<neo4j-username>",
"NEO4J_PASSWORD": "<neo4j-password>"
}
}
}
}Add to ~/.cursor/mcp.json (global) or .cursor/mcp.json (project).
Install in Claude Desktop
{
"mcpServers": {
"neo4j-cypher": {
"command": "uvx",
"args": [
"mcp-neo4j-cypher"
],
"env": {
"NEO4J_URI": "<neo4j-uri>",
"NEO4J_USERNAME": "<neo4j-username>",
"NEO4J_PASSWORD": "<neo4j-password>"
}
}
}
}Settings → Developer → Edit Config (claude_desktop_config.json), then restart.
Install in VS Code
{
"servers": {
"neo4j-cypher": {
"type": "stdio",
"command": "uvx",
"args": [
"mcp-neo4j-cypher"
],
"env": {
"NEO4J_URI": "<neo4j-uri>",
"NEO4J_USERNAME": "<neo4j-username>",
"NEO4J_PASSWORD": "<neo4j-password>"
}
}
}
}Add to .vscode/mcp.json in your workspace.
Install in Windsurf
{
"mcpServers": {
"neo4j-cypher": {
"command": "uvx",
"args": [
"mcp-neo4j-cypher"
],
"env": {
"NEO4J_URI": "<neo4j-uri>",
"NEO4J_USERNAME": "<neo4j-username>",
"NEO4J_PASSWORD": "<neo4j-password>"
}
}
}
}Add to ~/.codeium/windsurf/mcp_config.json.
Configuration
| Variable | Required | Secret | Description |
|---|---|---|---|
| NEO4J_URI | yes | — | Neo4j connection URI |
| NEO4J_USERNAME | yes | — | Neo4j username |
| NEO4J_PASSWORD | yes | yes | Neo4j password |
| NEO4J_DATABASE | — | — | Neo4j database name |
| NEO4J_NAMESPACE | — | — | Tool namespace prefix |
| NEO4J_RESPONSE_TOKEN_LIMIT | — | — | Maximum tokens for read query responses |
| NEO4J_READ_TIMEOUT | — | — | Timeout in seconds for read queries |
| NEO4J_READ_ONLY | — | — | Allow only read-only queries (true/false) |
| NEO4J_SCHEMA_SAMPLE_SIZE | — | — | Schema sample size |
Freshness
Active — last maintenance signal 30d ago. The newest of the signals below sets the band.
Last commit (default branch)
2026-09-09 · 30d ago · GitHub
Latest release
2026-04-10 · 6mo ago · GitHub · mcp-neo4j-cypher-v0.6.0
Package published
no data · npm/PyPI
Registry entry updated
2025-11-07 · 11mo ago · official registry · v1.0.0
FAQ
›How do I install the Neo4j Cypher MCP server in Claude Code?
Run: claude mcp add neo4j-cypher -e NEO4J_URI='<neo4j-uri>' -e NEO4J_USERNAME='<neo4j-username>' -e NEO4J_PASSWORD='<neo4j-password>' -- uvx mcp-neo4j-cypher. For Cursor, VS Code, Claude Desktop and Windsurf, use the install tabs above.
›Does Neo4j Cypher require an API key?
Yes. It expects NEO4J_URI, NEO4J_USERNAME, NEO4J_PASSWORD, of which 1 is a secret.
›Can I use Neo4j Cypher as a remote (hosted) MCP server?
No hosted endpoint is published; it runs locally over stdio.
›Is Neo4j Cypher in the official MCP registry?
Yes, as io.github.neo4j-contrib/mcp-neo4j-cypher.
Alternatives to Neo4j Cypher
Other database MCP servers.