Sponsored byOutsenseAI that finds your next clients
SponsorGROUOutbound, LinkedIn content and leads for B2B teamsSponsorOutsenseAI that finds your next clientsAd+Your tool hereSeen by people installing AI tools@Weekly picksThe best new tools, one email a week

mcp-neo4j-cypher

MCP server by neo4j-contrib Community

Runs Cypher queries against a Neo4j database through natural language. It is for developers and analysts who want an AI assistant to inspect a graph and read or write data in it.

  • Score 82
  • 994 stars
  • MIT
  • Updated

Install mcp-neo4j-cypher

Built from the published package, never by AI.

claude mcp add mcp-neo4j-cypher -e NEO4J_URI=YOUR_NEO4J_URI -e NEO4J_USERNAME=YOUR_NEO4J_USERNAME -e NEO4J_PASSWORD=YOUR_NEO4J_PASSWORD -- uvx mcp-neo4j-cypher

Run in your terminal. Add --scope user to use it in every project.

Step-by-step: install mcp-neo4j-cypher in Claude Code

MCP servers run with your permissions and can read what you give them access to. Some need an API key: check the README and add it under env in the mcp-neo4j-cypher block.

About

The mcp-neo4j-cypher server is part of the Neo4j Labs MCP servers. It connects an MCP client, such as Claude Desktop, VS Code, Cursor, Windsurf or Gemini CLI, to a configured Neo4j database. Users can ask questions in natural language, and the server gets the database schema and runs generated read and write Cypher queries on that database.

Schema inspection requires the APOC plugin to be installed and enabled on the Neo4j instance. The server supports STDIO, SSE and HTTP transport modes. It is aimed at developers who work with Neo4j graphs. The source describes it as actively developed, but not supported by the Neo4j product team and without guarantees on backwards compatibility.

Written from the project's README and checked against it.

Tools it gives your assistant

  • Database schema inspectionGets the schema of the configured Neo4j database. Requires the APOC plugin.
  • Read Cypher queriesRuns generated read Cypher queries on the configured database.
  • Write Cypher queriesRuns generated write Cypher queries on the configured database.

What you need

  • A Neo4j database
  • APOC plugin installed and enabled on the Neo4j instance
  • An MCP client such as Claude Desktop, VS Code, Cursor, Windsurf or Gemini CLI
SettingNeededWhat it is
NEO4J_URIEnvironment variableRequiredNeo4j connection URI
NEO4J_USERNAMEEnvironment variableRequiredNeo4j username
NEO4J_PASSWORDEnvironment variable, secretRequiredNeo4j password
NEO4J_DATABASEEnvironment variableOptionalNeo4j database name
NEO4J_NAMESPACEEnvironment variableOptionalTool namespace prefix
NEO4J_RESPONSE_TOKEN_LIMITEnvironment variableOptionalMaximum tokens for read query responses
NEO4J_READ_TIMEOUTEnvironment variableOptionalTimeout in seconds for read queries
NEO4J_READ_ONLYEnvironment variableOptionalAllow only read-only queries (true/false)
NEO4J_SCHEMA_SAMPLE_SIZEEnvironment variableOptionalSchema sample size

From the publisher's entry in the official MCP Registry. Required settings are already in the install config below as placeholders.

Try asking

  • What is in this graph?
  • Run a read query that returns the top 10 products by total sales
  • Write a Cypher query that creates a Person node named Ana

Good to know

  • Not supported by the Neo4j product team.
  • No SLAs or guarantees around backwards compatibility and deprecation.
  • Schema inspection requires the APOC plugin.

Security check

A

No download-and-run commands, hidden instructions or signs of sending keys out were found.

Checked automatically: README.md. This looks for known risky patterns and is not a full audit. How grades work

Alternatives to mcp-neo4j-cypher

All alternatives →
Supabase supabase
97

Connects Supabase projects to AI assistants such as Cursor, Claude and Windsurf over the Model Context Protocol. It lets assistants manage tables, fetch config and query data in a Supabase project.

AAA Local and remote 172k/wk
ArcadeDB MCP Server ArcadeData
94

ArcadeDB MCP Server is the built-in Model Context Protocol server of the ArcadeDB multi-model database. It lets AI assistants and LLMs work with ArcadeDB's graph, document, time-series, vector and other data models. It suits people who already run ArcadeDB and want assistant access to it.

AAA Local 1.3k
DBHubbytebase
94

Connects MCP clients such as Claude Desktop, Cursor and VS Code to PostgreSQL, MySQL, MariaDB, SQL Server, Oracle, ClickHouse and SQLite. It exposes two tools by default, with read-only mode and query timeouts available as guardrails.

AAA Local 343k/wk
MCP Toolbox for Databasesgoogleapis
94

MCP Toolbox for Databases is an open source MCP server that connects AI agents, IDEs and applications to enterprise databases. It provides prebuilt tools for exploring schemas and running queries, plus a framework for custom tools. It is aimed at developers building agents that need database access.

AAA Local 17k
MCP Toolbox for Databasesgoogleapis
94

Connects AI agents, IDEs and applications to enterprise databases through the Model Context Protocol. Offers prebuilt database tools for MCP clients and a framework for building custom tools for production agents.

AAA Local 17k
mongodb-mcp-servermongodb-js
94

MongoDB MCP Server lets AI assistants interact with MongoDB databases and MongoDB Atlas. It is an official server from mongodb-js, run locally with npx or Docker. It works with self-managed deployments and Atlas clusters.

AAA Local 203k/wk

Compare with Supabase, ArcadeDB MCP Server or DBHub

mcp-neo4j-cypher: common questions

Does mcp-neo4j-cypher need the APOC plugin?

The source says the APOC plugin must be installed and enabled on the Neo4j instance for schema inspection.

Can mcp-neo4j-cypher write data to Neo4j?

Yes. The source says it executes generated read and write Cypher queries on the configured database.

Is mcp-neo4j-cypher an official Neo4j product?

The source says it is part of the Neo4j Labs program and is not supported by the Neo4j product team. The official Neo4j MCP server is a separate project.

How do I install mcp-neo4j-cypher?

In Claude Code run claude mcp add mcp-neo4j-cypher -e NEO4J_URI=YOUR_NEO4J_URI -e NEO4J_USERNAME=YOUR_NEO4J_USERNAME -e NEO4J_PASSWORD=YOUR_NEO4J_PASSWORD -- uvx mcp-neo4j-cypher. For Claude Desktop, Cursor and VS Code, paste the config shown above and restart. See the install guides.

Is mcp-neo4j-cypher the official server?

mcp-neo4j-cypher is a community project by neo4j-contrib, not verified by a company domain.

Is mcp-neo4j-cypher free?

The code is published under the MIT licence. The service it connects to may have its own pricing.

Is mcp-neo4j-cypher safe to use?

It scores 82 of 100. Grades: maintenance B, licence A, quality A. Security check: grade A, no risky patterns found in the files checked. Review the code before you install. How grades work.

What are alternatives to mcp-neo4j-cypher?

Similar MCP servers: Supabase, ArcadeDB MCP Server, DBHub, MCP Toolbox for Databases.

Does mcp-neo4j-cypher work with ChatGPT?

Not directly. It runs locally, and ChatGPT only connects to remote servers with a URL. Use it in Claude Code, Claude Desktop, Cursor, VS Code or Codex.

mcp-neo4j-cypher Install

Add to stack

Loading.