Prototype · Preview: every server in the official registry, synced every 30 minutes. Sign in with Google to write reviews.Prototype · updated every 30 min
PopNx MCPMCP servers for people who use AI · explained in plain words

MCP Neo4j Cypher

by neo4j-contribversion 1.0.0i★ 991 (Stars for the whole repo)iRuns on your computerRepository ↗
Registry nameio.github.neo4j-contrib/mcp-neo4j-cypher

How to install

What it does

A simple Neo4j MCP server that allows you to run Cypher queries against a Neo4j database.

  • Connects Runs on your computer
  • Account or key Needs NEO4J_PASSWORD, NEO4J_RESPONSE_TOKEN_LIMIT · 2 settings to fill in (NEO4J_URI, NEO4J_USERNAME)
  • Category Databases & datasets

Use together with

Skills that teach the AI this kind of work; they work alongside this one

timesfm

TimesFM (Time Series Foundation Model) is a pretrained time-series foundation model developed by Google Research for time-series forecasting.

by google-research★ 35,6381 skills

Skill · How-to guide

Shadowbroker

Open-source intelligence for the global theater. Track everything from the corporate/private jets of the wealthy, and spy satellites, to seismic events in one unified interface. Hook an AI agent up to have it parse through data and find previously unseen correlations. The knowledge is available to…

by BigBodyCobain★ 11,6051 skills

Skill · How-to guide

google-maps-scraper

scrape data from Google Maps. Extracts data such as the name, address, phone number, website URL, rating, reviews number, latitude and longitude, reviews,email and more for each place

by gosom★ 8,2361 skills

Skill · How-to guide

Why it ranks here

Lists are ordered by a usage score (out of 100) built from these parts

Popularity45/80GitHub stars or weekly downloads: the larger counts 60, the smaller 20
Freshness7/12Full marks for a release or code change within 30 days
Still answering0/8The cloud endpoint answered at the last check
Usage score52/100

Quality: Passed 3/3 basic checks (shown, not used for ordering) · Momentum: No data yet (Used only on the Trending tab)

Install

Pick the AI app you use, then copy the settings.

Let your AI install it with one sentence

Please install MCP Neo4j Cypher. Follow https://mcp.popnx.com/i/neo4j-contrib-mcp-neo4j-cypher.md, show me the commands and wait for my OK before running them.

Paste it into an AI that can work on your computer (such as Claude Code or Cursor). It reads our steps, shows you the commands and waits for your OK. No key, no sign-up. · See the full text your AI reads

Passed 3/3 checks · Runs on your computer · ✓ Commands checked Nov 14, 2026

First: which AI do you use?

Pick your app and the steps appear below.

Works with Claude, with some setup first

You need a MCP Neo4j Cypher key (create it on the maker’s site) · 2 setting(s) to fill in (NEO4J_URI, NEO4J_USERNAME) · Install Python (uv) on your computer first (one time) · Only the Claude desktop app (Windows or Mac), not the web or phone

Let AI install it

Copy this message into a Claude chat. The AI checks your computer, tells you which file it will change, and waits for your OK every time.

Please install the MCP server MCP Neo4j Cypher for Claude on this computer, in this order: 1) Check uv with uv --version. If it is missing, tell me to install it from https://docs.astral.sh/uv/getting-started/installation/; do not install it yourself. 2) Use only this config (already checked by PopNx MCP): { "mcpServers": { "neo4j-cypher": { "command": "uvx", "args": [ "mcp-neo4j-cypher" ], "env": { "NEO4J_URI": "your-value", "NEO4J_USERNAME": "your-value", "NEO4J_PASSWORD": "your-value", "NEO4J_RESPONSE_TOKEN_LIMIT": "your-value" } } } } 3) Tell me the full path of the file you will change, or the command you will run, and wait for my OK. 4) For NEO4J_PASSWORD, NEO4J_RESPONSE_TOKEN_LIMIT, NEO4J_URI, NEO4J_USERNAME, leave "your-value" in place and tell me to paste the real value myself into the file or the app’s field. Never ask me to type a key in chat. 5) Do what we agreed, then check that the MCP Neo4j Cypher tools really show up.

This message has no key in it. If a key is needed, the AI will ask you to paste it yourself into the file or the app’s field.

  1. Install uv (if you don’t have it)

    Already installed? Check first · Open Terminal, type this command and press Enter

    uv --version
    • A version number such as uv … = installed, skip this step
    • "command not found" (on Windows: "is not recognized") = not installed yet, or installed but Terminal needs to be closed and reopened
    How to open Terminal

    Mac: press ⌘ + Space, type Terminal, press Enter

    Windows: open Start, type Windows PowerShell, then Open

    Not installed: uv has no click-through installer. Copy the one-line command for your system (macOS or Windows) from uv’s official page into Terminal · no separate Python install needed; uv downloads it when required

    Open the uv download page ↗

    When it’s done, close Terminal, open it again and run the same command. You should see a version number: uv --version

    Install once; it works for everything that needs uv

  2. Sign up and create a MCP Neo4j Cypher key

    Open the maker’s site, sign up and create an API key for the next step. Check the maker’s site for pricing and free plans.

    How to get a key is in the maker’s README below

  3. Fill in 2 setting(s)

    These are program settings, not keys. No sign-up needed; fill them in as the maker describes.

    • NEO4J_URI Neo4j connection URI
    • NEO4J_USERNAME Neo4j username

    Descriptions are as written by the maker.

  4. Open the Claude desktop app’s settings file

    SettingsDeveloperEdit Config

  5. Paste these settings and save the file

    {
      "mcpServers": {
        "neo4j-cypher": {
          "command": "uvx",
          "args": [
            "mcp-neo4j-cypher"
          ],
          "env": {
            "NEO4J_URI": "your-value",
            "NEO4J_USERNAME": "your-value",
            "NEO4J_PASSWORD": "your-value",
            "NEO4J_RESPONSE_TOKEN_LIMIT": "your-value"
          }
        }
      }
    }

    Paste the key only into the app’s field, never into a chat or to anyone

  6. Quit Claude and open it again

  7. Try it

    Use MCP Neo4j Cypher and tell me what you can do for me, then show me one thing

    ✓ If Claude says it is using MCP Neo4j Cypher or shows a MCP Neo4j Cypher tool in the answer, you are connected

5 optional setting(s) (works without them)

The command above works without these. Add them only if you want to change something, following the maker’s description.

  • NEO4J_DATABASE Neo4j database name
  • NEO4J_NAMESPACE Tool namespace prefix
  • NEO4J_READ_TIMEOUT Timeout in seconds for read queries
  • NEO4J_READ_ONLY Allow only read-only queries (true/false)
  • NEO4J_SCHEMA_SAMPLE_SIZE Schema sample size

Descriptions are as written by the maker.

Menu names checked against Anthropic’s help page on Nov 11, 2026 · your screen may differ slightly by app version

ChatGPT cannot connect MCP Neo4j Cypher yet

MCP Neo4j Cypher runs on your computer, but ChatGPT can only connect servers that run on the web

What you can do instead

A · Use an app that can connect MCP Neo4j Cypher

  • You need a MCP Neo4j Cypher key (create it on the maker’s site) · 2 setting(s) to fill in (NEO4J_URI, NEO4J_USERNAME) · Install Python (uv) on your computer first (one time) · Only the Claude desktop app (Windows or Mac), not the web or phone
  • You need a MCP Neo4j Cypher key (create it on the maker’s site) · 2 setting(s) to fill in (NEO4J_URI, NEO4J_USERNAME) · Install Python (uv) on your computer first (one time)
  • You need a MCP Neo4j Cypher key (create it on the maker’s site) · 2 setting(s) to fill in (NEO4J_URI, NEO4J_USERNAME) · Install Python (uv) on your computer first (one time)
  • You need a MCP Neo4j Cypher key (create it on the maker’s site) · 2 setting(s) to fill in (NEO4J_URI, NEO4J_USERNAME) · Install Python (uv) on your computer first (one time)

B · Others in Databases & datasets that work with ChatGPT

Picked from the most used in the same category, only ones that connect by address with no key

Works with Claude Code, with some setup first

You need a MCP Neo4j Cypher key (create it on the maker’s site) · 2 setting(s) to fill in (NEO4J_URI, NEO4J_USERNAME) · Install Python (uv) on your computer first (one time)

Let AI install it

Copy this message into a Claude Code chat. The AI checks your computer, tells you which file it will change, and waits for your OK every time.

Please install the MCP server MCP Neo4j Cypher for Claude Code on this computer, in this order: 1) Check uv with uv --version. If it is missing, tell me to install it from https://docs.astral.sh/uv/getting-started/installation/; do not install it yourself. 2) Use only this config (already checked by PopNx MCP): claude mcp add --scope user neo4j-cypher --env NEO4J_URI=your-value --env NEO4J_USERNAME=your-value --env NEO4J_PASSWORD=your-value --env NEO4J_RESPONSE_TOKEN_LIMIT=your-value -- uvx mcp-neo4j-cypher 3) Tell me the full path of the file you will change, or the command you will run, and wait for my OK. 4) For NEO4J_PASSWORD, NEO4J_RESPONSE_TOKEN_LIMIT, NEO4J_URI, NEO4J_USERNAME, leave "your-value" in place and tell me to paste the real value myself into the file or the app’s field. Never ask me to type a key in chat. 5) Do what we agreed, then check that the MCP Neo4j Cypher tools really show up.

This message has no key in it. If a key is needed, the AI will ask you to paste it yourself into the file or the app’s field.

  1. Install uv (if you don’t have it)

    Already installed? Check first · Open Terminal, type this command and press Enter

    uv --version
    • A version number such as uv … = installed, skip this step
    • "command not found" (on Windows: "is not recognized") = not installed yet, or installed but Terminal needs to be closed and reopened
    How to open Terminal

    Mac: press ⌘ + Space, type Terminal, press Enter

    Windows: open Start, type Windows PowerShell, then Open

    Not installed: uv has no click-through installer. Copy the one-line command for your system (macOS or Windows) from uv’s official page into Terminal · no separate Python install needed; uv downloads it when required

    Open the uv download page ↗

    When it’s done, close Terminal, open it again and run the same command. You should see a version number: uv --version

    Install once; it works for everything that needs uv

  2. Sign up and create a MCP Neo4j Cypher key

    Open the maker’s site, sign up and create an API key for the next step. Check the maker’s site for pricing and free plans.

    How to get a key is in the maker’s README below

  3. Fill in 2 setting(s)

    These are program settings, not keys. No sign-up needed; fill them in as the maker describes.

    • NEO4J_URI Neo4j connection URI
    • NEO4J_USERNAME Neo4j username

    Descriptions are as written by the maker.

  4. Open Terminal

    Mac: press Command+Space and type Terminal · Windows: open PowerShell

  5. Paste this command and press Enter

    claude mcp add --scope user neo4j-cypher --env NEO4J_URI=your-value --env NEO4J_USERNAME=your-value --env NEO4J_PASSWORD=your-value --env NEO4J_RESPONSE_TOKEN_LIMIT=your-value -- uvx mcp-neo4j-cypher

    Replace “your-value” with your key before pressing Enter

    Paste the key only into the app’s field, never into a chat or to anyone

  6. Type /mcp in Claude Code

    You should see MCP Neo4j Cypher listed as connected

  7. Try it

    Use MCP Neo4j Cypher and tell me what you can do for me, then show me one thing

    ✓ If Claude Code says it is using MCP Neo4j Cypher or shows a MCP Neo4j Cypher tool in the answer, you are connected

5 optional setting(s) (works without them)

The command above works without these. Add them only if you want to change something, following the maker’s description.

  • NEO4J_DATABASE Neo4j database name
  • NEO4J_NAMESPACE Tool namespace prefix
  • NEO4J_READ_TIMEOUT Timeout in seconds for read queries
  • NEO4J_READ_ONLY Allow only read-only queries (true/false)
  • NEO4J_SCHEMA_SAMPLE_SIZE Schema sample size

Descriptions are as written by the maker.

Menu names checked against Anthropic’s help page on Nov 11, 2026 · your screen may differ slightly by app version

Works with Cursor, with some setup first

You need a MCP Neo4j Cypher key (create it on the maker’s site) · 2 setting(s) to fill in (NEO4J_URI, NEO4J_USERNAME) · Install Python (uv) on your computer first (one time)

Let AI install it

Copy this message into a Cursor chat. The AI checks your computer, tells you which file it will change, and waits for your OK every time.

Please install the MCP server MCP Neo4j Cypher for Cursor on this computer, in this order: 1) Check uv with uv --version. If it is missing, tell me to install it from https://docs.astral.sh/uv/getting-started/installation/; do not install it yourself. 2) Use only this config (already checked by PopNx MCP): { "mcpServers": { "neo4j-cypher": { "command": "uvx", "args": [ "mcp-neo4j-cypher" ], "env": { "NEO4J_URI": "your-value", "NEO4J_USERNAME": "your-value", "NEO4J_PASSWORD": "your-value", "NEO4J_RESPONSE_TOKEN_LIMIT": "your-value" } } } } 3) Tell me the full path of the file you will change, or the command you will run, and wait for my OK. 4) For NEO4J_PASSWORD, NEO4J_RESPONSE_TOKEN_LIMIT, NEO4J_URI, NEO4J_USERNAME, leave "your-value" in place and tell me to paste the real value myself into the file or the app’s field. Never ask me to type a key in chat. 5) Do what we agreed, then check that the MCP Neo4j Cypher tools really show up.

This message has no key in it. If a key is needed, the AI will ask you to paste it yourself into the file or the app’s field.

  1. Install uv (if you don’t have it)

    Already installed? Check first · Open Terminal, type this command and press Enter

    uv --version
    • A version number such as uv … = installed, skip this step
    • "command not found" (on Windows: "is not recognized") = not installed yet, or installed but Terminal needs to be closed and reopened
    How to open Terminal

    Mac: press ⌘ + Space, type Terminal, press Enter

    Windows: open Start, type Windows PowerShell, then Open

    Not installed: uv has no click-through installer. Copy the one-line command for your system (macOS or Windows) from uv’s official page into Terminal · no separate Python install needed; uv downloads it when required

    Open the uv download page ↗

    When it’s done, close Terminal, open it again and run the same command. You should see a version number: uv --version

    Install once; it works for everything that needs uv

  2. Sign up and create a MCP Neo4j Cypher key

    Open the maker’s site, sign up and create an API key for the next step. Check the maker’s site for pricing and free plans.

    How to get a key is in the maker’s README below

  3. Fill in 2 setting(s)

    These are program settings, not keys. No sign-up needed; fill them in as the maker describes.

    • NEO4J_URI Neo4j connection URI
    • NEO4J_USERNAME Neo4j username

    Descriptions are as written by the maker.

  4. Click this button to open Cursor

    Open in Cursor

    Cursor asks you to confirm; click Install

  5. Fill in your key

    In the MCP Neo4j Cypher settings, NEO4J_PASSWORD, NEO4J_RESPONSE_TOKEN_LIMIT, NEO4J_URI, NEO4J_USERNAME is empty; add your key and save

    Paste the key only into the app’s field, never into a chat or to anyone

  6. Open the AI chat in Cursor in Agent mode

  7. Try it

    Use MCP Neo4j Cypher and tell me what you can do for me, then show me one thing

    ✓ If Cursor says it is using MCP Neo4j Cypher or shows a MCP Neo4j Cypher tool in the answer, you are connected

5 optional setting(s) (works without them)

The command above works without these. Add them only if you want to change something, following the maker’s description.

  • NEO4J_DATABASE Neo4j database name
  • NEO4J_NAMESPACE Tool namespace prefix
  • NEO4J_READ_TIMEOUT Timeout in seconds for read queries
  • NEO4J_READ_ONLY Allow only read-only queries (true/false)
  • NEO4J_SCHEMA_SAMPLE_SIZE Schema sample size

Descriptions are as written by the maker.

Menu names checked against Cursor’s help page on Nov 11, 2026 · your screen may differ slightly by app version

Works with VS Code, with some setup first

You need a MCP Neo4j Cypher key (create it on the maker’s site) · 2 setting(s) to fill in (NEO4J_URI, NEO4J_USERNAME) · Install Python (uv) on your computer first (one time)

Let AI install it

Copy this message into a VS Code chat. The AI checks your computer, tells you which file it will change, and waits for your OK every time.

Please install the MCP server MCP Neo4j Cypher for VS Code on this computer, in this order: 1) Check uv with uv --version. If it is missing, tell me to install it from https://docs.astral.sh/uv/getting-started/installation/; do not install it yourself. 2) Use only this config (already checked by PopNx MCP): { "servers": { "neo4j-cypher": { "type": "stdio", "command": "uvx", "args": [ "mcp-neo4j-cypher" ], "env": { "NEO4J_URI": "your-value", "NEO4J_USERNAME": "your-value", "NEO4J_PASSWORD": "your-value", "NEO4J_RESPONSE_TOKEN_LIMIT": "your-value" } } } } 3) Tell me the full path of the file you will change, or the command you will run, and wait for my OK. 4) For NEO4J_PASSWORD, NEO4J_RESPONSE_TOKEN_LIMIT, NEO4J_URI, NEO4J_USERNAME, leave "your-value" in place and tell me to paste the real value myself into the file or the app’s field. Never ask me to type a key in chat. 5) Do what we agreed, then check that the MCP Neo4j Cypher tools really show up.

This message has no key in it. If a key is needed, the AI will ask you to paste it yourself into the file or the app’s field.

  1. Install uv (if you don’t have it)

    Already installed? Check first · Open Terminal, type this command and press Enter

    uv --version
    • A version number such as uv … = installed, skip this step
    • "command not found" (on Windows: "is not recognized") = not installed yet, or installed but Terminal needs to be closed and reopened
    How to open Terminal

    Mac: press ⌘ + Space, type Terminal, press Enter

    Windows: open Start, type Windows PowerShell, then Open

    Not installed: uv has no click-through installer. Copy the one-line command for your system (macOS or Windows) from uv’s official page into Terminal · no separate Python install needed; uv downloads it when required

    Open the uv download page ↗

    When it’s done, close Terminal, open it again and run the same command. You should see a version number: uv --version

    Install once; it works for everything that needs uv

  2. Sign up and create a MCP Neo4j Cypher key

    Open the maker’s site, sign up and create an API key for the next step. Check the maker’s site for pricing and free plans.

    How to get a key is in the maker’s README below

  3. Fill in 2 setting(s)

    These are program settings, not keys. No sign-up needed; fill them in as the maker describes.

    • NEO4J_URI Neo4j connection URI
    • NEO4J_USERNAME Neo4j username

    Descriptions are as written by the maker.

  4. Click this button to open VS Code

    Open in VS Code

    VS Code asks you to confirm; click Install

  5. Fill in your key

    In the MCP Neo4j Cypher settings, NEO4J_PASSWORD, NEO4J_RESPONSE_TOKEN_LIMIT, NEO4J_URI, NEO4J_USERNAME is empty; add your key and save

    Paste the key only into the app’s field, never into a chat or to anyone

  6. Open the AI chat in VS Code in Agent mode

  7. Try it

    Use MCP Neo4j Cypher and tell me what you can do for me, then show me one thing

    ✓ If VS Code says it is using MCP Neo4j Cypher or shows a MCP Neo4j Cypher tool in the answer, you are connected

5 optional setting(s) (works without them)

The command above works without these. Add them only if you want to change something, following the maker’s description.

  • NEO4J_DATABASE Neo4j database name
  • NEO4J_NAMESPACE Tool namespace prefix
  • NEO4J_READ_TIMEOUT Timeout in seconds for read queries
  • NEO4J_READ_ONLY Allow only read-only queries (true/false)
  • NEO4J_SCHEMA_SAMPLE_SIZE Schema sample size

Descriptions are as written by the maker.

Menu names checked against VS Code’s help page on Nov 11, 2026 · your screen may differ slightly by app version

Other apps that use MCP, such as Windsurf, Zed or Gemini CLI, each add servers differently. See how in the app list.

See every app that uses MCP →

JSON settings are under “For developers” below

Stuck? Ask people who use MCP Neo4j Cypher💬 Discussion →
For developers: Terminal commands and JSON settings

Installed on your computer

Claude Code

claude mcp add --scope user neo4j-cypher --env NEO4J_URI=your-value --env NEO4J_USERNAME=your-value --env NEO4J_PASSWORD=your-value --env NEO4J_RESPONSE_TOKEN_LIMIT=your-value -- uvx mcp-neo4j-cypher

Claude Desktop (claude_desktop_config.json)

{
  "mcpServers": {
    "neo4j-cypher": {
      "command": "uvx",
      "args": [
        "mcp-neo4j-cypher"
      ],
      "env": {
        "NEO4J_URI": "your-value",
        "NEO4J_USERNAME": "your-value",
        "NEO4J_PASSWORD": "your-value",
        "NEO4J_RESPONSE_TOKEN_LIMIT": "your-value"
      }
    }
  }
}

Cursor (~/.cursor/mcp.json)

{
  "mcpServers": {
    "neo4j-cypher": {
      "command": "uvx",
      "args": [
        "mcp-neo4j-cypher"
      ],
      "env": {
        "NEO4J_URI": "your-value",
        "NEO4J_USERNAME": "your-value",
        "NEO4J_PASSWORD": "your-value",
        "NEO4J_RESPONSE_TOKEN_LIMIT": "your-value"
      }
    }
  }
}

VS Code (mcp.json)

{
  "servers": {
    "neo4j-cypher": {
      "type": "stdio",
      "command": "uvx",
      "args": [
        "mcp-neo4j-cypher"
      ],
      "env": {
        "NEO4J_URI": "your-value",
        "NEO4J_USERNAME": "your-value",
        "NEO4J_PASSWORD": "your-value",
        "NEO4J_RESPONSE_TOKEN_LIMIT": "your-value"
      }
    }
  }
}

Values you fill in

  • NEO4J_URI required env
    Neo4j connection URI
  • NEO4J_USERNAME required env
    Neo4j username
  • NEO4J_PASSWORD secret required env
    Neo4j password
  • NEO4J_DATABASE env
    Neo4j database name
  • NEO4J_NAMESPACE env
    Tool namespace prefix
  • NEO4J_RESPONSE_TOKEN_LIMIT secret required env
    Maximum tokens for read query responses
  • NEO4J_READ_TIMEOUT env
    Timeout in seconds for read queries
  • NEO4J_READ_ONLY env
    Allow only read-only queries (true/false)
  • NEO4J_SCHEMA_SAMPLE_SIZE env
    Schema sample size

Descriptions are as written by the maker.

These settings are generated from the maker’s registry entry. If the README says otherwise, follow the README.

At a glance

GitHub starsi
991 (Stars for the whole repo)
This repo holds several MCP listings; its stars count once in rankings
Downloads per weeki
8,771/wk
Connection
Runs on your computer
Latest versioni
1.0.0
Published to registryi
Nov 8, 2025
Code last changedi
Sep 9, 2026
Maker
neo4j-contrib
Packages
pypi: mcp-neo4j-cypher
Registry status
Active

Which apps can use it

Based on how this server connects and on each app’s own docs, checked Nov 10, 2026.

Run on your computer in

ClaudeGooseLM StudioMsty StudioCherry StudioCursorVS Code + GitHub CopilotVisual StudioWindsurf (Devin Desktop)ZedKiroClineContinueJetBrains AI AssistantClaude CodeCodex CLIGemini CLIOpenCodenodecodeWarpLibreChatRaycast

All apps, with pros and cons →

Related guides

What it can do

Runs on your computer; the tool list appears in your AI app after you install it.

Basic checksi

We check information anyone can see; we have not read the code. Checks that do not apply are left out of the count. · Checked Nov 19, 2026

  • ✓ Pass

    Maker matches the repo

    The registry name was verified with the GitHub account neo4j-contrib, which owns the repo

  • ✓ Pass

    Still maintained

    Code last changed 2 months ago

  • ✓ Pass

    Has a licence

    Uses MIT

  • – Not applicable

    Endpoint responds

    This one runs on your computer; there is no internet endpoint

  • – Not applicable

    Sign-in with OAuth

    Runs on your computer and uses local settings instead

  • … Not checked yet

    No hidden instructions in tool descriptions

    Runs on your computer; we can only read tool lists from internet endpoints

Published vulnerabilities (OSV.dev)

2 entries on OSV.dev for mcp-neo4j-cypher@0.5.1 · Low 1 · Level not given 1

  • GHSA-x3cv-r3g3-fpg9 · Low · Neo4j Labs MCP Servers: SSRF and Data Modification via read_only Mode Bypass Through CALL Procedures
  • PYSEC-2026-2626 · Level not given · Neo4j Labs MCP Servers: SSRF and Data Modification via read_only Mode Bypass Through CALL Procedures

Checks only this package version, not every dependency · checked Nov 15, 2026

What we check → · JSON

Makers: ask for a re-check or report wrong info
For makers: add a badge to your README

If you made this, paste this code into your README. The badge links back to this page.

[![Featured on PopNx MCP](https://mcp.popnx.com/badge/neo4j-contrib-mcp-neo4j-cypher.svg)](https://mcp.popnx.com/en/servers/neo4j-contrib-mcp-neo4j-cypher)

Discussion

Ask, share a tip or report that it does not work. Sorted by what people marked helpful.

No posts yet. Be the first to ask or share.

Posts here are written by users, not the PopNx team.

Sign in to post

User reviews

No reviews yet

Sign in to write a review

Compared with others in Databases & datasetsi

  • More stars than 98% of the other 1242 servers in this category
  • Published to the registry more recently than 1% of the other 1242 servers in this category
  • Basic checks equal to or better than 99% of the other 1242 servers in this category

Compared with every active server in this category in the registry. Stars count only when the publisher owns the repo.

Common questions

Is MCP Neo4j Cypher safe?

It passed 3 of 3 applicable basic checks. We have not read the code. Before adding a key or token, see what access the server asks for and use a key with only the permissions you need.

What keys or codes does it need?

You need to fill in: NEO4J_PASSWORD, NEO4J_RESPONSE_TOKEN_LIMIT

Does it run on my computer or in the cloud?

It runs on your computer. Your AI app starts it when needed, and data does not pass through the maker’s servers (unless it calls an online service itself).

Is it still maintained?

The GitHub repo last changed 2 months ago, and the latest version (1.0.0) reached the registry 13 months ago.

Which apps can use it?

Apps that support MCP, such as Claude Desktop, Claude Code, Cursor and VS Code. You also need Python (uv) on your computer.

What can I use instead?

In the same category: QueryWeaver, Supabase, Neon, DBCode, Keboola MCP

Similar alternatives

Same category, other makers, commands already checked. Official ones first, then by stars.

Reading a card:↓ Downloads per weeki★ GitHub starsiThree pillars: reviews · checks · usageiUpdated = latest version published to the registryi

QueryWeaver

An MCP server for Text2SQL: transforms natural language into SQL using graph schema understanding.

by FalkorDBGrowing★ 1.1KUpdated 14 months ago

Runs on your computer✓ falkordb.com

Supabase

Supabase’s official server lets AI create tables, query data and review project settings in your Supabase database.

by supabaseWidely used↓ 245.5K/wk★ 3K Stars for the whole repoUpdated yesterday

Computer or cloud✓ service owner · supabase.com

Neon

Official Neon MCP server for managing Neon projects and Lakebase Postgres databases.

by neondatabaseGrowing★ 667Updated 13 days ago

Runs in the cloud✓ service owner · neon.com

DBCode

Query and explore 100+ databases through your DBCode connections.

by dbcodeioEarly↓ 118/wk★ 368 Stars for the whole repoUpdated 2 months ago

Runs on your computer✓ service owner · dbcode.io

Keboola MCP

Connect your AI assistants to Keboola and expose your data, transformations, SQL queries, ...

by keboolaGrowing↓ 1.4K/wk★ 84Updated today

Computer or cloud✓ service owner · keboola.com
Compared with similar ones
This one
MCP Neo4j Cypher
QueryWeaverSupabaseNeonDBCodeKeboola MCP
Runs whereInstalls on your computerInstalls on your computerCloud or install on your computerRuns in the cloud, nothing to installInstalls on your computerCloud or install on your computer
Needs a keyYesNoYesNoNoNo
Add with + in ClaudeNoNoYesYesNoNo
Basic checks3/33/35/55/52/35/5
LicenseMITAGPL-3.0Apache-2.0MITNOASSERTIONMIT
PriceNo cost listed in the registryNo cost listed in the registryNo cost listed in the registryNo cost listed in the registryNo cost listed in the registryNo cost listed in the registry

README from the maker

Open the README

Copied from the maker’s repo as written. PopNx MCP has not reviewed or endorsed it. HTML, images and scripts are removed. Links lead off this site.

🔍⁉️ Neo4j MCP Server

mcp-name: io.github.neo4j-contrib/mcp-neo4j-cypher

🌟 Overview

A Model Context Protocol (MCP) server implementation that provides database interaction and allows graph exploration capabilities through Neo4j. This server enables running Cypher graph queries, analyzing complex domain data, and automatically generating business insights that can be enhanced further with an application's analysis tools.

This MCP server facilitates Text2Cypher workflows like the one detailed below.

  • Blue steps are handled by the agent
  • Purple by the Cypher or another MCP server
  • Green by the user

A user question is input to the process and the output is an answer generated by the agent.

📋 Prerequisites

  • Neo4j Database: A running Neo4j instance (Aura or Self-Managed)
  • APOC Plugin: The APOC plugin must be installed and enabled on your Neo4j instance. This is required for the get_neo4j_schema tool to function correctly.

🧩 Components

🛠️ Tools

The server offers these core tools:

📊 Query Tools
  • read_neo4j_cypher
  • Execute Cypher read queries to read data from the database
  • Input:
  • query (string): The Cypher query to execute
  • params (dictionary, optional): Parameters to pass to the Cypher query
  • Returns: Query results as JSON serialized array of objects
  • Timeout: Read queries are subject to a configurable timeout (default: 30 seconds) to prevent long-running queries from disrupting conversational flow
  • write_neo4j_cypher
  • Execute updating Cypher queries
  • Input:
  • query (string): The Cypher update query
  • params (dictionary, optional): Parameters to pass to the Cypher query
  • Returns: A JSON serialized result summary counter with { nodes_updated: number, relationships_created: number, ... }
  • Availability: May be disabled by supplying --read-only as cli flag or NEO4J_READ_ONLY=true environment variable
🕸️ Schema Tools
  • 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
  • Requirement: Requires the APOC plugin to be installed and enabled.
  • Input:
  • sample_param (integer, optional): Number of nodes to sample for schema analysis. Overrides server default if provided.
  • Returns: JSON serialized list of node labels with two dictionaries: one for attributes and one for relationships
  • Performance: Uses sampling by default (1000 nodes per label). Reduce number for faster analysis on large databases. To stop sampling, set to -1.
🏷️ Namespacing

The server supports namespacing to allow multiple Neo4j MCP servers to be used simultaneously. When a namespace is provided, all tool names are prefixed with the namespace followed by a hyphen (e.g., mydb-read_neo4j_cypher).

This is useful when you need to connect to multiple Neo4j databases or instances from the same session.

⚙️ Query Configuration

The server provides configuration options to optimize query performance and manage response sizes:

⏱️ Query Timeouts

Configure timeouts for read queries to prevent long-running queries from disrupting conversational flow:

Command Line:

mcp-neo4j-cypher --read-timeout 60  # 60 seconds

Environment Variable:

export NEO4J_READ_TIMEOUT=60

Docker:

docker run -e NEO4J_READ_TIMEOUT=60 mcp-neo4j-cypher:latest

Default: 30 seconds. Read queries that exceed this timeout will be automatically cancelled to maintain responsive interactions with AI models.

📏 Token Limits

Control the maximum size of query responses to prevent overwhelming the AI model:

Command Line:

mcp-neo4j-cypher --token-limit 4000

Environment Variable:

export NEO4J_RESPONSE_TOKEN_LIMIT=4000

Docker:

docker run -e NEO4J_RESPONSE_TOKEN_LIMIT=4000 mcp-neo4j-cypher:latest

When a response exceeds the token limit, it will be automatically truncated to fit within the specified limit using tiktoken. This ensures:

  • Consistent Performance: Responses stay within model context limits
  • Cost Control: Prevents excessive token usage in AI interactions
  • Reliability: Large datasets don't break the conversation flow

Note: Token limits only apply to read_neo4j_cypher responses. Schema queries and write operations return summary information and are not affected.

🔍 Schema Sampling

Control the performance and scope of schema inspection with the sample parameter for the get_neo4j_schema tool:

Command Line:

mcp-neo4j-cypher --sample 1000  # Sample 1000 nodes per label

Environment Variable:

export NEO4J_SCHEMA_SAMPLE_SIZE=1000

Docker:

docker run -e NEO4J_SCHEMA_SAMPLE_SIZE=1000 mcp-neo4j-cypher:latest

The sample parameter controls how many nodes are examined when generating the database schema:

  • Default: 1000 nodes per label are sampled for schema analysis
  • Performance: Lower values (100, 500) provide faster schema inspection on large databases
  • Accuracy: Higher values (5000, 10000) provide more comprehensive schema coverage
  • Full Scan: Set to -1 to examine all nodes (can be very slow on large databases)
  • Per-Call Override: The get_neo4j_schema tool accepts a sample_param parameter to override the server default

How Sampling Works (via APOC's apoc.meta.schema):

  • For each node label, a skip count is calculated: totalNodesForLabel / sample ± 10%
  • Every Nth node is examined based on the skip count
  • Higher sample numbers result in more nodes being examined
  • Results may vary between runs due to random sampling

Example Scenarios:

# Fast schema inspection for large databases

export NEO4J_SCHEMA_SAMPLE_SIZE=100

Balanced performance and accuracy (default)

export NEO4J_SCHEMA_SAMPLE_SIZE=1000

Comprehensive schema analysis

export NEO4J_SCHEMA_SAMPLE_SIZE=5000

Full database scan (use with caution on large databases)

export NEO4J_SCHEMA_SAMPLE_SIZE=-1

Performance Considerations:

  • Large Databases: Use lower sample values (100-500) to prevent timeouts
  • Development: Higher sample values (1000-5000) for thorough schema understanding
  • Production: Balance between performance and schema completeness based on your use case

🏗️ Local Development & Deployment

🐳 Local Docker Development

Build and run locally for testing or remote deployment:

# Build the Docker image with a custom name from your local version of the server

docker build -t mcp-neo4j-cypher:latest .

Run locally (uses http transport by default for Docker)

docker run -p 8000:8000 \ -e NEO4J_URI="bolt://host.docker.internal:7687" \ -e NEO4J_USERNAME="neo4j" \ -e NEO4J_PASSWORD="your-password" \ mcp-neo4j-cypher:latest

Access the server at http://localhost:8000/mcp/

🚀 Transport Modes

The server supports different transport protocols depending on your deployment:

  • STDIO (for local development): Standard input/output for Claude Desktop and local tools
  • HTTP (for remote deployments): RESTful HTTP for web deployments and microservices
  • SSE: Server-Sent Events for legacy web-based deployments

Choose your transport based on use case:

  • Local development/Claude Desktop: Use stdio
  • Remote deployment: Use http
  • Legacy web clients: Use sse

🔒 Security Protection

The server includes comprehensive security protection with secure defaults that protect against common web-based attacks while preserving full MCP functionality when using HTTP transport.

🛡️ DNS Rebinding Protection

TrustedHost Middleware validates Host headers to prevent DNS rebinding attacks:

Secure by Default:

  • Only localhost and 127.0.0.1 hosts are allowed by default
  • Malicious websites cannot trick browsers into accessing your local server

Environment Variable:

export NEO4J_MCP_SERVER_ALLOWED_HOSTS="example.com,www.example.com"
🌐 CORS Protection

Cross-Origin Resource Sharing (CORS) protection blocks browser-based requests by default:

Environment Variable:

export NEO4J_MCP_SERVER_ALLOW_ORIGINS="https://example.com,https://example.com"
🔧 Complete Security Configuration

Development Setup:

mcp-neo4j-cypher --transport http \

--allowed-hosts "localhost,127.0.0.1" \ --allow-origins "http://localhost:3000"

Production Setup:

mcp-neo4j-cypher --transport http \

--allowed-hosts "example.com,www.example.com" \ --allow-origins "https://example.com,https://example.com"

🚨 Security Best Practices

For `allow_origins`:

  • Be specific: ["https://example.com", "https://example.com"]
  • Never use "*" in production with credentials
  • Use HTTPS origins in production

For `allowed_hosts`:

  • Include your actual domain: ["example.com", "www.example.com"]
  • Include localhost only for development
  • Never use "*" unless you understand the risks

🔧 Usage with Claude Desktop

Using DXT

Download the latest .dxt file from the releases page and install it with your MCP client.

💾 Released Package

Can be found on PyPi https://pypi.org/project/mcp-neo4j-cypher/

Add the server to your claude_desktop_config.json with the database connection configuration through environment variables. You may also specify the transport method, namespace and other config variables with cli arguments or environment variables.

{

"mcpServers": { "neo4j-database": { "command": "uvx", "args": [ "mcp-neo4j-cypher@0.6.0", "--transport", "stdio" ], "env": { "NEO4J_URI": "bolt://localhost:7687", "NEO4J_USERNAME": "neo4j", "NEO4J_PASSWORD": " ", "NEO4J_DATABASE": "neo4j" } } } }

🌐 HTTP Transport Configuration

For custom HTTP configurations with security middleware:

# Complete HTTP configuration with security

mcp-neo4j-cypher --transport http \ --server-host 127.0.0.1 \ --server-port 8080 \ --server-path /mcp/ \ --allowed-hosts "localhost,127.0.0.1,example.com" \ --allow-origins "https://yourapp.com"

Using environment variables

export NEO4J_TRANSPORT=http export NEO4J_MCP_SERVER_HOST=127.0.0.1 export NEO4J_MCP_SERVER_PORT=8080 export NEO4J_MCP_SERVER_PATH=/mcp/ export NEO4J_MCP_SERVER_ALLOWED_HOSTS="localhost,127.0.0.1,example.com" export NEO4J_MCP_SERVER_ALLOW_ORIGINS="https://yourapp.com" mcp-neo4j-cypher

Multiple Database Example

Here's an example of connecting to multiple Neo4j databases using namespaces:

{

"mcpServers": { "movies-neo4j": { "command": "uvx", "args": ["mcp-neo4j-cypher@0.6.0", "--namespace", "movies"], "env": { "NEO4J_URI": "neo4j+s://demo.neo4jlabs.com", "NEO4J_USERNAME": "recommendations", "NEO4J_PASSWORD": "recommendations", "NEO4J_DATABASE": "recommendations" } }, "local-neo4j": { "command": "uvx", "args": ["mcp-neo4j-cypher@0.6.0"], "env": { "NEO4J_URI": "bolt://localhost:7687", "NEO4J_USERNAME": "neo4j", "NEO4J_PASSWORD": "password", "NEO4J_DATABASE": "neo4j", "NEO4J_NAMESPACE": "local" } } } }

In this setup:

  • The movies database tools will be prefixed with movies- (e.g., movies-read_neo4j_cypher)
  • The local database tools will be prefixed with local- (e.g., local-get_neo4j_schema)

Syntax with --db-url, --username, --password, --read-timeout and other command line arguments is still supported but environ

Only the beginning is shown; read the rest in the repo