Neo4j Server is an MCP server that provides Model Context Protocol database interaction tools for exploring and modifying graph data stored in a Neo4j database. It connects to local or remote Neo4j instances via the Bolt protocol and supports both Server-Sent Events (SSE) and standard input/output (STDIO) transport mechanisms. Designed for developers, data engineers, and AI application builders using MCP clients like Cline, this server enables assistants to inspect graph structures, retrieve entities, and update database records dynamically. Users can inspect the database schema to understand available node types, labels, properties, and relationships. It includes dedicated tools to run read-only Cypher queries, returning structured arrays of graph records, as well as write queries that execute updates and provide operational summaries such as nodes created or updated. By supporting flexible transport options, the server can run as a local process launched directly by the client or operate as a standalone remote HTTP service accessible across networks.
Category: Databases & Data Stores
Tags: cypher, graph database, neo4j, nosql
bash git clone https://github.com/dsimile/mcp-neo4j-server-sse.git cd mcp-neo4j-server-sse 2. Install the requirements with Python 3.12+: bash pip install -r requirements.txt 3. Configure your client (such as Cline in cline_mcp_settings.json). For SSE mode, start the server using uv run .\src\mcp-neo4j-cypher\neo4j_server_remote.py --url bolt://localhost:7687 --username neo4j --password neo4j123 --database neo4j and add: json { "mcpServers": { "neo4j-remote": { "url": "http://0.0.0.0:8543/sse", "disabled": false, "autoApprove": [] } } } For STDIO mode, configure the client to run the command directly: json { "mcpServers": { "neo4j-local": { "disabled": false, "timeout": 60, "command": "uv", "args": ["run", "/absolute/path/to/neo4j_server_remote.py", "--url", "bolt://localhost:7687", "--username", "neo4j", "--password", "neo4j123", "--database", "neo4j", "--mode", "stdio"] } } }Part of MCP Servers
The server provides three primary tools: read-neo4j-cypher for executing Cypher read queries and returning records as objects, write-neo4j-cypher for running update queries and returning modification counters, and get-neo4j-schema for retrieving node types, attributes, and relationships.
It supports both Server-Sent Events (SSE) and STDIO transport modes. SSE mode runs an HTTP server on a specified port, such as 8543, while STDIO mode runs directly as a command-line process launched by an MCP client.
The server works with any client supporting the Model Context Protocol, including the Cline client, Claude Desktop, and other tools configured to communicate over either HTTP SSE endpoints or STDIO commands.
Yes, Neo4j Server is open source and released under the MIT License, which permits free use, modification, and distribution as specified in the project repository.