Neo4j GDS Agent logo

Neo4j GDS Agent

MCP tools and agent skills for running Neo4j Graph Data Science algorithms against self-managed or Aura graphs.

Install Neo4j GDS Agent

Pick your client, then add it in one click or paste the config.

STDIOPython
~/Library/Application Support/Claude/claude_desktop_config.json
claude_desktop_config.json
{
  "mcpServers": {
    "neo4j-gds-agent": {
      "command": "uvx",
      "args": [
        "gds-agent"
      ],
      "env": {
        "NEO4J_URI": "YOUR_VALUE_HERE",
        "NEO4J_USERNAME": "YOUR_VALUE_HERE",
        "NEO4J_PASSWORD": "YOUR_VALUE_HERE"
      }
    }
  }
}

Settings → Developer → Edit Config, merge this into mcpServers, then fully quit and reopen Claude Desktop.

Values are written into the snippet above so you can paste it as is. They never leave your browser.

Claude Code command
claude mcp add --env NEO4J_URI=YOUR_VALUE_HERE --env NEO4J_USERNAME=YOUR_VALUE_HERE --env NEO4J_PASSWORD=YOUR_VALUE_HERE --transport stdio neo4j-gds-agent -- uvx gds-agent

Run in your terminal. Add --scope project to share it with your team through .mcp.json.

We couldn’t confirm it starts correctly

We hit an unexpected error while testing this listing automatically.

uvx gds-agent

Rate limit exceeded, please try again later - you have reached the maximum number of concurrent E2B sandboxes (20). If you need more, please visit 'https://e2b.dev/docs/billing'

This is an experimental automated check and can have false negatives — missing environment variables, a slow cold install, etc. It doesn’t necessarily mean something’s wrong. Last checked .

Overview

Neo4j GDS Agent MCP server lets LLM agents analyze graph data in Neo4j through Graph Data Science tools and an accompanying agent skill. It exposes algorithms for centrality, communities, paths, similarity, embeddings, and machine-learning pipelines over STDIO or streamable HTTP. The server supports self-managed Neo4j with the GDS plugin and AuraDB through GDS Aura Graph Analytics sessions. Use it when an MCP-capable agent needs guided graph data science workflows rather than arbitrary Cypher execution.

Use cases

  • Analyze centrality in a Neo4j graph
  • Detect communities and clusters
  • Find paths and similar nodes
  • Generate graph embeddings
  • Run graph machine-learning pipelines

Key features

  • Neo4j GDS algorithm tools
  • Agent skill for graph data science workflows
  • Self-managed Neo4j and Aura Graph Analytics support
  • STDIO and streamable HTTP transports
  • Aura session management
  • Configurable tool-output limits

Security & health

What it can reach and how reliably it runs — from our own checks, not the maintainer’s claims.

ActiveLast checked

Recent health check succeeded.

26/26 checks healthy over the last 83d

Supply-chain signal

No high-severity advisories surfaced by our automated scan.

Critical 0High 0Medium 0Low 0

Scanned 5d ago via OSV.dev · gds-agent (PyPI)

Adoption & maintenance

Factual signals from GitHub, npm, and our automated checks — not a rating.

GitHub stars102Stargazers on the source repository.
Last commit8d agoMost recent push to the default branch.
Install checkInconclusiveWe hit an unexpected error running the automated check.
Directory activity1 viewsConfig copies, upvotes, and views on AllMCPs.

How Neo4j GDS Agent works

What Neo4j GDS Agent does

Neo4j GDS Agent MCP server connects an MCP-capable agent to graph data in Neo4j and exposes Neo4j Graph Data Science operations as callable tools. The accompanying neo4j-graph-data-scientist skill gives the agent guidance about choosing algorithms, structuring graph analysis, and following graph data science practices.

The server is intended for questions and investigations over an existing Neo4j graph. It supports self-managed Neo4j installations with the GDS plugin and AuraDB deployments that use GDS Aura Graph Analytics sessions. It does not provide a general-purpose Cypher execution interface. Its Cypher entry point is limited to graph projection.

For agents that also need to inspect node or relationship properties, calculate read-only aggregates, or verify results, the repository recommends pairing this server with the separate mcp-neo4j-cypher server in read-only mode.

How it works

Neo4j GDS Agent MCP server communicates with local MCP clients over STDIO by default. It can also run as a streamable HTTP service, with configurable host, port, and MCP path. A client starts the server with database connection details, and the server detects whether the connected Neo4j instance can use its installed GDS plugin or should use an Aura Graph Analytics session.

Detection calls gds.session.list() at startup. In session mode, the agent can use session-management tools to list, create, and delete sessions. A graph is projected into a selected session through project_graph_cypher; subsequent algorithm calls are routed by graph name. Multiple sessions can support parallel analysis, while a single session can hold the graphs for most workflows. Sessions created through the server use an mcp_ name prefix and incur charges separate from the database.

The skill is distributed with the Claude Code plugin and Gemini CLI extension, and can also be installed through the documented skill-install commands or supplied as SKILL.md instructions to a programmatic agent.

Setup and configuration

Local installations generally use uvx gds-agent, which requires uv. Set NEO4J_URI, NEO4J_USERNAME, and NEO4J_PASSWORD for the database connection. NEO4J_DATABASE is optional and defaults to neo4j.

Aura Graph Analytics session mode additionally requires AURA_API_CLIENT_ID and AURA_API_CLIENT_SECRET. AURA_API_PROJECT_ID is only needed when the API client can access multiple projects. Session memory, lifetime, readiness timeout, and tool-output limits can be adjusted with the corresponding documented environment variables.

For HTTP-native clients, start the server with settings equivalent to gds-agent --transport http --host 127.0.0.1 --port 8000 --path /mcp. The server also accepts environment-based transport settings. Claude Code, Claude Desktop, OpenAI Codex, Cursor, VS Code/Copilot, and Gemini CLI each have documented installation paths.

Tools and capabilities

Neo4j GDS Agent MCP server exposes tools covering:

  • Centrality analysis
  • Community detection
  • Path finding
  • Similarity calculations
  • Node embeddings
  • Machine-learning pipelines
  • Graph projection
  • Aura session listing, creation, and deletion when session mode is active

Algorithm calls use the projected graph and, in Aura mode, are directed to the session associated with that graph. The agent skill helps select and sequence these operations, but it does not replace the underlying GDS plugin or Aura service.

Limitations and notes

The server deliberately does not execute arbitrary Cypher, so data inspection and result verification require a separate read-only Cypher MCP server. The Claude Code plugin and Gemini CLI extension bundle that companion server and configure it with the same credentials; other clients must register it separately if needed.

Aura sessions must be created before graph projection, and a graph projection requires the relevant session name in session mode. To change a session's size, delete it and create another with a different memory setting. Session-mode credentials must be available alongside the database credentials. Tool output is bounded by configurable row, total-character, and cell-character limits.

Written by AllMCPs with AI assistance from the project’s README and listing data. How we build listings

Reviews

No reviews yet — be the first to share how it worked for you.

Frequently Asked Questions about Neo4j GDS Agent

Neo4j GDS Agent is an MCP server that connects LLM agents to self-managed Neo4j databases or Aura Graph Analytics sessions. Its main tools expose centrality, community detection, path finding, similarity, node embeddings, machine-learning pipelines, graph projection, and session management when Aura mode is active.

Install it with the method for your MCP client, or run `uvx gds-agent` for a generic local setup. The documented options include plugins, extensions, release packages, one-click client configuration, and `codex mcp add`; most local setups require `uv`.

Set `NEO4J_URI`, `NEO4J_USERNAME`, and `NEO4J_PASSWORD` for a standard database connection. `NEO4J_DATABASE` is optional and defaults to `neo4j`; Aura Graph Analytics session mode also requires `AURA_API_CLIENT_ID` and `AURA_API_CLIENT_SECRET`.

Yes, Neo4j GDS Agent works with Cursor through the documented one-click MCP setup and a separate skill installation command. Cursor can use the server over the supported MCP transport, while database credentials are supplied through the configured environment.

No, it does not execute arbitrary Cypher. Its Cypher entry point is limited to graph projection. To inspect properties, run read-only aggregations, or verify results, add the separate `mcp-neo4j-cypher` server in read-only mode.

Related MCP servers

Add a badge to your READMEShow it’s listed — live SVG, Markdown or HTML.

AllMCPs Directory Badge

Full Badge Customizer

Showcase your server listing on GitHub or your project documentation. Embed this dynamic SVG badge to highlight official listing status and live engagement.

Badge Style:
Live Dynamic SVG PreviewNeo4j GDS Agent AllMCPs Directory Badge
Markdown (GitHub README)
[![AllMCPs](https://allmcps.com/api/badge/neo4j-gds-agent?style=directory)](https://allmcps.com/mcp/neo4j-gds-agent)
HTML Embed
<a href="https://allmcps.com/mcp/neo4j-gds-agent"><img src="https://allmcps.com/api/badge/neo4j-gds-agent?style=directory" alt="Neo4j GDS Agent on AllMCPs" /></a>