Neo4j Graph Data Scientist Agent (MCP Server & Skills)
Copy the AI prompt to install this server into Claude Code, Cursor, or another agent β or use 1-click editor setup below.
We haven't yet run this listing's install command through our automated sandbox check. This isn't a red flag β we're steadily working through the catalog.
π‘ Paste the JSON block into your client's configuration file under mcpServers, then restart the application.
The GDS Agent let LLMs reason and do data science work on your graph data in Neo4j, by using two artifacts:
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.

| Harness | Tools (MCP) | Skill | Guide |
|---|---|---|---|
| Claude Code | /plugin marketplace add neo4j-contrib/gds-agent β /plugin install gds-agent@neo4j-gds | bundled with the plugin | setup |
| Claude Desktop | download the .mcpb from releases, double-click | upload the skill zip in Settings β Skills | setup |
| OpenAI Codex | codex mcp add neo4j-gds -- uvx gds-agent | npx skills add neo4j-contrib/gds-agent -a codex | setup |
| Cursor | one-click badge | npx skills add neo4j-contrib/gds-agent -a cursor | setup |
| VS Code / Copilot | one-click badge or .vscode/mcp.json | npx skills add neo4j-contrib/gds-agent -a copilot | setup |
| Gemini CLI | gemini extensions install https://github.com/neo4j-contrib/gds-agent | bundled with the extension | setup |
| Your own agent | any MCP client (stdio/HTTP) | inject SKILL.md as instructions | setup |
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.
Set as environment variables (or the credential form of your harness's installer):
| Variable | Required | Purpose |
|---|---|---|
NEO4J_URI | yes | neo4j:// or neo4j+s:// connection URI |
NEO4J_USERNAME / NEO4J_PASSWORD | yes | database credentials |
NEO4J_DATABASE | no | database name (defaults to neo4j) |
AURA_API_CLIENT_ID / AURA_API_CLIENT_SECRET | session mode | Aura API credentials for Aura Graph Analytics |
AURA_API_PROJECT_ID | no | only if the API client can access multiple projects |
SESSION_MEMORY_GB / SESSION_TTL_HOURS | no | session defaults (8 GB / 12 h) |
SESSION_TIMEOUT_SECONDS | no | seconds to wait for a session to become Ready |
GDS_AGENT_MAX_RESULT_ROWS / _CHARS / _CELL_CHARS | no | tool output limits (500 / 100000 / 200) |
By default the server uses STDIO transport for local MCP clients. For HTTP-native clients, run the server with streamable HTTP:
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.
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.
[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. It is designed for the gds-agent and mcp-neo4j-cypher MCP servers.
The GDS server deliberately executes no arbitrary Cypher β its only Cypher entry point is graph projection. To let the agent also read the underlying data (inspect properties, aggregate, verify algorithm results), pair it with the [mcp-neo4j-cypher](https://github.com/neo4j-contrib/mcp-neo4j) server in read-only mode.
The Claude Code plugin and the Gemini CLI extension already bundle it: one install configures both servers with the same credentials, and NEO4J_READ_ONLY=true removes its write tool. NEO4J_RESPONSE_TOKEN_LIMIT caps read-query responses (tokens) so large results donβt overwhelm the model; omit it for no Cypher-side limit. On any other harness, register a second server alongside gds-agent:
To load a London underground example dataset:
Connect to your DB and querying the graph from Neo4j workspace, you should see: London Underground Graph
/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.claude --plugin-dir . from the repository root.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.
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:
to setup the python environment. And then,
for all tests and codestyle fixes.
No reviews yet β be the first to share how this listing worked for you.
Showcase your server listing on GitHub or your project documentation. Embed this dynamic SVG badge to highlight official listing status and live engagement.
[](https://allmcps.com/mcp/neo4j-gds-agent)<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>