# mcp-neo4j-server

> MCP Server

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

## Overview

- **Category:** Database
- **Language:** TypeScript
- **Stars:** 59
- **Forks:** 4
- **Owner:** da-okazaki
- **GitHub:** https://github.com/da-okazaki/mcp-neo4j-server
- **Created:** 2025-01-05T12:19:28+00:00
- **Updated:** 2025-03-28T21:08:41+00:00
- **Source:** https://model-context-protocol.com/servers/neo4j-graph-database-natural-language-interface

## Setup

## Setup

1.  Run the MCP server directly using npx: `npx @alanse/mcp-neo4j`
2.  Alternatively, add it to your Claude Desktop configuration with the provided JSON snippet, ensuring to set the `NEO4J_URI`, `NEO4J_USERNAME`, and `NEO4J_PASSWORD` environment variables.
3.  Install via Smithery: `npx -y @smithery/cli install @alanse/mcp-neo4j-server --client claude`
4.  For development, clone the repository, install dependencies using `npm install`, and build the project using `npm run build`.

## Tools

## Available Tools

1.  `execute_query`: Execute Cypher queries on the Neo4j database, supporting all query types and returning results in a structured format.
2.  `create_node`: Create a new node in the graph database, specifying node labels and properties.
3.  `create_relationship`: Create a relationship between two existing nodes, defining relationship type, direction, and properties.
