Command Palette

Search for a command to run...

Назад к скиллам
скилл № 98502

neo4j-mcp-skill

Use when installing, configuring, or troubleshooting the official Neo4j MCP server (neo4j/mcp) — connecting Claude Code, Claude Desktop, Cursor, Windsurf, VS…

БесплатноБез исполняемых скриптов
neo4jот neo4j★ 126 звёзд на GitHub

Установить neo4j-mcp-skill в Claude Code и Claude Desktop

Зарегайся, чтобы установить скилл

Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.

  • Открой команду установки в одну строку
  • Сохраняй скиллы в синхронизируемую библиотеку
  • Уведомления, когда скиллы обновляются
Зарегаться бесплатноУ меня уже есть аккаунт

Об этом скилле

Neo4j MCP Skill

Installs and configures the official Neo4j MCP server so AI agents can connect to Neo4j via any MCP-compatible client.

When to Use

  • Connecting Claude Code, Claude Desktop, Cursor, Windsurf, VS Code, Kiro, or another editor to Neo4j via MCP
  • Installing the server (neo4j-mcp binary or neo4j-mcp-server from PyPI) and writing the correct config for a specific editor
  • Switching between stdio and HTTP transport
  • Enabling or disabling write access (NEO4J_MCP_READ_ONLY)
  • Troubleshooting "MCP server not found" or connection errors

When NOT to Use

  • Writing or optimizing Cypher queries → use neo4j-cypher-skill
  • Provisioning a new Neo4j Aura instance → use neo4j-aura-provisioning-skill
  • Agent long-term memory → use neo4j-agent-memory-skill
  • neo4j-admin / cypher-shell / aura-cli → use neo4j-cli-tools-skill

Version: server 2.0.0 (2026-10-28) breaking changes

  • Only NEO4J_MCP_* env vars (NEO4J_MCP_URI, NEO4J_MCP_USERNAME, NEO4J_MCP_PASSWORD, NEO4J_MCP_DATABASE, NEO4J_MCP_READ_ONLY, ...) and unprefixed flags (--uri, --username, --read-only, ...). Old NEO4J_* names and --neo4j-* flags removed — v1.x configs fail.
  • STDIO: NEO4J_MCP_DATABASE required (no longer defaults to neo4j).
  • HTTP: endpoint /db/{database}/mcp; URI and credentials per request; NEO4J_MCP_HTTP_ALLOWED_URIS required.
  • Check version: neo4j-mcp -v. On v1.x, upgrade rather than mixing old names. CHANGELOG

Available MCP Tools

Tool Type What it does
get-schema read Returns labels, relationship types, property keys, and indexes
read-cypher read Executes read-only Cypher (MATCH, RETURN, SHOW)
write-cypher write Executes write Cypher (MERGE, CREATE, SET, DELETE) — not exposed when NEO4J_MCP_READ_ONLY=true
list-gds-procedures read Lists available Graph Data Science procedures; omitted from the tool list when GDS is not installed

Installation

Step 1 — Install and find the absolute path

# Option A: PyPI — command name is neo4j-mcp-server
pip install neo4j-mcp-server        # or run without install: uvx neo4j-mcp-server

# Option B: Homebrew or release binary — command name is neo4j-mcp
brew install neo4j-mcp
# or download from https://github.com/neo4j/mcp/releases (neo4j-mcp_<OS>_<arch>.tar.gz / .zip)

# Option C: Docker
docker pull neo4j/mcp

Get the absolute path — you will need this in Step 3. Use the name that matches the install method:

which neo4j-mcp-server   # PyPI, e.g. /Users/you/project/.venv/bin/neo4j-mcp-server
which neo4j-mcp          # Homebrew/binary, e.g. /usr/local/bin/neo4j-mcp

neo4j-mcp -v             # binary: prints version; expect 2.x

Why absolute path matters: editors (Claude Code, Cursor, Claude Desktop) spawn the MCP server as a subprocess using their own restricted PATH — not your shell's PATH. On macOS, GUI apps do not inherit .zshrc or .zprofile. Using a bare command name will silently fail; using the absolute path always works. Always use the output of which in the command field below (/full/path/to/neo4j-mcp in the examples — substitute neo4j-mcp-server for PyPI installs).

Step 2 — Prepare credentials

# .env (gitignored)
NEO4J_MCP_URI=neo4j+s://<instance>.databases.neo4j.io   # Aura
# or bolt://localhost:7687                               # local
NEO4J_MCP_USERNAME=neo4j
NEO4J_MCP_PASSWORD=<password>
NEO4J_MCP_DATABASE=neo4j

Verify connectivity before configuring the editor:

source .env
cypher-shell -a "$NEO4J_MCP_URI" -u "$NEO4J_MCP_USERNAME" -p "$NEO4J_MCP_PASSWORD" -d "$NEO4J_MCP_DATABASE" \
  "RETURN 'connected' AS status"
# If cypher-shell not available: python3 -c "
# from neo4j import GraphDatabase, __version__
# d = GraphDatabase.driver('$NEO4J_MCP_URI', auth=('$NEO4J_MCP_USERNAME','$NEO4J_MCP_PASSWORD'))
# d.verify_connectivity(); print('connected'); d.close()"

Step 3 — Configure your editor

Pick the config block for your editor. All use STDIO transport (the MCP server runs as a subprocess of the editor).

Claude Code — project .mcp.json (repo root, under mcpServers) or claude mcp add (local/user scope, stored in ~/.claude.json). Never ~/.claude/settings.json — Claude Code ignores MCP servers there. If .mcp.json exists, merge the neo4j block into mcpServers — do not replace the file. Gitignore .mcp.json if it holds a password.

{
  "mcpServers": {
    "neo4j": {
      "command": "/full/path/to/neo4j-mcp",
      "env": {
        "NEO4J_MCP_URI": "neo4j+s://<host>",
        "NEO4J_MCP_USERNAME": "neo4j",
        "NEO4J_MCP_PASSWORD": "<password>",
        "NEO4J_MCP_DATABASE": "neo4j",
        "NEO4J_MCP_READ_ONLY": "true"
      }
    }
  }
}

CLI alternative (sets command and env; at least one option such as `--tran

Полный SKILL.md на GitHub

Разрешённые инструменты

Инструменты, которые скиллу разрешено вызывать.

  1. 01Bash
  2. 02WebFetch

Вложенные файлы

  • README.md

FAQ

Что делает скилл neo4j-mcp-skill?

Use when installing, configuring, or troubleshooting the official Neo4j MCP server (neo4j/mcp) — connecting Claude Code, Claude Desktop, Cursor, Windsurf, VS Code, Kiro, or other MCP-compatible editors to a Neo4j database via stdio or HTTP transport. Covers the four MCP tools (get-schema, read-cypher, write-cypher, list-gds-procedures), read-only mode, and multi-database configuration. Does NOT cover writing Cypher queries via those tools — use neo4j-cypher-skill. Does NOT cover agent memory — use neo4j-agent-memory-skill. Does NOT cover Aura instance provisioning — use neo4j-aura-provisioning-skill.

Как установить скилл neo4j-mcp-skill?

Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.

Скилл neo4j-mcp-skill запускает скрипты?

Нет, скилл состоит только из инструкций (SKILL.md), без исполняемых скриптов.

Похожие скиллы

Сравнить neo4j-mcp-skill с