neo4j-graph-data-scientist
Installation
Review the source and dependencies with a prompt. A package is available to download.
Install with an AI assistant
Copy the prompt so your assistant can review the pinned revision and dependencies first.
View promptHide prompt
Check whether SkillPI Skill Finder is installed for your current agent. If it is missing, install and enable it using the official instructions at https://github.com/Findskills/skillpi. Then use Skill Finder to locate and install "neo4j-graph-data-scientist" from this exact SkillPI detail page: https://skillpi.com/skills/deepskill-ec187e311edbe149ade221295b627fc8ee28dd02ae6c142178a8e6da6abdc038. Verify the upstream source and version against https://github.com/neo4j-contrib/gds-agent before installing. If they do not match, stop and report the mismatch. Report the installed path and source version.
Source and setup
github.com
Setup guidance pending
See the original source for supported tools, dependencies, and permissions.
Installation test pending
Perform graph-related tasks on Neo4j using the GDS Agent and Cypher, including workflow operations and troubleshooting guidance. Suitable for scenarios that run graph data-science tasks in Neo4j and address common issues.
Introduction source: third_party · neo4j-contrib · 0.0.1 Reference
SkillPi interpretation
- Tasks
- Use for graph realted tasks on Neo4j via GDS Agent and Cypher tools. Covers the workflow and a troubleshooting guide for errors.
- Testing
- Not tested
Browse files
Frontmatter
name: neo4j-graph-data-scientist
description: Use for graph realted tasks on Neo4j via GDS Agent and Cypher tools. Covers the workflow and a troubleshooting guide for errors.
compatibility: Requires the gds-agent MCP server (PyPI package gds-agent) and cypher MCP server (PyPI package mcp-neo4j-cypher) connected to a Neo4j database with the GDS plugin, or a Neo4j AuraDB with Aura Graph Analytics.Workflow
- Inspect the database schema first. Never guess labels, types, or property names.
- Project a graph. Plugin and session mode have different projection syntax and parameters. Check the graph projection tool description and parameters. For session mode, you need to first create sessions to project graphs onto.
- Clean up.
drop_graphwhen a projection is no longer needed.delete_sessionwhen a session is no longer needed, and this will automatically drop all graphs projected to this session. - When you see errors, inspect the message and consult references/troubleshooting.md. Then make necessary corrections.
- Independently verify key results. Verify the key results using a genuinely different method if the problem allows. If the two methods disagree, investigate the discrepancy and resolve it first if it can be resolved. Otherwise, say so explicitly in the answer. This step is not satisfied by sanity checking the logic mentally.
Best Practices
- Large graphs. When the graph in the DB is large, you might want to consider projecting subgraphs at the start for analysis.
- Long running tools. Certain algorithms (or Cypher queries) are long running. For exploratory work, consider trying them out on smaller projected graphs before executing them on a desirable large projected graph.
- Follow general data science best practice. Understand if the task is transductive (over the fixed data) or inductive. For predictive tasks, ensure there is no data leakage. Formulate hypothesis and design metrics appropriately. Remember all the basic statistics best practices.
- Perform additional analysis when needed. You do not need to use solely the Cypher and GDS tools. For complex data science task, feel free to use other tools or coding capabilities and write ad-hoc scripts that use other libraries, such as pytorch, scikit-learn, pandas, matplotlib, when necessary.
Version history
-
v1.2.2
GitHub ↗
Original release notes
## What's Changed * Bump certifi from 2026.7.22 to 2026.10.18 in /mcp_server by @dependabot[bot] in https://github.com/neo4j-contrib/gds-agent/pull/70 * Bump certifi and pre-release v1.2.2 by @brs96 in https://github.com/neo4j-contrib/gds-agent/pull/71 ## New Contributors * @dependabot[bot] made their first contribution in https://github.com/neo4j-contrib/gds-agent/pull/70 **Full Changelog**: https://github.com/neo4j-contrib/gds-agent/compare/v1.2.1...v1.2.2
-
v1.2.1
GitHub ↗
Original release notes
## What's Changed * Fix snake case result parsing by @brs96 in https://github.com/neo4j-contrib/gds-agent/pull/69 **Full Changelog**: https://github.com/neo4j-contrib/gds-agent/compare/v1.2.0...v1.2.1
-
v1.2.0
GitHub ↗
Original release notes
## Breaking Changes - The Claude Code plugin and the Gemini extension no longer start a separate `mcp-neo4j-cypher` server. `read_neo4j_cypher`, `write_neo4j_cypher`, and `get_neo4j_schema` are tools on `gds-agent`. - `get_neo4j_schema` no longer uses APOC and has a slightly different output format, and replaces the older `get_node_labels`, `get_relationship_types`, `get_node_properties_keys`, and `get_relationship_properties_keys` tools. - All tool parameter names are now `snake_case` (e.g. `graphName` → `graph_name`, `dampingFactor` → `damping_factor`). ## New Features 1. `read_neo4j_cypher` runs a read query (with a configurable 120-second timeout via `--read-timeout` / `NEO4J_READ_TIMEOUT`), `write_neo4j_cypher` runs a write query and returns the update counts, and `get_neo4j_schema` returns node and relationship types with their properties, indexes, connections, and counts. 2. Upgraded `graphdatascience` client from 1.22 to 2.3. 3. Simplify MCP tool schemas and consolidate workflow guidance in server instructions and `SKILL.md` to reduce input token usage. ## Bug Fixes 1. Warn that truncated results are incomplete and must not drive decisions. 2. Change `failIfMissing=True` in `drop_graph` as otherwise the function throws an uninformative 'NoneType' object has no attribute 'get' error instead. 3. Note that UNDIRECTED degree on an undirectedRelationshipTypes projection counts each neighbor twice. ## Detailed List of PRs - What's Changed * update github actions by @IoannisPanagiotas in https://github.com/neo4j-contrib/gds-agent/pull/61 * Truncation warnings and small fixes by @aduntslusine in https://github.com/neo4j-contrib/gds-agent/pull/62 * Add Cypher read, write, and schema tools to the GDS server by @aduntslusine in https://github.com/neo4j-contrib/gds-agent/pull/63 * upgrade graphdatascience dependency to 2.3 by @aduntslusine in https://github.com/neo4j-contrib/gds-agent/pull/64 * rename all tool input params from camelCase to snake_case by @aduntslusine in https://github.com/neo4j-contrib/gds-agent/pull/65 * Reorganize tool and param descriptions and skills by @brs96 in https://github.com/neo4j-contrib/gds-agent/pull/66 * Query timeout, backward compat mcp fields and old schema tools by @brs96 in https://github.com/neo4j-contrib/gds-agent/pull/67 **Full Changelog**: https://github.com/neo4j-contrib/gds-agent/compare/v1.1.0...v1.2.0
-
v1.1.0
GitHub ↗
Original release notes
## Breaking Changes ## New Features 1. Optional SESSION_TIMEOUT_SECONDS env var to cap how long session creation waits for Ready. ## Bug Fixes 1. Update mcp dependency to 2.0. 2. Remove the stale example requirements file that was only example `import_data.py` 3. Use exact node identifier matching and allow numeric identifier inputs across graph algorithms. 4. Update SKILL.md to always create session before graph projection for session mode. 5. Document empty similarity filters as unfiltered, improve truncation warnings and skill troubleshooting. ## Detailed List of PRs - What's Changed * Pin checkout sha for actions/v4 by @IoannisPanagiotas in https://github.com/neo4j-contrib/gds-agent/pull/49 * Set Cypher MCP response token limit to 20000 by @aduntslusine in https://github.com/neo4j-contrib/gds-agent/pull/52 * Bump mcp[cli] from 1.14.1 to in /mcp_server by @semgrep-code-neo4j-contrib[bot] in https://github.com/neo4j-contrib/gds-agent/pull/50 * Use mcp 2.0 by @brs96 in https://github.com/neo4j-contrib/gds-agent/pull/53 * fixed numeric node identifier lookup and added it to the path algorithms by @aduntslusine in https://github.com/neo4j-contrib/gds-agent/pull/54 * Create session before projection for session mode in SKILL by @brs96 in https://github.com/neo4j-contrib/gds-agent/pull/55 * Pin gdsclient version and timeout by @brs96 in https://github.com/neo4j-contrib/gds-agent/pull/56 * Fix new ruff check except exceptions by @brs96 in https://github.com/neo4j-contrib/gds-agent/pull/57 * Guidance around truncated results and empty similarity filters by @aduntslusine in https://github.com/neo4j-contrib/gds-agent/pull/59 ## New Contributors * @aduntslusine made their first contribution in https://github.com/neo4j-contrib/gds-agent/pull/52 * @semgrep-code-neo4j-contrib[bot] made their first contribution in https://github.com/neo4j-contrib/gds-agent/pull/50 **Full Changelog**: https://github.com/neo4j-contrib/gds-agent/compare/v1.0.1...v1.1.0
-
v1.0.1
GitHub ↗
Original release notes
**Full Changelog**: https://github.com/neo4j-contrib/gds-agent/compare/v1.0.0...v1.0.1 # Changelog - [1.0.1] - 2026-07-13 ### Bug Fixes 1. Add the mcp-name ownership marker to the PyPI package README so MCP Registry publishing passes ownership validation. 2. Shorten the server.json description to the MCP registry 100-character limit and skip already-published files when re-publishing to PyPI. # Changelog - [1.0.0] - 2026-07-10 ### Breaking Changes 1. Added new graph projection tools: project_graph_cypher, drop_graph and list_graphs. As a result, all graph projection related parameters (e.g nodeLabels, relTypes) in all algorithms are removed. Instead, all algorithm tools now accepte a graphName required parameter. This allows the LLMs to use Cypher project to manage a catalog of projected graphs and use different algorithm tools on different graphs. 2. Removed the count_nodes tool; counts are available via the bundled read-only cypher server or get_graph_info on a projection. ### New Features 1. Add new maxflow path algorithm tool. 2. Support mutate mode for all algorithm tools. 3. Support GDS sessions (Aura Graph Analytics) on Aura DB. 4. Support HTTP transport mode. 5. Add graph accessor tools: get_graph_info, stream_node_properties, stream_relationship_properties and stream_relationships. 6. Add node embedding tools: fast_rp, node2vec, hashgnn, graph_sage_train and graph_sage_predict. 7. Add ML pipeline tools that train and apply models via the GDS model catalog: train_node_classification_model, predict_node_classification, train_link_prediction_model, predict_link_prediction, train_node_regression_model and predict_node_regression. 8. Add model catalog tools: list_models and drop_model. 9. Support multiple explicitly managed GDS sessions per server: sessions are created with the create_session tool, project_graph_cypher requires a sessionName in session mode, and tool calls are routed to the right session by graphName. 10. Add the neo4j-graph-data-scientist Agent Skill (skills/) teaching agents the projection, algorithm-selection, and session workflow, following the agentskills.io open standard. 11. Distribute as a Claude Code plugin and marketplace (.claude-plugin/, mcp.json), a Claude Desktop MCPB bundle plus uploadable skill zip (mcp_server/manifest.json), a Gemini CLI extension (gemini-extension.json), and an MCP registry manifest (server.json), with per-harness setup guides in doc/setup/ and release scaffolding (RELEASING.md, scripts/bump_version.py, validate/release workflows). 12. Bundle the read-only mcp-neo4j-cypher server in the Claude Code plugin and Gemini CLI extension so one install provides GDS algorithms plus Cypher reads with shared credentials. ### Bug Fixes 1. Limit oversized tool outputs, post-process only returned rows, and batch node lookups to keep stream results from making the MCP server unresponsive. 2. Add regex checks in query parameters to avoid query injection for path algorithm tools. 3. Treat empty-string values of optional environment variables (NEO4J_DATABASE, AURA_API_*, SESSION_*) as unset, as injected by harness configuration forms. 4. Read the server version from package metadata instead of a hard-coded constant. 5. Correct the plugin-mode undirected projection guidance to the 5th (configuration) argument of gds.graph.project and show the placement in the tool description example. ### Other Changes 1. Load the example dataset with uv (inline script dependencies in import_data.py) instead of requiring pip install -r requirements.txt.
Only the five most recent versions are shown. View full version history at the source ↗
Current listing version
0.0.1
Quality assessment
Out of 100 · Assessment report from SkillPi LAB.
Highlights
- 针对 Neo4j 图数据科学任务,提供清晰的工作流程和最佳实践,实用性强
Highlights
- 触发描述精准,明确指向 Neo4j 图相关任务,边界清晰
Areas to improve
-
缺少详细端到端示例 Reported severity: Minor
文档结构良好,但缺少一个完整的、从开始到结束的示例来展示整个工作流程
Recommendation: 建议补充一个具体的端到端示例,帮助用户更好地理解和应用该 Skill
Highlights
- Workflow 和 Best Practices 结构清晰,步骤划分合理
Areas to improve
-
缺少对不可逆操作的显式确认机制 Reported severity: Minor
虽然提到了 drop_graph 和 delete_session 等操作,但未强调在执行前需要用户确认
Recommendation: 建议在涉及资源删除或修改的操作前,增加显式的用户确认提示,以防误操作
Highlights
- 强调了数据库 schema 检查、图投影和清理资源的重要性,并提供了错误排查指南
The arithmetic mean of the first four original scores, rounded to a whole number.
Static text checks
100 / 100 · skillpi-20261123-no-r3-v1
No current rules matched the text.
This score reflects rule matches in the text and is provided for reference before use. It excludes attachments and runtime behavior.
Permissions and checks before use
Automatically summarized from this main document. Matches may be examples or defensive advice; they are not actual permission declarations. Attachments, external dependencies and runtime behavior are not covered.
These common operations were not identified in the main document. This does not mean no permissions or risks exist.
Security rating and access scope
safe · Static evidence review; not a runtime safety guarantee.
Before use, confirm and authorize actual file access, external services and network destinations in your host. This review grants no runtime permissions.
User discussion
No verified reviews yet.