MCP server

Neo4j MCP Server

Run Cypher queries, model graph data and store agent memory in Neo4j. Official: built and maintained by Neo4j. It runs locally on your machine over stdio. Setup below for 12 clients (checked 2026-10-25). Repo and registry data checked 2026-10-24.
Maintainer
Official · Neo4j
Runs
Local (stdio)
GitHub
★ 989, last push 2026-09-09 (checked 2026-10-24)
License
MIT
Registry
io.github.neo4j-contrib/mcp-neo4j-cypher
Connects to
Neo4j

Install the Neo4j MCP Server

Pick your client. Each tab starts the same local command. Config shapes checked against each client's docs on 2026-10-25.

Needs NEO4J_URI, NEO4J_USERNAME, NEO4J_PASSWORD (replace the ... with your value).

Run in a terminal. Everything after -- is the command that starts the server. docs

claude mcp add --transport stdio --env NEO4J_URI=... --env NEO4J_USERNAME=... --env NEO4J_PASSWORD=... neo4j -- uvx mcp-neo4j-cypher

Security notes

  • The local server runs with your user's permissions (uvx downloads it from PyPI on first run).
  • Needs NEO4J_URI, NEO4J_USERNAME and NEO4J_PASSWORD. Use a key or token with the narrowest scopes (read-only if there is one), and keep it out of config files you commit (.mcp.json, .vscode/mcp.json).
  • Connect it to a development database or a read-only user first: the model can run writes and deletes if the credentials allow them.
  • MCP Toolbox for Databasesofficial · ★ 17k

    One server for Postgres, MySQL, SQL Server, BigQuery, AlloyDB, Spanner and more, with tools you define in YAML.

  • Convexofficial · ★ 13k

    Read tables, run functions and inspect logs of a Convex deployment.

  • Firebaseofficial · ★ 4.5k

    Firestore, Auth, Data Connect, Storage and Remote Config tools, built into the Firebase CLI.

  • Supabaseofficial · ★ 3k

    Query Postgres, manage tables, migrations, edge functions and branches in your Supabase projects.

  • Qdrantofficial · ★ 1.6k

    Store and search memories in a Qdrant vector collection.

  • Self-hosted server that exposes chosen SQL tables, views and procedures as safe CRUD tools.

  • MongoDBofficial · ★ 1.2k

    Query and manage MongoDB databases and Atlas clusters.

  • ClickHouseofficial · ★ 892

    Run read-only SQL against ClickHouse and list databases and tables.

FAQ

What does the Neo4j MCP Server do?+

Run Cypher queries, model graph data and store agent memory in Neo4j.

Is the Neo4j MCP server official?+

Official: built and maintained by Neo4j.

How do I add Neo4j to Claude Code?+

Run: claude mcp add --env NEO4J_URI=... --env NEO4J_USERNAME=... --env NEO4J_PASSWORD=... --transport stdio neo4j -- uvx mcp-neo4j-cypher. Add --scope project to share it with your team through .mcp.json.

How do I use the Neo4j MCP server in Cursor or VS Code?+

Open the Cursor or VS Code tab above: it has the mcp.json entry and a one-click install link. Cursor uses the "mcpServers" key; VS Code uses "servers" and needs a type ("stdio").

Does Neo4j work in ChatGPT and claude.ai?+

No: it runs locally over stdio, and ChatGPT and claude.ai only connect to remote servers. Use it in Claude Desktop, Claude Code, Cursor, VS Code or another client that can start a local process.

What are the alternatives to the Neo4j MCP server?+

Other database MCP servers: MCP Toolbox for Databases, Convex, Firebase, Supabase and Qdrant.

All MCP servers · What is an MCP server? · Agent skills