Back to directory

Infrastructure & Operations · Databases

Memgraph

A Cypher-compatible graph database for streaming analytics and GraphRAG.

Memgraph is an in-memory graph database for developers and teams building real-time analytics, streaming applications, GraphRAG, and AI memory systems. Its Community Edition uses BSL-1.1 with a January 2026 additional use grant, while Enterprise uses MEL. Memgraph Cloud is a managed AWS service with a 14-day trial and instances from 1 GB to 32 GB RAM.

Key facts

License
BSL-1.1 with January 1, 2026 Additional Use Grant; change license Apache-2.0 on September 10, 2030
Main language
C, C++, Cypher, Python, Rust, CUDA, JavaScript, TypeScript, Go, Java, C#
Maintainer
Memgraph Ltd
First released
2021
Latest release
v3.13.2, October 9, 2026
GitHub stars
4,624, October 2026
Hosted option
Memgraph Cloud, AWS hosted, 1 GB to 32 GB RAM, 14-day trial

What Memgraph is

Memgraph is an in-memory graph database built for real-time graph analytics, streaming applications, GraphRAG, AI memory, and agentic workflows. Dominik Tomicevic and Marko Budiselic began building it in 2016, and Memgraph Ltd maintains the project. The public launch arrived with Memgraph 2.0 in 2021. The repository lists 4,624 stars, 288 forks, and 60 contributors, with leading contributions from mferencevic, gitbuda, and as51340. Memgraph reported a $9.34 million seed round in 2021, led by Microsoft’s M12 with participation from Heavybit, In-Q-Tel, Counterview Capital, ID4 Ventures, and Mundi Ventures. The project positions its database for operational graph workloads and AI systems that need connected context alongside vector or text search.

How it works

Users query it with Cypher, connect through Memgraph Lab, mgconsole, client drivers, or WebSocket, and extend queries with Python, Rust, or C and C++ modules. A typical workflow starts by loading CSV, JSON, Parquet, or JSONL data, or by consuming Kafka, Pulsar, or Redpanda streams. The user then models nodes and relationships, creates text, vector, geospatial, or property indexes, and runs traversals or graph algorithms from MAGE. GraphRAG workflows can combine similarity search, graph expansion, ranking, and prompt assembly in one Cypher query. MAGE includes more than 40 algorithms, including PageRank, community detection, link prediction, embeddings, and temporal graph networks.

Architecture and recent releases

The core engine is written in C and C++, with Cypher, Python, Rust, CUDA, JavaScript, TypeScript, Go, and other languages present in the repository. Deployment options include Docker, native Linux packages, official Helm charts, binaries, Memgraph Lab, and Memgraph Cloud. The documented minimum is 1 GB RAM, 1 vCPU, and 1 GB disk, while the recommendation is at least 16 GB ECC RAM, 8 vCPUs, and disk capacity at least three times RAM on NVMe storage. Memgraph 3.11, 3.12, and 3.13 shipped in 2026 with property-based access control, lightweight edges, tenant suspension, WAL checksums, improved search, FIPS support, and query-language changes. Version 3.13.2 followed on October 9, 2026.

License and pricing

Memgraph Community Edition is licensed under Business Source License 1.1, amended by a January 1, 2026 additional use grant. The grant permits internal business use while restricting embedding or redistribution to third parties, database-as-a-service hosting, and competing products or services. Each version changes to Apache License 2.0 on its stated change date, with September 10, 2030 specified in the published license text. Enterprise uses the Memgraph Enterprise License, and OEM licensing covers embedded distribution and SaaS delivery. Community Edition is free and includes persistence, replication, Cypher, streams, vector search, and MAGE. Enterprise pricing scales with memory, while Cloud is AWS-hosted in six regions, offers automatic backups and updates, and supports 1 GB to 32 GB instances.

Limitations and how it compares

Memgraph’s in-memory design makes memory planning central, and its BSL terms require legal review for hosted products, redistribution, and competing database services. Enterprise-only controls include SSO, LDAP or PAM authentication, multi-tenancy, automatic failover, audit logging, and some cross-database functions. Neo4j is the closest named alternative for Cypher users and has a larger commercial product family, while JanusGraph offers an open-source distributed graph model built around external storage systems. TigerGraph targets distributed graph analytics with a proprietary platform. Pick Memgraph when Cypher compatibility, streaming ingestion, in-memory traversal, built-in vector search, and a single graph query layer matter more than permissive licensing or broad storage choices. Choose JanusGraph for an Apache-licensed distributed design, or Neo4j for its established commercial tooling.

Main features

  • Cypher graph queries. Query nodes and relationships with Cypher, which Memgraph describes as compatible with Neo4j’s query language.
  • Streaming connectors. Ingest changing data from Kafka, Pulsar, and Redpanda streams for real-time graph updates and analytics.
  • Vector and text indexes. Combine vector similarity, text search, geospatial indexing, and graph traversal within one query layer.
  • MAGE algorithms. Run more than 40 algorithms, including PageRank, community detection, link prediction, embeddings, and temporal graph networks.
  • GraphRAG workflows. Express retrieval, graph expansion, ranking, and prompt assembly as a single Cypher query.
  • High availability. Enterprise deployments provide Raft-based coordination, replication, automatic failover, and multi-database tenancy.
  • Flexible data loading. Load CSV, JSON, Parquet, and JSONL files from local disk, S3, or HTTP endpoints.

Self-hosting Memgraph

Docker is the most common installation method, and Memgraph Platform runs as multiple services rather than one container. The project also publishes native Debian-family and RPM packages, binaries, Docker images, and Helm charts for standalone or high-availability Kubernetes deployments. Linux packages support Debian 12 or newer, Ubuntu 22.04 or newer, RHEL-family 9 or newer, Fedora 42 or newer, and systems with glibc 2.31 or newer. Memgraph requires Python 3.10 or newer for Python query and authentication modules. Minimum resources are 1 GB RAM, 1 vCPU, and 1 GB disk.

Strengths

  • Cypher compatibility lowers migration effort for Neo4j-oriented teams.
  • Built-in vector search and graph traversal support single-query GraphRAG workflows.
  • Kafka, Pulsar, and Redpanda connectors support continuously changing graph data.
  • The free Community Edition includes persistence, replication, MAGE, and vector search.

Drawbacks

  • The in-memory architecture makes RAM sizing important for larger graphs.
  • BSL restrictions complicate competing services, redistribution, and database-as-a-service deployments.
  • Enterprise pricing is based on memory capacity and is not published as a fixed rate.

What teams replace with it

Teams usually evaluate Memgraph when they want to move off Neo4j Enterprise, Amazon Neptune, TigerGraph.

For side-by-side commercial comparisons, browse our alternatives hub.

Open-source alternatives to Memgraph

  • Neo4j
  • JanusGraph
  • TigerGraph
  • ArangoDB
  • NebulaGraph

Frequently asked questions

Is Memgraph free to use?

Memgraph Community Edition is free and includes the in-memory graph database, ACID transactions with on-disk persistence, high-availability replication, Cypher, stream connectors, vector search, and the MAGE algorithm library. The Community Edition is governed by BSL-1.1 with a January 2026 additional use grant, so free access does not mean unrestricted use in competing services or database-as-a-service products.

Can companies use Memgraph commercially?

Companies can use Community Edition for internal business purposes under the January 2026 additional use grant. The grant restricts embedding or distributing the database to third parties, hosting it as a database-as-a-service, and creating a competing product or service. Memgraph publishes Enterprise and OEM licensing for production arrangements that require those rights.

How do I self-host Memgraph, and what does it require?

Docker is the usual starting point, with native Debian and RPM packages, binaries, and Helm charts also available. The documented minimum is 1 GB RAM, 1 vCPU, and 1 GB disk. No separate PostgreSQL or Redis service is listed as required.

How does Memgraph compare with Neo4j?

Both use Cypher, but Memgraph emphasizes an in-memory engine, streaming connectors, built-in vector search, and graph analytics through MAGE. Neo4j is the closest alternative for Cypher users and offers a broader commercial product family. Memgraph may fit teams combining real-time streams with GraphRAG, while Neo4j may fit organizations prioritizing its established tooling and commercial platform.

Is Memgraph suitable for private or security-sensitive data?

Self-hosting keeps deployment under the operator’s infrastructure, while Enterprise adds SSO, LDAP or PAM authentication, fine-grained role and label permissions, property-based access control, audit logging, encryption in transit, monitoring, backup, and disaster recovery.

Similar projects to compare

Sources

Last updated 2026-10-22.