MCPcopy Create free account
hub / github.com/TuGraph-family/tugraph-db

github.com/TuGraph-family/tugraph-db @v4.5.2

Chat with this repo
repository ↗ · DeepWiki ↗ · release v4.5.2 ↗ · + Follow
13,937 symbols 47,827 edges 1,339 files 1,773 documented · 13% updated 2mo agov4.5.2 · 2025-03-13★ 1,745167 open issues

Browse by type

Functions 11,364 Types & classes 2,572 Endpoints 1
What it actually does AI analysis from the code graph — generated when you open this
loading…
README

TuGraph

Release UT&&IT Documentation Status Commit codecov

Star Fork Contributor Docker License

EN CN

[中文版]

:mega: TuGraph-db Free Trial on Aliyun with Guide.

1. Introduction

TuGraph is an efficient graph database that supports high data volume, low latency lookup and fast graph analytics.

Functionalities:

  • Labeled property graph model
  • Full ACID support with serializable transactions
  • Graph analytics algorithms embedded with graph computing framework
  • Full-Text/Primary/Secondary Index support
  • OpenCypher query API
  • Stored procedure with C++/Python API

Performance and scalability:

  • LDBC SNB world record holder (2022/9/1 https://ldbcouncil.org/benchmarks/snb/)
  • Supports up to tens of terabytes
  • Visit millions of vertices per second
  • Fast bulk import

You can find TuGraph's doc by link, and welcome to our website.

2. Quick Start

An easy way to start is using docker to set up, which can be found in DockerHub, named tugraph/tugraph-runtime-[os]:[tugraph version], for example, tugraph/tugraph-runtime-centos7:4.5.1.

For more details, please refer to quick start doc and development guide.

3. Build from Source

It's recommended to build TuGraph in linux system, and docker environment is a good choice. If you want to setup a new environment, please refer to Dockerfile.

Here are steps to compile TuGraph: 1. run deps/build_deps.sh to build tugraph-web if you need. Skip this step otherwise. 2. cmake .. -DOURSYSTEM=centos7 or cmake .. -DOURSYSTEM=ubuntu 3. make 4. make package or cpack --config CPackConfig.cmake

Example: tugraph/tugraph-compile-centos7Docker environment

$ git clone --recursive https://github.com/TuGraph-family/tugraph-db.git
$ cd tugraph-db
$ deps/build_deps.sh
$ mkdir build && cd build
$ cmake .. -DOURSYSTEM=centos7
$ make
$ make package

4. Develop

We have prepared environment docker images for compiling in DockerHub, named tugraph/tugraph-compile-[os]:[compile version], for example, tugraph/tugraph-compile-centos7:1.3.4, which can help developers get started easily.

We have a roadmap to help you understand TuGraph.

To contribute, please read doc.

NOTICE: If you want to contribute code, you should sign a cla doc.

5. Partners

HUST FU ZJU
WhaleOps OceanBase SecretFlow
Featured|HelloGitHub

6. Contact

Official Website: tugraph.tech

Slack (For developer quick communication): TuGraph.slack

Contact us via dingtalk, wechat, email and telephone: contacts

7. Acknowledgement

Thanks to all the individual developers who have contributed to this repository, which are listed below.

Made with contrib.rocks.

Core symbols most depended-on inside this repo

Shape

Method 8,816
Function 2,548
Class 2,461
Enum 111
Route 1

Languages

C++90%
Python8%
C2%
Java1%
TypeScript1%
Rust1%

Modules by API surface

include/tools/json.hpp546 symbols
demo/ProcedureDemo/cpp/json.hpp546 symbols
src/lgraph_api/c.cpp364 symbols
deps/geax-front-end/src/geax-front-end/isogql/GQLAstVisitor.cpp218 symbols
src/core/lmdb/mdb.c199 symbols
cpplint/cpplint.py190 symbols
src/cypher/parser/generated/LcypherParser.cpp187 symbols
deps/geax-front-end/include/geax-front-end/ast/AstNodeVisitor.h166 symbols
include/tools/date.h157 symbols
include/libcuckoo/cuckoohash_map.hh140 symbols
src/cypher/procedure/procedure.cpp136 symbols
include/lgraph/lgraph_types.h130 symbols

Datastores touched

(mysql)Database · 1 repos
dataxDatabase · 1 repos

For agents

$ claude mcp add tugraph-db \
  -- python -m otcore.mcp_server <graph>

⬇ download graph artifact

Ask about this repo answers extend the page