Neo4j Graph MCP Server

Community
Databases
stdio

Connect AI agents to Neo4j graph databases. Run Cypher queries, explore node relationships, inspect graph schemas, and leverage graph-native data structures for knowledge graphs, social networks, and recommendation engines.

Quick Install

$ uvx mcp-neo4j

Environment Variables

VariableDescriptionRequired
NEO4J_URINeo4j Bolt URIYes
NEO4J_USERNAMENeo4j usernameYes
NEO4J_PASSWORDNeo4j passwordYes

In-Depth Setup Guide

Complete setup walkthrough & security best practices

Read Guide

Configuration by Client

{
  "mcpServers": {
    "neo4j": {
      "command": "uvx",
      "args": [
        "mcp-neo4j"
      ],
      "env": {
        "NEO4J_URI": "bolt://",
        "NEO4J_USERNAME": "neo4j",
        "NEO4J_PASSWORD": ""
      }
    }
  }
}

Need a different client? Use the Config Generator for Windsurf, Cline, Antigravity, and more.

Available Tools (3)

read_cypher_querywrite_cypher_queryget_schema

Neo4j Graph FAQ

What is the Neo4j Graph MCP server?

Connect AI agents to Neo4j graph databases. Run Cypher queries, explore node relationships, inspect graph schemas, and leverage graph-native data structures for knowledge graphs, social networks, and recommendation engines.

How do I install the Neo4j Graph MCP server?

Run: uvx mcp-neo4j

Which AI clients support the Neo4j Graph MCP server?

The Neo4j Graph MCP server works with Claude Desktop, Cursor, Codex CLI, Antigravity, Windsurf, and any MCP-compatible client using stdio transport.

What tools does the Neo4j Graph MCP server provide?

The server provides 3 tools: read_cypher_query, write_cypher_query, get_schema.