This repository provides an MCP server that integrates Neo4j graph databases with Claude Desktop, enabling natural language interaction for graph database operations. It offers tools for executing queries and managing
An MCP server that integrates Neo4j graph database with Claude Desktop, enabling natural language interaction for graph database operations. It allows users to interact with Neo4j using natural language through Claude Desktop.
Run the server directly using npx @alanse/mcp-neo4j
or integrate it into your Claude Desktop configuration by specifying the command, arguments, and environment variables for Neo4j connection details (URI, username, password).
Provides tools for interacting with a Neo4j database:
execute_query
: Executes Cypher queries, supporting all types (READ, CREATE, UPDATE, DELETE) with structured results and parameterization.create_node
: Creates new nodes with labels and properties, supporting all Neo4j data types.create_relationship
: Creates relationships between nodes, defining type, direction, and properties, requiring source and target node IDs.Install via Smithery using npx -y @smithery/cli install @alanse/mcp-neo4j-server --client claude
or clone the repository, install dependencies with npm install
, and build with npm run build
.
Requires environment variables: NEO4J_URI
, NEO4J_USERNAME
, and NEO4J_PASSWORD
.
Demonstrates querying, creating data, and creating relationships using natural language, with corresponding Cypher queries executed internally.
Run tests with npm test
.
MIT
da-okazaki/mcp-neo4j-server
January 5, 2025
March 28, 2025
TypeScript