Memgraph
- About
- In-memory graph database for GraphRAG, AI memory and real-time analytics. Open-source alternative to Neo4j, TigerGraph and Amazon Neptune.
- Catalogue
- No. 500
- Category
- Data & Content
- GitHub stars
- ★ 4.7k

Overview
Memgraph is a high-performance in-memory graph database built in C and C++. It serves as the graph engine for GraphRAG pipelines, AI memory systems and agent workflows, and for real-time graph analytics like fraud detection and network analysis. It's compatible with Neo4j's Cypher query language, ACID-compliant and highly available.
What it does well
Built-in vector and text indexes sit alongside full graph traversal, so retrieval can be a single database operation instead of several systems. The MAGE library adds 40+ graph algorithms, and you can write custom query modules in Python, Rust or C/C++. Queries run in parallel, data loads directly from Parquet and JSONL, and it streams from Kafka, Pulsar and Redpanda. Enterprise features include Raft-based high availability with automatic failover, multi-tenancy and fine-grained access control.
Why it’s in the collection
Memgraph gives you Cypher compatibility with Neo4j and in-memory speed, with vector search in the same database.
License
Business Source License with Memgraph's own terms, not an open-source license. You can use it in production for your internal business, but not embed it in a product you distribute, offer it as a hosted database, or build something that competes with it. Each version becomes Apache-2.0 after four years. Enterprise features are under a separate license.
On GitHub
- Stars
- 4,668
- Forks
- 299
- Commits
- 5,537
- Repository
- memgraph/memgraph
Languages
- C++ 66.4%
- Python 17.8%
- Cypher 5%
- Gherkin 4.3%
- Other 6.5%
Compared with
Neo4jCommercial graph database.
TigerGraphCommercial graph analytics database.
Amazon NeptuneAWS's managed graph database.
See every open-source alternative to Neo4j, TigerGraph and Amazon Neptune in the collection.



