# Neo4j GDS Agent [Health: Active]

**Category:** 💻 Developer Tools  
**Repository:** https://github.com/neo4j-contrib/gds-agent  
**GitHub Stars:** 102  
**Views:** 1  
**Installs:** 0  
**Upvotes:** 0  
**Directory Page:** https://allmcps.com/mcp/neo4j-gds-agent

## Description
Neo4j Graph Data Scientist Agent (MCP Server & Skills)

## Claude Desktop Quick Installation
Install path detected from listing signals. Uses `uvx` (confidence: high):

```json
"mcpServers": {
  "neo4j-gds-agent": {
    "command": "uvx",
    "args": ["gds-agent"],
    "env": {
      "NEO4J_URI": "",
      "NEO4J_USERNAME": "",
      "NEO4J_PASSWORD": ""
    }
  }
}
```

**Requires environment variables:** `NEO4J_URI`, `NEO4J_USERNAME`, `NEO4J_PASSWORD` — the values above are empty placeholders; fill in real credentials before running (see the repository for what each one is for).

## Documentation

## 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.

_Full upstream README: https://allmcps.com/mcp/neo4j-gds-agent/readme_

