
code-graph-rag
by vitali87
<div align="center">
<!-- Bitbucket strips <picture>/<source> tags, so we use a single light-mode <img>. Restore the theme-aware <picture> block below when the GitHub account is reinstated:
<picture>
<source srcset="assets/logo-dark-any.png" media="(prefers-color-scheme: dark)">
<source srcset="assets/logo-light-any.png" media="(prefers-color-scheme: light)">
<img src="assets/logo-dark-any.png" alt="Code-Graph-RAG Logo" width="480">
</picture>
-->
<img src="assets/logo-light-any.png" alt="Code-Graph-RAG Logo" width="480">
<p>
<!-- Badges below are commented out while the GitHub account is suspended. Restore them when the account is reinstated.
Stars/Forks: shields.io hits GitHub's API (returns "repo not found" for suspended accounts).
gitcgr: indexes from GitHub (shows "not indexed" while unavailable).
MseeP.ai: badge PNG ignores inline height on Bitbucket and renders as a full-size tile.
<a href="https://github.com/vitali87/code-graph-rag/stargazers">
<img src="https://img.shields.io/github/stars/vitali87/code-graph-rag?style=social" alt="GitHub stars" />
</a>
<a href="https://github.com/vitali87/code-graph-rag/network/members">
<img src="https://img.shields.io/github/forks/vitali87/code-graph-rag?style=social" alt="GitHub forks" />
</a>
-->
<a href="https://github.com/vitali87/code-graph-rag/actions/workflows/ci.yml">
<img src="https://img.shields.io/github/actions/workflow/status/vitali87/code-graph-rag/ci.yml?branch=main" alt="CI" />
</a>
<a href="https://codecov.io/gh/vitali87/code-graph-rag">
<img src="https://codecov.io/gh/vitali87/code-graph-rag/graph/badge.svg" alt="Codecov" />
</a>
<a href="https://sonarcloud.io/summary/overall?id=vitali87_code-graph-rag">
<img src="https://sonarcloud.io/api/project_badges/measure?project=vitali87_code-graph-rag&metric=alert_status" alt="Quality Gate Status" />
</a>
<!--
<a href="https://mseep.ai/app/vitali87-code-graph-rag">
<img src="https://mseep.net/pr/vitali87-code-graph-rag-badge.png" alt="MseeP.ai Security Assessment" height="20" />
</a>
-->
<a href="https://code-graph-rag.com">
<img src="https://img.shields.io/badge/Enterprise-Support%20%26%20Services-6366f1" alt="Enterprise Support" />
</a>
<a href="https://pypi.org/project/code-graph-rag/">
<img src="https://img.shields.io/pypi/v/code-graph-rag" alt="PyPI Version" />
</a>
<a href="https://pepy.tech/projects/code-graph-rag">
<img src="https://static.pepy.tech/personalized-badge/code-graph-rag?period=total&units=INTERNATIONAL_SYSTEM&left_color=BLACK&right_color=GREEN&left_text=downloads" alt="PyPI Downloads" />
</a>
<a href="https://skillsllm.com/security-check/DHsMGRb1Ysys">
<img src="https://skillsllm.com/security-check/badge.svg?owner=vitali87&repo=code-graph-rag" alt="SkillsLLM Security Check" />
</a>
<a href="https://scorecard.dev/viewer/?uri=github.com/vitali87/code-graph-rag">
<img src="https://api.scorecard.dev/projects/github.com/vitali87/code-graph-rag/badge" alt="OpenSSF Scorecard" />
</a>
<a href="https://www.bestpractices.dev/projects/13757">
<img src="https://www.bestpractices.dev/projects/13757/badge" alt="OpenSSF Best Practices" />
</a>
<!--
<a href="https://gitcgr.com/vitali87/code-graph-rag">
<img src="https://gitcgr.com/badge/vitali87/code-graph-rag.svg" alt="gitcgr" />
</a>
-->
</p>
</div>
Code-Graph-RAG
Code-Graph-RAG parses a multi-language codebase with Tree-sitter, builds a knowledge graph of its structure in Memgraph, and lets you query, edit, and optimise that code in plain English. It works across a monorepo of mixed languages under one unified graph schema.
<p align="center"> <img src="./assets/demo.gif" alt="demo"> </p>Latest News π₯
<!-- SECTION:latest_news -->- Ruby Support: Ruby joins the graph through a new pluggable ast-grep tier that adds a language from a single YAML pattern file, emitting
Module,Function, an
Related servers

n8n
Updated todayby n8n-io
Fair-code workflow automation platform with native AI capabilities. Combine visual building with custom code, self-host or cloud, 400+ integrations.
NOASSERTIONβ
199,059

mcp-server-fetch
OfficialUpdated todayA Model Context Protocol server providing tools to fetch and convert web content for usage by LLMs
β
89,138

@modelcontextprotocol/server-filesystem
OfficialUpdated todayMCP server for filesystem access
SEE LICENSE IN LICENSEβ
89,138