原型 · 预览版:收录官方注册中心里的全部服务器,每 30 分钟同步一次。评价和账户功能将在后续阶段推出。
PopNx MCP为使用 AI 的人准备的 MCP 服务器 · 用大白话讲清楚

Neo4j GDS Agent

作者:neo4j-contrib版本 1.1.0i★ –i在你的电脑上运行
注册名称io.github.neo4j-contrib/gds-agent

安装

概览

作者提供的说明(英文原文)

Neo4j Graph Data Science MCP server

PopNx MCP 的三大支柱

这三项永远不会合并成一个分数:意见、测量和人气是不同的东西。

它能帮你做什么

我们还没有为它写通俗的介绍。下面是我们从注册中心读取到的事实。

  • 连接方式: 在你的电脑上运行
  • 传输方式: stdio
  • 分类: 其他
  • 你需要填写:NEO4J_URI, NEO4J_USERNAME, NEO4J_PASSWORD, AURA_API_CLIENT_SECRET

安装

选择你使用的 AI 应用,然后复制设置。

安装之前

  • 基础检查:1 项中通过 1 项
  • 在你的电脑上运行,拥有你的用户账户的权限(文件、网络、应用)。
  • 需要你自己填写: NEO4J_URI, NEO4J_USERNAME, NEO4J_PASSWORD, NEO4J_DATABASE, AURA_API_CLIENT_ID, AURA_API_CLIENT_SECRET, AURA_API_PROJECT_ID

标为机密的值是你账户的钥匙。千万不要分享给别人,也不要粘贴到聊天里。

你需要

  • PyPI已安装 Python 的 uv(用于 uvx 命令)

你用的是哪个应用?

在上方选择你的应用。我们会记住它,下次按钮会显示“安装到 …”。

打开 Claude Desktop → Settings → Developer → Edit Config,把下面的内容粘贴到 claude_desktop_config.json

{
  "mcpServers": {
    "gds-agent": {
      "command": "uvx",
      "args": [
        "gds-agent"
      ],
      "env": {
        "NEO4J_URI": "your-value",
        "NEO4J_USERNAME": "your-value",
        "NEO4J_PASSWORD": "your-value",
        "NEO4J_DATABASE": "your-value",
        "AURA_API_CLIENT_ID": "your-value",
        "AURA_API_CLIENT_SECRET": "your-value",
        "AURA_API_PROJECT_ID": "your-value"
      }
    }
  }
}

在终端中运行这条命令

claude mcp add gds-agent --env NEO4J_URI=your-value --env NEO4J_USERNAME=your-value --env NEO4J_PASSWORD=your-value --env NEO4J_DATABASE=your-value --env AURA_API_CLIENT_ID=your-value --env AURA_API_CLIENT_SECRET=your-value --env AURA_API_PROJECT_ID=your-value -- uvx gds-agent

运行前请先填写空着的值。

在 Cursor 中打开

或者自己复制设置

粘贴到项目中的 .cursor/mcp.json,或 ~/.cursor/mcp.json

{
  "mcpServers": {
    "gds-agent": {
      "command": "uvx",
      "args": [
        "gds-agent"
      ],
      "env": {
        "NEO4J_URI": "your-value",
        "NEO4J_USERNAME": "your-value",
        "NEO4J_PASSWORD": "your-value",
        "NEO4J_DATABASE": "your-value",
        "AURA_API_CLIENT_ID": "your-value",
        "AURA_API_CLIENT_SECRET": "your-value",
        "AURA_API_PROJECT_ID": "your-value"
      }
    }
  }
}

浏览器会先询问是否打开应用,然后应用会显示设置并请你确认。密钥的值会留空,由你自己填写。

在 VS Code 中打开

或者自己复制设置

粘贴到项目中的 .vscode/mcp.json

{
  "servers": {
    "gds-agent": {
      "type": "stdio",
      "command": "uvx",
      "args": [
        "gds-agent"
      ],
      "env": {
        "NEO4J_URI": "your-value",
        "NEO4J_USERNAME": "your-value",
        "NEO4J_PASSWORD": "your-value",
        "NEO4J_DATABASE": "your-value",
        "AURA_API_CLIENT_ID": "your-value",
        "AURA_API_CLIENT_SECRET": "your-value",
        "AURA_API_PROJECT_ID": "your-value"
      }
    }
  }
}

浏览器会先询问是否打开应用,然后应用会显示设置并请你确认。密钥的值会留空,由你自己填写。

这个服务器在你的电脑上运行,而 ChatGPT 只能连接互联网上的服务器。请选择其他应用。

你的选择通过 Cookie 保存在这台设备上,无需账户。

需要你填写的值

  • NEO4J_URI 必填 env
    Neo4j connection URI (neo4j:// or neo4j+s://)
  • NEO4J_USERNAME 必填 env
    Neo4j username
  • NEO4J_PASSWORD 机密 必填 env
    Neo4j password
  • NEO4J_DATABASE env
    Neo4j database name
  • AURA_API_CLIENT_ID env
    Aura API client ID (enables Aura Graph Analytics session mode)
  • AURA_API_CLIENT_SECRET 机密 env
    Aura API client secret
  • AURA_API_PROJECT_ID env
    Aura project ID (only if the API client can access multiple projects)

这些设置是根据作者在注册中心的条目生成的。如果 README 的写法不同,请以 README 为准。

它能做什么

它在你的电脑上运行;安装后,工具列表会显示在你的 AI 应用中。

基础检查i

我们检查的是任何人都能看到的信息;我们没有阅读代码。不适用的检查项不计入总数。 · 检查于 2026年11月8日

  • ✓ 通过

    作者与仓库一致

    注册名称已通过 GitHub 账户 neo4j-contrib 验证,该账户拥有此仓库

  • … 尚未检查

    仍在维护

    我们还没有从 GitHub 读取这个仓库

  • … 尚未检查

    有许可证

    我们还没有从 GitHub 读取这个仓库

  • – 不适用

    端点有响应

    它在你的电脑上运行,没有互联网端点

  • – 不适用

    使用 OAuth 登录

    在你的电脑上运行,改用本地设置

  • … 尚未检查

    工具描述中没有隐藏指令

    它在你的电脑上运行;我们只能读取互联网端点的工具列表

与“其他”中的其他服务器比较i

  • 星标数多于此分类中其他 18600 个服务器的 0%
  • 发布到注册中心的时间比此分类中其他 18600 个服务器的 62% 更新
  • 基础检查结果等于或优于此分类中其他 18600 个服务器的 100%

与注册中心里这个分类中所有活跃的服务器比较。只有当发布者拥有该仓库时,星标数才计入。

常见问题

Neo4j GDS Agent 安全吗?

它在 1 项适用的基础检查中通过了 1 项。我们没有阅读代码。在添加密钥或令牌之前,请先看看这个服务器要求哪些权限,并使用只具备所需权限的密钥。

它需要哪些密钥或代码?

你需要填写:NEO4J_URI, NEO4J_USERNAME, NEO4J_PASSWORD, AURA_API_CLIENT_SECRET

它在我的电脑上运行还是在云端?

它在你的电脑上运行。你的 AI 应用会在需要时启动它,数据不会经过作者的服务器(除非它自己调用在线服务)。

它还在维护吗?

GitHub 仓库最后更新于–,最新版本(1.1.0)于27天前进入注册中心。

哪些应用可以使用它?

支持 MCP 的应用,例如 Claude Desktop、Claude Code、Cursor 和 VS Code。你的电脑上还需要有 Python (uv)。

有什么可以替代它?

同一分类中有:Spec Driven Development, Remote Desktop Commander, alalanet — check before you pay

替代选择

同一分类中其他作者的服务器,按星标数排序。

如何看卡片:↓ 每周下载量i★ GitHub 星标i三大支柱:评价 · 检查 · 使用情况i更新 = 最新版本发布到注册中心的时间i

Spec Driven Development

MCP Server that facilitates spec-driven development workflows, not just Vibe Coding.

作者:formulahendry起步阶段↓ 66/周★ 44014个月前更新

在你的电脑上运行

Remote Desktop Commander

Remote Desktop Commander: use files, terminal and processes on your own computers from any AI app.

作者:desktop-commander正在增长★ 2113天前更新

在云端运行✓ desktopcommander.app

alalanet — check before you pay

Check packages, MCP servers and x402 endpoints before agents install or pay. Signed.

作者:alalanet起步阶段今天更新

在云端运行✓ alalanet.com

作者的 README

打开 README

按原文从作者的仓库复制。PopNx MCP 没有审查或背书其内容。HTML、图片和脚本已被移除。链接会离开本站。

GDS Agent

The GDS Agent let LLMs reason and do data science work on your graph data in Neo4j, by using two artifacts:

  • Tools — an MCP server exposing Neo4j Graph Data Science (GDS) algorithms: centrality, community detection, path finding, similarity, node embeddings, and ML pipelines.
  • Skills — an agent skill (neo4j-graph-data-scientist) teaching the agent how and when to use those tools and best practices for doing data science on graphs.

It works with any MCP-capable harness — Claude Code, Claude Desktop, claude.ai, OpenAI Codex, Cursor, VS Code/Copilot, Gemini CLI — and programmatically from agent frameworks. It uses the GDS plugin on self-managed Neo4j and GDS Aura Graph Analytics sessions on AuraDB, over STDIO or HTTP transport.

Once set up, you can ask any graph question about your Neo4j graph and get answers. You can collaborate with the agent as a graph data scientist to solve complex tasks.

Install

HarnessTools (MCP)SkillGuide
Claude Code/plugin marketplace add neo4j-contrib/gds-agent → /plugin install gds-agent@neo4j-gdsbundled with the pluginsetup
Claude Desktopdownload the .mcpb from releases, double-clickupload the skill zip in Settings → Skillssetup
OpenAI Codexcodex mcp add neo4j-gds -- uvx gds-agentnpx skills add neo4j-contrib/gds-agent -a codexsetup
Cursorone-click badgenpx skills add neo4j-contrib/gds-agent -a cursorsetup
VS Code / Copilotone-click badge or .vscode/mcp.jsonnpx skills add neo4j-contrib/gds-agent -a copilotsetup
Gemini CLIgemini extensions install https://github.com/neo4j-contrib/gds-agentbundled with the extensionsetup
Your own agentany MCP client (stdio/HTTP)inject SKILL.md as instructionssetup

Most local setups need uv installed (the server runs via uvx gds-agent from PyPI). Generic MCP clients run uvx gds-agent over stdio with the environment variables below.

Configuration reference

Set as environment variables (or the credential form of your harness's installer):

VariableRequiredPurpose
NEO4J_URIyesneo4j:// or neo4j+s:// connection URI
NEO4J_USERNAME / NEO4J_PASSWORDyesdatabase credentials
NEO4J_DATABASEnodatabase name (defaults to neo4j)
AURA_API_CLIENT_ID / AURA_API_CLIENT_SECRETsession modeAura API credentials for Aura Graph Analytics
AURA_API_PROJECT_IDnoonly if the API client can access multiple projects
SESSION_MEMORY_GB / SESSION_TTL_HOURSnosession defaults (8 GB / 12 h)
SESSION_TIMEOUT_SECONDSnoseconds to wait for a session to become Ready
GDS_AGENT_MAX_RESULT_ROWS / _CHARS / _CELL_CHARSnotool output limits (500 / 100000 / 200)
NEO4J_READ_ONLYnowrite_neo4j_cypher stays hidden unless this is false

By default the server uses STDIO transport for local MCP clients. For HTTP-native clients, run the server with streamable HTTP:

gds-agent --transport http --host 127.0.0.1 --port 8000 --path /mcp

The equivalent environment variables are GDS_AGENT_TRANSPORT, GDS_AGENT_HOST, GDS_AGENT_PORT, and GDS_AGENT_PATH. The Neo4j MCP-style NEO4J_TRANSPORT and NEO4J_MCP_SERVER_* names are also supported.

GDS Aura Graph Analytics (sessions)

The server detects whether the connected Neo4j has the GDS plugin installed or whether to use a GDS Aura Graph Analytics session. Detection runs gds.session.list() on startup; if it succeeds, session mode is used and graph projections fall back to gds.graph.project.remote.

Session mode requires Aura API credentials (see the configuration reference above) in the same .env file or env block as the database credentials. Sessions are managed explicitly by the agent: three extra tools become available in session mode (list_sessions, create_session, and delete_session). A session must first be created with create_session, project_graph_cypher then projects each graph into the session named by its required sessionName parameter, and algorithm calls are routed to the right session automatically by graphName. Most workflows need a single session holding all graphs; multiple sessions allow running analyses in parallel. To resize a session (e.g. after an OOM), delete it and create it again with a larger memoryGB. All sessions created by the server are named with an mcp_ prefix. Aura sessions are charged separate to the DB.

The skill

[skills/neo4j-graph-data-scientist](skills/neo4j-graph-data-scientist/SKILL.md) is consumed from this one location by the Claude Code plugin, the Gemini extension, npx skills, and the release skill zip. It covers GDS-specific workflow best practices with a troubleshooting reference guide, as well as general data science best practices.

Cypher tools

read_neo4j_cypher, write_neo4j_cypher, and get_neo4j_schema are tools on this server. get_neo4j_schema calls APOC (apoc.meta.schema). write_neo4j_cypher is left off the tool list unless NEO4J_READ_ONLY=false.

Example dataset

To load a London underground example dataset:

  1. Fork and clone the repository
  2. Install the Neo4j database with GDS plugin: Download the Neo4j Desktop from Neo4j Download Center Install the GDS plugin from the Neo4j Desktop Create a new database and start it
  3. Populate .env file with necessary credentials:
   NEO4J_URI=bolt://localhost:7687  # or your database URI

NEO4J_USERNAME=neo4j # or your db username NEO4J_PASSWORD=your_password

4. Load the London Underground dataset with the following command ([uv](https://docs.astral.sh/uv/getting-started/installation/) resolves the script's dependencies automatically):
   uv run import_data.py --undirected

Connect to your DB and querying the graph from Neo4j workspace, you should see: London Underground Graph

Start the server for dev

  1. When inside the /mcp_server directory, run uv sync --dev and run uv run gds-agent to start the MCP server standalone, or run claude to start claude-cli with the agent.
  2. To try the plugin (MCP server + skill) from your working tree: claude --plugin-dir . from the repository root.

Releases

Version numbers are kept in lockstep across pyproject.toml and all distribution manifests by scripts/bump_version.py. Pushing a v* tag triggers the release workflow.

How to contribute

Open a pull request from a branch of your forked repository into the main branch of this repo, for example mygithubid:add-new-algo -> neo4j-contrib:main.

The CI build in github action requires all codestyle checks and tests to pass.

To run and fix codestyle checks locally, in the /mcp_server directory, run:

uv sync --dev

to setup the python environment. And then,

uv run pytest tests -v -s

uv run ruff check uv run ruff format

for all tests and codestyle fixes.

Feature request and bug reports

To report a bug or a new feature request, raise an issue. If it is a bug, include the full stacktrace and errors. When available, attach relevant logs in mcp_server_neo4j_gds.log. This file is located inside the /mcp_server/src_mcp_server_neo4j_gds directory if the gds agent is running from source, or inside the logging path for Claude (e.g /Library/Logs/Claude for Claude Desktop on Mac). Include relevant minimal dataset that can be used to reproduce the issue if possible.

Additional resources

The GDS agent can be used with other MCP servers, such as those that provide additional Neo4j toolings: https://github.com/neo4j-contrib/mcp-neo4j Arxiv paper including details about the architecture and benchmark results: https://arxiv.org/abs/2508.20637.

问 PopNx