Skip to content
Neo4j Cypher

Neo4j CypherMCP Server

Added to Onei
v0.6.0

Summary

Query Neo4j graph databases in natural language — the assistant reads your schema and writes the Cypher.

Features

  • Run read and write Cypher queries against Neo4j
  • Retrieve the graph schema for accurate query generation
  • Works with Neo4j Aura and self-managed instances

Installation

Set up this MCP server in your favorite AI agent — copy a ready-made configuration below.

Any MCP-compatible agent

Most agents (Claude, Cursor, Windsurf, VS Code, and more) read a standard mcpServers configuration.

  1. Open your agent's MCP configuration file.
  2. Merge the snippet below into it, filling in the environment variables with your own values.
  3. Restart the agent — the "Neo4j Cypher" tools will be available.
{
  "mcpServers": {
    "neo4j-cypher": {
      "command": "uvx",
      "args": [
        "mcp-neo4j-cypher"
      ],
      "env": {
        "NEO4J_URI": "bolt://localhost:7687",
        "NEO4J_USERNAME": "neo4j",
        "NEO4J_PASSWORD": "password"
      }
    }
  }
}

Description

The Neo4j Cypher MCP server lets an assistant query a graph database by generating Cypher from natural language, grounded in the actual schema.

What it does
  • Schema retrieval. Node labels, relationship types, and property keys, fetched before any query is written. This is the critical piece — Cypher generated without the schema is confidently wrong.
  • Read queries for traversals, pattern matching, and aggregation
  • Write queries for creating and updating nodes and relationships, when enabled
Why it suits graphs particularly well

Cypher is expressive but unfamiliar, and graph questions are naturally phrased in language: "which customers are connected to this account through more than two hops", "what depends on this service". Translating those into traversals is exactly the kind of task where an assistant with the schema in hand does well.

Setup

uvx mcp-neo4j-cypher with connection details in environment variables. Works against local instances, self-managed clusters, and Neo4j Aura. Companion servers in the same repository cover Aura instance management and knowledge-graph memory.

Related MCP Servers

MCP: agentmemory

by rohitg00

Self-hosted persistent memory for coding agents: hooks capture what you do, and an MCP server lets any agent recall it across sessions and across tools.

MCP: Graft

by Trail

Featured

Builds a searchable markdown graph of your repo so coding agents stop re-exploring it on every task — reported 42% fewer tokens and 46% fewer tool calls.

MCP: Graphicle

by Graphicle

New

Local-first Rust MCP server that maps your repo into a code graph and project memory, then hands coding agents cited file-and-line excerpts.

Browse all MCP servers →