vitali87

    vitali87/code-graph-rag

    The ultimate RAG for your monorepo. Query, understand, and edit multi-language codebases with the power of AI and knowledge graphs

    ai
    developer-tools
    llm
    ast
    claude-code
    code-analysis
    code-understanding
    codebase-search
    Python
    MIT
    5.3K stars
    710 forks
    34 GitHub watchers
    Updated Nov 5, 2026
    View on GitHub

    Build with Backblaze B2

    SDKs, agent skills, IDE extensions, and reference pipelines from Backblaze Labs. All open source.

    Explore Backblaze Labs

    Loading star history...

    Where it stands

    Rank, growth pace and release cadence relative to everything GStars tracks.

    5 releases in the last 90 days, the latest 2 days ago, with 67 contributors on GitHub.

    The biggest single-day gain in the last year, +592 stars on Aug 10, coincided with release v0.0.589.

    Use Cases & Benefits

    • Parses multi-language monorepos into a unified knowledge graph enabling natural language querying, editing, and optimization of codebases.
    • Combines Tree-sitter parsing with Memgraph graph database and AI-driven Cypher queries for deep structural code understanding and manipulation.
    • Use for interactive codebase exploration and retrieval of functions, classes, or methods by name or intent across mixed-language projects.
    • Use for automated structural search and replace using AST patterns to refactor or rewrite code safely across large repositories.
    • Use for detecting dead code and tracing data flows through assignments and function calls to improve code quality and security.

    Should you depend on it?

    License terms, project hygiene and risks, from GitHub metadata and GStars' snapshots.

    License

    MIT

    Permissive: commercial use, modification and redistribution are allowed with attribution.

    Community files

    • README: present
    • Contributing guide: present
    • Code of conduct: present

    Watch-outs

    No watch-outs from GStars' checks.

    General guidance from repository metadata, not legal advice. How we score

    From the README

    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.

    See NEWS.md for the full history.

    Excerpt from the vitali87/code-graph-rag README on GitHub (MIT license). © its authors.Read the full README on GitHub

    Daily snapshots

    Stars gained per day, and how forks and open issues moved, from GStars' daily snapshots

    Aug 9: +246Aug 10: +592Aug 11: +314Aug 12: +299Aug 13: +122Aug 14: +94Aug 15: +76Aug 16: +64Aug 17: +88Aug 18: +107Aug 19: +62Aug 20: +17Sep 2: +2Sep 3: +20Sep 4: +33Sep 5: +15Sep 6: +39Sep 7: +43Sep 8: +38Sep 9: +4

    +2,704 stars over 90 days across 26 snapshot days; best day +592 on Aug 10.

    Forks

    710+279

    Open issues

    521+455

    Compared with peers in AI

    Fastest-growing repositories GStars tracks in this cohort for the week of Nov 1, by 7-day star growth

    vitali87/code-graph-rag compared with AI repositories by stars, 7-day star growth, health score and last release
    RepositoryStars+7dHealthLast release
    thedotmack/claude-mem113.6K+8.8K35today
    D4Vinci/Scrapling98.1K+6.9K651 day ago
    Leonxlnx/taste-skill110.7K+5.2K551 day ago
    calesthio/OpenMontage77.2K+4.2K40—
    heygen-com/hyperframes79.6K+4.1K45today
    vitali87/code-graph-rag5.3K—652 days ago
    Category median98.1K+5.2K45—

    Discover Repositories

    Search across tracked repositories by name or description