Neo4j MCP Server

mcp-neo4j-server-sse is an MCP server that uses Server-Sent Events (SSE) or STDIO as the transport protocol.

Local serverstdioPython

What is the Neo4j MCP server?

mcp-neo4j-server-sse is an MCP server that uses Server-Sent Events (SSE) or STDIO as the transport protocol. The neo4j mcp server wraps that behind the Model Context Protocol, so an assistant can use it through 7 defined tools rather than through you.

What it actually does

A Model Context Protocol (MCP) server implementation that provides database interaction and allows for graph exploration capabilities through Neo4j. This server enables the execution of Cypher graph queries, analysis of complex domain data, and supports the selection of remotely accessible databases. Inspired by neo4j-contrib/mcp-neo4j.

Adding it to your client

Setup follows the usual MCP pattern — install or clone the server, register it in your client's configuration file, restart the client. The configuration blocks on this page cover the common clients.

Its toolset

Everything the assistant can do here goes through one of these:

  • read-neo4j-cypher — Execute Cypher read queries to read data from the database
  • Input — - query (string): The Cypher query to execute
  • Returns — Query results as array of objects
  • write-neo4j-cypher — Execute updating Cypher queries
  • get-neo4j-schema — Get a list of all nodes types in the graph database, their attributes with name, type and relationships to other node types
  • Prompts — The Prompts tool exposed by this server
  • Tools — The Tools tool exposed by this server

Caveats

  • It runs with your machine's permissions. That is convenient and also the reason to think about what you point it at before you approve a tool call.
  • MCP clients confirm each tool call by default. Leave that on until you have watched what the neo4j mcp server does with a few real requests.

When to reach for it

Among the database access options, the useful question is rarely "what can it do" but "what does it cost you to run" — permissions, credentials, and how much of your context its toolset consumes. Neo4j's toolset — read-neo4j-cypher, Input, Returns and 4 more — is a fair guide to whether it matches your workflow. It is maintained by dsimile; worth a glance at recent repository activity before you build anything load-bearing on it.

This entry was verified against Neo4j's own documentation before publication; SyncDev keeps the directory reviewed rather than auto-generated.

Available tools

ToolWhat it does
read-neo4j-cypherExecute Cypher read queries to read data from the database
Input- query (string): The Cypher query to execute
ReturnsQuery results as array of objects
write-neo4j-cypherExecute updating Cypher queries
get-neo4j-schemaGet a list of all nodes types in the graph database, their attributes with name, type and relationships to other node types
PromptsThe Prompts tool exposed by this server.
ToolsThe Tools tool exposed by this server.

How to install the Neo4j MCP server

- STDIO Mode

```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"
      ]
    }
  }
}

Configuration as documented by the project. Restart the client after saving.

Example prompts to try

  • Use Neo4j to read-neo4j-cypher.
  • Use Neo4j to Input.
  • Use Neo4j to Returns.

Frequently asked questions

It supports Server‑Sent Events (SSE) as the default transport and STDIO as an alternative mode.