mcp-neo4j-cypher
local MCP servermcp-neo4j-cypher is a local MCP server: A simple Neo4j MCP server that allows you to run Cypher queries against a Neo4j database. Install it from pypi as mcp-neo4j-cypher.
Installation
Terminal
claude mcp add mcp-neo4j-cypher -e NEO4J_URI=... -e NEO4J_USERNAME=... -e NEO4J_PASSWORD=... -e NEO4J_DATABASE=... -e NEO4J_NAMESPACE=... -e NEO4J_RESPONSE_TOKEN_LIMIT=... -e NEO4J_READ_TIMEOUT=... -e NEO4J_READ_ONLY=... -e NEO4J_SCHEMA_SAMPLE_SIZE=... -- uvx mcp-neo4j-cypher
Run in your project folder. Add --scope user to use it everywhere.
Claude Desktop, Cursor & other clients
Add to claude_desktop_config.json or .cursor/mcp.json.
{
"mcpServers": {
"mcp-neo4j-cypher": {
"command": "uvx",
"args": [
"mcp-neo4j-cypher"
],
"env": {
"NEO4J_URI": "...",
"NEO4J_USERNAME": "...",
"NEO4J_PASSWORD": "...",
"NEO4J_DATABASE": "...",
"NEO4J_NAMESPACE": "...",
"NEO4J_RESPONSE_TOKEN_LIMIT": "...",
"NEO4J_READ_TIMEOUT": "...",
"NEO4J_READ_ONLY": "...",
"NEO4J_SCHEMA_SAMPLE_SIZE": "..."
}
}
}
}Fill in the environment variables with your own credentials.
What you need
- Runtime: Python with uv (runs with uvx).
- MCP client: Claude Code, Codex, Antigravity, Claude Desktop, Cursor or any other client that speaks MCP over stdio.
- Environment variables:
NEO4J_URI,NEO4J_USERNAME,NEO4J_PASSWORD,NEO4J_DATABASE,NEO4J_NAMESPACE,NEO4J_RESPONSE_TOKEN_LIMIT,NEO4J_READ_TIMEOUT,NEO4J_READ_ONLY,NEO4J_SCHEMA_SAMPLE_SIZE
Summary
A simple Neo4j MCP server that allows you to run Cypher queries against a Neo4j database.
mcp-neo4j-cypher vs similar servers
| Server | Stars | Type | API key | Runtime |
|---|---|---|---|---|
| mcp-neo4j-cypher | 985 | Local | Yes | pypi |
| DBHub | 3,574 | Local | Yes | npm |
| LINQ to DB | 3,329 | Local | No | nuget |
| ArcadeDB | 1,165 | Local | No | — |
| mcp-neo4j-aura-manager | 985 | Local | Yes | pypi |
Questions
It reads 9 environment variables: NEO4J_URI, NEO4J_USERNAME, NEO4J_PASSWORD, NEO4J_DATABASE, NEO4J_NAMESPACE, NEO4J_RESPONSE_TOKEN_LIMIT, NEO4J_READ_TIMEOUT, NEO4J_READ_ONLY, NEO4J_SCHEMA_SAMPLE_SIZE. Set them in your MCP config before starting the server.
Python with uv (runs with uvx), plus an MCP client such as Claude Code, Codex, Claude Desktop or Cursor.
mcp-neo4j-cypher is a local MCP server distributed as the pypi package mcp-neo4j-cypher.
Run: claude mcp add mcp-neo4j-cypher -e NEO4J_URI=... -e NEO4J_USERNAME=... -e NEO4J_PASSWORD=... -e NEO4J_DATABASE=... -e NEO4J_NAMESPACE=... -e NEO4J_RESPONSE_TOKEN_LIMIT=... -e NEO4J_READ_TIMEOUT=... -e NEO4J_READ_ONLY=... -e NEO4J_SCHEMA_SAMPLE_SIZE=... -- uvx mcp-neo4j-cypher
Run: codex mcp add mcp-neo4j-cypher --env NEO4J_URI=... --env NEO4J_USERNAME=... --env NEO4J_PASSWORD=... --env NEO4J_DATABASE=... --env NEO4J_NAMESPACE=... --env NEO4J_RESPONSE_TOKEN_LIMIT=... --env NEO4J_READ_TIMEOUT=... --env NEO4J_READ_ONLY=... --env NEO4J_SCHEMA_SAMPLE_SIZE=... -- uvx mcp-neo4j-cypher
Similar MCP servers
NameStars
- DBHubio.github.bytebase/dbhub3,574
- LINQ to DBio.github.linq2db/linq2db.cli3,329
- ArcadeDBio.github.ArcadeData/arcadedb1,165
- mcp-neo4j-aura-managerio.github.neo4j-contrib/mcp-neo4j-aura-manager985
- mcp-neo4j-data-modelingio.github.neo4j-contrib/mcp-neo4j-data-modeling985
- Airweave Searchio.github.airweave-ai/search6,561
- ArcadeDB MCP Servercom.arcadedb/mcp-server1,165
- mcp-neo4j-memoryio.github.neo4j-contrib/mcp-neo4j-memory985