▌BestMCPTools.org
Neo4j MCP logo

Neo4j MCP

Official Neo4j server giving agents structured access to a graph database

DatabaseFreeClaudeClaude CodeCursorWindsurfClineAll ModelsModerate

Last verified: September 13, 2026

Own Neo4j MCP? Boost it to the top.✦ Upgrade to Featured

Maintenance status

Active
Last code update: September 26, 2026Checked September 28, 2026

How to Install Neo4j MCP

$uvx mcp-neo4j-cypher

Requires Claude Desktop, Cursor, Windsurf, or another MCP-compatible client.

Setup by client

Claude Desktop (claude_desktop_config.json)

{
  "mcpServers": {
    "neo4j-mcp": {
      "command": "uvx",
      "args": [
        "mcp-neo4j-cypher"
      ]
    }
  }
}

Cursor (~/.cursor/mcp.json)

{
  "mcpServers": {
    "neo4j-mcp": {
      "command": "uvx",
      "args": [
        "mcp-neo4j-cypher"
      ]
    }
  }
}

VS Code (.vscode/mcp.json)

{
  "servers": {
    "neo4j-mcp": {
      "type": "stdio",
      "command": "uvx",
      "args": [
        "mcp-neo4j-cypher"
      ]
    }
  }
}

Claude Code (terminal)

claude mcp add neo4j-mcp -- uvx mcp-neo4j-cypher

Add any API keys or environment variables the server's README lists.

About Neo4j MCP

Neo4j maintains an official MCP server that lets AI assistants query and reason over a Neo4j graph directly. It exposes schema introspection alongside Cypher read and write tools, so an agent can discover the shape of the graph before it queries rather than guessing at labels and relationships. That matters for graph data in particular, where the value is in traversals an agent cannot infer from a flat table listing.

Neo4j MCP is a Database MCP server designed for developers, analysts, and data teams. It enables querying and managing databases from an AI assistant by exposing schema introspection and SQL execution as MCP tools. Key capabilities include schema introspection across tables and views, parameterised sql execution, read-only and read/write modes, and structured tool calls that work cleanly inside an LLM context. It integrates with Postgres, MySQL, SQLite, MongoDB, Redis, BigQuery, and Snowflake, and is best suited for developers, analysts, and data teams who need ad-hoc analytics without a bi tool.

Key Features

  • graph
  • database
  • cypher
  • official
  • open-source

Pricing

Free: from Free (open source)

Pros & Cons

Pros

  • Lets the assistant write and run real queries instead of guessing
  • Read-only mode is safe to point at production-shaped data
  • Skips most ORM and CSV-shuffling boilerplate

Cons

  • Misconfigured permissions can expose sensitive data
  • Long-running queries need explicit timeouts
  • Schema drift requires reconnecting or refreshing context

Best For

  • Ad-hoc analytics without a BI tool
  • Drafting migrations and reviewing query plans
  • Letting non-SQL teammates ask questions of a database
  • Bootstrapping internal admin workflows

Our Take on Neo4j MCP

The default way to put a knowledge graph in front of an agent. Guard write access carefully: the Cypher tools will happily mutate the graph if you let them.

Frequently Asked Questions

Tags