neo4j/neo4j-graphrag-python
Neo4j GraphRAG for Python observed · 2026-09-03
Health v2 · maintenance only
93/100
- Activity 100
- Release rhythm 99
- Longevity 65
Flags: no_license
How is this computed?
round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10) — computed 2026-09-03. Adoption (stars, forks) is never an input.
- gap_med: 20.5
- age_days: 918
- days_rel: 7
- days_push: 0
- n_releases_24m: 33
Adoption not part of the score
1275 stars · 237 forks observed · 2026-09-03
What it is AI-extracted, prompt v1, taxonomy v1, 2026-08-30, confidence not recorded
The official Neo4j first-party Python library for building graph retrieval-augmented generation (GraphRAG) applications. It provides retrievers (vector, hybrid, Text2Cypher), LLM and embedding provider integrations, and an experimental pipeline for building knowledge graphs from unstructured data.
Use cases
- build a graphrag application on neo4j
- retrieve context from a knowledge graph with llm
- convert natural language questions to cypher queries
- extract entities and relations from pdfs into a knowledge graph
- combine vector search with graph traversal for retrieval
- create vector indexes and run similarity search in neo4j
- build a rag pipeline with openai or ollama over a graph database
When to choose
- you use Neo4j as the graph store and want first-party, long-term-supported GraphRAG tooling
- you need hybrid retrieval, graph traversal enrichment, or Text2Cypher retrieval in Python
- you want an end-to-end pipeline to build knowledge graphs from unstructured documents
- you need pluggable LLM/embedding providers (OpenAI, Anthropic, Ollama, Bedrock, etc.) with a LangChain-compatible interface
When to avoid
- your RAG stack does not involve Neo4j or graph databases
- you need a general-purpose agent framework or non-graph RAG library like LangChain or LlamaIndex
- you require a stable, non-experimental knowledge graph construction pipeline (that feature is still experimental)
- you are not using Python 3.10+ or Neo4j >= 5.18.1
Facets
library · maturity active
rag llm-inference agent-framework search-engine vector-database nlp database-driver prompt-engineering large-language-models databases artificial-intelligence python cross-platform graphrag neo4j knowledge-graph cypher text2cypher retrievers kg-builder embeddings genai retrieval-augmented-generation natural-language-processing search data-engineering
10 sources
- readme: https://github.com/neo4j/neo4j-graphrag-python · fetched 2026-09-03 · 03edff569af8
- homepage: https://neo4j.com/docs/neo4j-graphrag-python/current/ · fetched 2026-08-29 · fb44e3dc3751
- site_page: https://neo4j.com/docs/neo4j-graphrag-python/current/types.html · fetched 2026-08-29 · a3e26db2a8fa
- site_page: https://neo4j.com/docs/neo4j-graphrag-python/current/genindex.html · fetched 2026-08-29 · e12c2b527774
- site_page: https://neo4j.com/docs/neo4j-graphrag-python/current/user_guide_pipeline.html · fetched 2026-08-29 · eefac5b3fd50
- site_page: https://neo4j.com/docs/neo4j-graphrag-python/current/llm.html · fetched 2026-08-29 · febb9cb083b2
- site_page: https://neo4j.com/docs/neo4j-graphrag-python/current/api.html · fetched 2026-08-29 · 006fc2232a87
- site_page: https://neo4j.com/docs/neo4j-graphrag-python/current/user_guide_rag.html · fetched 2026-08-29 · 1077237bf4ff
- site_page: https://neo4j.com/docs/neo4j-graphrag-python/current/user_guide_kg_builder.html · fetched 2026-08-29 · 871755bd12ab
- site_page: https://neo4j.com/docs/neo4j-graphrag-python/current/gentree.html · fetched 2026-08-29 · ac7c370d46c0
Member repositories
| Repository | Role | Health v2 |
|---|---|---|
| neo4j/neo4j-graphrag-python | main | 93 |
For agents
markdown · JSON · MCP: product_card(name="neo4j/neo4j-graphrag-python")
Data as of 2026-08-30T08:39:29.467469+00:00 · Report a problem