Skip to main content

GDS Agent

This MCP Server includes toolings from Neo4j Graph Data Science (GDS) library, which allows you to run all common graph algorithms, node embeddings, and machine learning pipelines.

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. LLMs equipped with GDS agent can decide and execute the appropriate parameterised graph algorithms over the graph you have in your Neo4j database.

Usage guide

If you have uvx installed, add the following config to your claude_desktop_config.json

{
    "mcpServers": {
      "neo4j-gds": {
      "command": "/opt/homebrew/bin/uvx",
      "args": [ "gds-agent" ],
      "env": {
        "NEO4J_URI": "bolt://localhost:7687",
        "NEO4J_USERNAME": "neo4j",
        "NEO4J_PASSWORD": ""
      }
    }
    }
}

Replace command with your uvx location. Find out by running which uvx in the command line. Replace NEOJ_URI, NEO4J_USERNAME, NEO4J_PASSWORD with your database login details. You can also optionally specify NEO4J_DATABASE.

By default the server uses STDIO transport. For HTTP-native clients, run:

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

You can also set 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. Add them to the same env block (or .env file) used for the database credentials:

"AURA_API_CLIENT_ID": "...",
"AURA_API_CLIENT_SECRET": "...",
"AURA_API_PROJECT_ID": "...",
"SESSION_MEMORY_GB": "8",
"SESSION_TTL_HOURS": "12",
"SESSION_TIMEOUT_SECONDS": "600"

AURA_API_PROJECT_ID is optional (needed only if your Aura API client has access to multiple projects), as are SESSION_MEMORY_GB (default 8), SESSION_TTL_HOURS (default 12), and SESSION_TIMEOUT_SECONDS (unset waits until the session is Ready). 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.

Other clients and the graph-analysis skill

This package is one half of the GDS Agent: the repository also ships a neo4j-graph-data-scientist Agent Skill and one-step installers for Claude Code (plugin), Claude Desktop (MCPB bundle), OpenAI Codex, Cursor, VS Code/Copilot, and Gemini CLI. See the per-harness setup guides: https://github.com/neo4j-contrib/gds-agent#install.

Full documentation

For complete documentation and development guidelines, please refer to: https://github.com/neo4j-contrib/gds-agent.

Metadata

Release files for gds-agent 1.1.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for gds-agent 1.1.0
File Size Uploaded
gds_agent-1.1.0.tar.gz 166.6 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for gds-agent 1.1.0
File Interpreter ABI Platform
gds_agent-1.1.0-py3-none-any.whl Python 3 none any Details

Total release size: 232.5 kB

Release files / gds_agent-1.1.0.tar.gz

Download URL gds_agent-1.1.0.tar.gz
Size 166.6 kB
Tags Source
SHA-256 checksum
How to use checksums
78852a950574df80511ed59b31ac6eef4e4d1581fb7df2e7dc6099c0e722cbfa
BLAKE2b-256 checksum
How to use checksums
a3441a0aa9a865b955c3fa16b20de987d2fe9d6dd9a770f1ae298e56045bf6d9
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.14

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Oct 12, 2026.

Transparency log

Release files / gds_agent-1.1.0-py3-none-any.whl

Download URL gds_agent-1.1.0-py3-none-any.whl
Size 65.8 kB
Tags Python 3
SHA-256 checksum
How to use checksums
18a2301b7e22a2af1145008cd06664bf5827726a38688ee3a82aca14146e9c4b
BLAKE2b-256 checksum
How to use checksums
1cae9d8f72bd30ab2226dd1809a8b9fa2129b500af610622fd5dd5bae0f52613
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.14

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Oct 12, 2026.

Transparency log

Release history Release notifications | RSS feed

This release

1.1.0 This release

2 release files

1.0.1

2 release files

1.0.0

2 release files

0.5.1

2 release files

0.5.0

2 release files

0.4.0

2 release files

0.3.0

2 release files

0.2.0

2 release files

0.1.0

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page