Skip to content

Memgraph

In-memory, Cypher-compatible graph database for GraphRAG and real-time analytics

Source available · BUSL-1.1 EU-based

Listed by , founder & editor

87

Health

Thriving

Overview

Stars

4,671

Last commit

today

Nov 2026

Repository age

6 years

since Sep 2020

Latest version

v3.14.0

Oct 2026

Contributors

–

11 active in 90 days

Releases

13

last 12 months

Language

C++

Memgraph is a graph database written in C and C++ that keeps its data in memory. It speaks Neo4j's Cypher query language, is ACID-compliant and supports high availability through Raft-based coordination with automatic failover.

Beyond graph traversal, it has built-in vector, text and geospatial indexes, so a GraphRAG retrieval step can run as one Cypher query. The MAGE library adds more than 40 algorithms, including PageRank and community detection. You can extend it with query modules in Python, Rust or C/C++. Data loads from Parquet and JSONL files on disk, S3 or HTTP, and streams in from Kafka, Pulsar and RedPanda.

Enterprise-style features include multi-tenancy, role-based and label-based access control, SSO and encryption in transit. You can run it with Docker, with Helm charts on Kubernetes, or through the install script. Memgraph Lab ships alongside it. The license is BUSL-1.1, which is source-available and limits some commercial use. It is an alternative to Neo4j, TigerGraph and Amazon Neptune.

Who it's for

Teams building GraphRAG or AI memory pipelines

Vector search and graph traversal run in a single query layer.

Skip if: Your graph is larger than the RAM you can provision.

Fraud and network analytics teams

In-memory traversals and streaming ingest suit real-time workloads.

Skip if: You need Gremlin or SPARQL/RDF support.

Neo4j users with Cypher code

Cypher compatibility reduces query rewrites.

Skip if: You need a permissive open source license for a commercial product.

The problem it solves

Connected data queried across many hops is slow in general-purpose databases, and AI retrieval often spreads across separate graph and vector systems. Memgraph puts both in one engine with Cypher on top.

Strengths

  • Cypher-compatible and ACID-compliant
  • Built-in vector, text and geospatial indexes
  • MAGE library with 40+ graph algorithms
  • Streams from Kafka, Pulsar and RedPanda
  • Raft-based high availability with automatic failover

Trade-offs

  • Dataset size is limited by available RAM
  • BUSL-1.1 license limits some commercial use
  • No Gremlin or SPARQL/RDF support
  • Horizontal scaling is not a documented strength

Memgraph replaces

Self-host Memgraph

Self-hostable
Yes

Quick start

# Linux/macOS
curl -sSf "https://install.memgraph.com" | sh

From the project's own install instructions. Check the docs for production settings.

In the community

Frequently asked questions

Can I self-host Memgraph?

Yes. You can run it with Docker, on Kubernetes using official Helm charts, or via the install script.

Is it open source?

It uses BUSL-1.1, which is source-available rather than OSI open source. Some commercial uses are restricted.

Does it work with Neo4j queries?

It is compatible with Cypher, so many Neo4j queries carry over.

Which languages can I use for extensions?

Custom query modules can be written in Python, Rust and C/C++.

Memgraph compared

Other Neo4J alternatives

Compare all 5 Neo4J alternatives →

Similar tools in NoSQL databases

CrateDB

NoSQL databases

Distributed SQL database for real-time analytics on time-series and IoT data

4.5k 630 today Thriving Apache-2.0

AITable

NoSQL databases

Self-hosted collaborative database with spreadsheet-style views for teams

16k AGPL-3.0

ScyllaDB

NoSQL databases

Cassandra- and DynamoDB-compatible NoSQL database in C++ for low-latency workloads

16k 1.5k today Active ScyllaDB Source Available 1.0

Replaces Amazon DynamoDB

FalkorDB

NoSQL databases

OpenCypher graph database for teams building GraphRAG and AI agent apps

11k 607 today Thriving SSPL-1.0

Replaces Neo4J

kividb

NoSQL databases

Multi-threaded Rust server speaking the Redis protocol with built-in full-text and vector

1.4k 142 today Thriving AGPL-3.0

Replaces Redis

InfluxDB

NoSQL databases

Time series database for metrics, sensor data and monitoring, built in Rust

32k 3.8k 32 days ago Active Apache-2.0