$npx skillfedfor your agent

langchain-neo4j

An integration package connecting Neo4j and LangChain

With conditionsPyPI Artificial IntelligenceReleased Jun 2026252.7K downloads / moMITPure Python

Decision gist · record as of 2026-08-14

pure-Python wheel — langchain_neo4j-0.10.0-py3-none-any.whl
v0.10.0 · released 2026-06-10 · Python <3.15,>=3.10 · 5 runtime deps: langchain-classic, langchain-core, langgraph, neo4j-graphrag, neo4j

Yes, if you are building LangChain applications that need to integrate Neo4j. The package is actively maintained, has low install friction, carries no known vulnerabilities, and provides well-documented abstractions for common graph-LLM patterns. Install only if you have a Neo4j instance available and a use case that benefits from graph storage or reasoning.AI-flagged interpretation of the facts on this page — verify before relying

Before you install

  • Requires a running Neo4j instance accessible at the specified URL; Python 3.10 or later.
  • Low friction install with a pure Python wheel.
  • Active maintenance with recent releases; last commit 2026-08-10.

License · maintenance · safety

MIT (permissive) — MIT license is permissive; you can use, modify, and distribute this package freely with minimal restrictions.

last release 2026-06-10 (65 days) · last repo commit 2026-08-10 · 42 stars

0 known vulnerabilities (OSV.dev, 2026-08-14) · 252,731 downloads/mo, #8,535 on PyPI

Verify before relying

pip install langchain-neo4j

from langchain_neo4j import Neo4jGraph

graph = Neo4jGraph(url="bolt://localhost:7687", username="neo4j", password="password")
result = graph.query("MATCH (n) RETURN n LIMIT 1;")
  • Whether Neo4jVector requires external embedding models (e.g., OpenAI) or supports local embeddings.
  • Performance characteristics when storing large chat histories or vector indexes in Neo4j.
  • Compatibility with Neo4j versions older than the driver's minimum requirement.
Same gist for agents: .md · .json

What it is and what it does

langchain-neo4j bridges Neo4j graph databases and LangChain's LLM framework, providing high-level abstractions for common patterns. It includes Neo4jGraph for direct Cypher queries, Neo4jChatMessageHistory for persisting conversations, Neo4jVector for semantic search over documents, and GraphCypherQAChain for translating natural language questions into Cypher queries. It also offers Neo4jSaver and AsyncNeo4jSaver as checkpoint backends for LangGraph workflows, and LLMGraphTransformer to extract knowledge graphs from unstructured text.

The package is designed for developers building AI applications that need to store, query, or reason over structured knowledge in a graph. Its main dependencies are langchain-core, langgraph, neo4j, and neo4j-graphrag—all part of the LangChain ecosystem. Installation is straightforward, but you must have a Neo4j instance running and accessible over the network.

Use it for

  • Build a chatbot that recalls conversation history from Neo4j across sessions.
  • Translate natural language questions into Cypher queries and retrieve graph data via an LLM.
  • Store and search document embeddings in Neo4j for semantic similarity retrieval.
  • Extract entities and relationships from unstructured text and populate a Neo4j knowledge graph.
  • Persist LangGraph agent state and checkpoints in Neo4j for fault tolerance and replay.

Worth the install?

AI-flagged interpretation of the facts on this page. Verify before relying on it.

With conditions

Yes, if you are building LangChain applications that need to integrate Neo4j.

The package is actively maintained, has low install friction, carries no known vulnerabilities, and provides well-documented abstractions for common graph-LLM patterns. Install only if you have a Neo4j instance available and a use case that benefits from graph storage or reasoning.

Install

langchain-neo4j on PyPI

Before you install

Low friction install with a pure Python wheel. Active maintenance with recent releases; last commit 2026-08-10. Depends on langchain-core, langgraph, neo4j, and neo4j-graphrag, which are established LangChain ecosystem packages.

Requires a running Neo4j instance accessible at the specified URL; Python 3.10 or later.

License in practice

MIT license is permissive; you can use, modify, and distribute this package freely with minimal restrictions.

Quickstart

pip install langchain-neo4j

from langchain_neo4j import Neo4jGraph

graph = Neo4jGraph(url="bolt://localhost:7687", username="neo4j", password="password")
result = graph.query("MATCH (n) RETURN n LIMIT 1;")

Verify before relying

  • Whether Neo4jVector requires external embedding models (e.g., OpenAI) or supports local embeddings.
  • Performance characteristics when storing large chat histories or vector indexes in Neo4j.
  • Compatibility with Neo4j versions older than the driver's minimum requirement.

Package facts

LicenseMIT permissive
Python supportSupports the current Python release <3.15,>=3.10
Install frictionLow. Pure-Python wheel
Runtime dependencies
5 packages
langchain-classiclangchain-corelanggraphneo4j-graphragneo4j
MaintenanceActively maintained 65 days since the last release
Last repo commit
First released
Downloads252,731 / month, #8,535 on PyPI 30-day window, as of 2026-08-14
Known vulnerabilitiesNone known OSV.dev, checked 2026-08-14

Evidence: langchain_neo4j-0.10.0-py3-none-any.whl

Tags

Capabilities
neo4j langchain integrationgraph database llmcypher query natural languageneo4j vector storeknowledge graph from textchat history in neo4jlanggraph checkpoint neo4j
Topics
graph-databaseknowledge-graphllm-integration

Let your AI agent find packages like this

Example. Real query, live index.

You found this page by searching. An agent finds it by wishing: SkillFed indexes 14,416 PyPI packages by what they can do, searchable in plain language.

wish › “neo4j langchain integration”

Give your agent the search over MCP, or paste the wish link into any chat.

More Artificial Intelligence packages

litellm With conditions
PyPI · Artificial Intelligence · released Aug 2026

LiteLLM provides a unified Python interface to call 100+ LLM providers (OpenAI, Anthropic, Gemini, Bedrock, Azure, and others) using OpenAI-compatible API format, available as both a Python SDK and a self-hosted AI Gateway proxy server.

Install it if you need to work with multiple LLM providers or want to centralize LLM routing in your organization.

MITcompiled wheel
682.8Mdownloads / mo
huggingface-hub Worth it
PyPI · Artificial Intelligence · released Aug 2026

Client library and CLI tool for downloading, uploading, and managing models, datasets, and repositories on the Hugging Face Hub platform.

Install it if you work with Hugging Face Hub models or datasets.

Apache-2.0pure Python · 3.10.0+
442.4Mdownloads / mo
langchain Worth it
PyPI · Python Modules · released Aug 2026

LangChain provides a framework for building agents and LLM-powered applications by composing language models, tools, and memory through a unified API that abstracts over multiple model providers.

MITpure Python
315.4Mdownloads / mo
hf-xet With conditions
PyPI · Artificial Intelligence · released Aug 2026

hf-xet provides chunk-based deduplication and efficient file transfer for the Hugging Face Hub, enabling faster uploads and downloads of large files with local disk caching.

Apache-2.0compiled wheel · 3.8+
258.4Mdownloads / mo
tokenizers Worth it
PyPI · Artificial Intelligence · released Apr 2026

Tokenizers converts raw text into token sequences for NLP models, with support for training custom vocabularies and using pre-built tokenizers (BPE, WordPiece) optimized for speed via Rust.

Apache-2.0compiled wheel · 3.10+
222.9Mdownloads / mo
transformers Worth it
PyPI · Artificial Intelligence · released Aug 2026

Transformers provides a unified framework for loading, fine-tuning, and running state-of-the-art pretrained models across text, vision, audio, video, and multimodal tasks using PyTorch, JAX, or TensorFlow.

Install it if you need to run or train any transformer-based model for NLP, vision, audio, or multimodal tasks.

permissive licensepure Python · 3.10.0+
186.6Mdownloads / mo

See also neo4j-graphrag · graphlib · ragstack-ai-knowledge-store · neomodel · langchain-postgres · braintrust-langchain · langchain-azure-ai · langgraph-checkpoint · langchain-graph-retriever · py2neo-history

Further reading