MCP.so
Sign In
Servers

Neo4j MCP Server

@Tobarrientos2

A Neo4j MCP server implementation for managing graph database operations through the Model Context Protocol

Overview

What is Neo4j MCP Server?

A Neo4j MCP server implementation for managing graph database operations through the Model Context Protocol, compatible with both Cursor and Claude Desktop.

How to use Neo4j MCP Server?

Run directly with npx using a single connection string or separate environment variables, or install globally with npm install -g neo4j-mcpserver and run the command after setting NEO4J_CONNECTION or NEO4J_URI, NEO4J_USER, NEO4J_PASSWORD environment variables. Configuration can also be stored in a .env file.

Key features of Neo4j MCP Server

  • Execute Cypher queries against your Neo4j database
  • Compatible with Cursor and Claude Desktop
  • Supports single connection string or separate environment variables
  • Use .env file for configuration
  • Easy setup with npx or global npm install

Use cases of Neo4j MCP Server

  • Query Neo4j from AI assistants (Cursor, Claude Desktop)
  • Automate graph database operations via MCP tools
  • Integrate Cypher queries into MCP-compatible workflows

FAQ from Neo4j MCP Server

How do I connect to my Neo4j database?

Provide connection details via a single NEO4J_CONNECTION string (format: <uri>,<user>,<password>) or via separate NEO4J_URI, NEO4J_USER, NEO4J_PASSWORD environment variables, optionally using a .env file.

Which tools are available with Neo4j MCP Server?

The server provides the neo4j-query tool to execute Cypher queries against your Neo4j database.

What if the server is not detected in Cursor?

Verify that your Neo4j credentials are correct, ensure no spaces in the installation path, and try restarting Cursor. Check that environment variables are properly set and the server appears in Cursor's MCP server list.

What are the supported environment variables?

NEO4J_CONNECTION (comma-separated URI, user, password) or NEO4J_URI, NEO4J_USER, NEO4J_PASSWORD. A .env file can also be used.

Can I run Neo4j MCP Server locally?

Yes, clone the repository, run npm install, npm run build, and npm start.

Tags

More from Other