Skip to content

Code-Graph-RAG vs GitHub

Code-Graph-RAG is an open-source MCP server for knowledge and memory. GitHub is an open-source MCP server for developer tools.

  • Code-Graph-RAG is best for ask how a function is reached in an unfamiliar monorepo.
  • GitHub is best for triage bugs and issues.
What it is
Code-Graph-RAG is an open-source MCP server for knowledge and memory.
GitHub is an open-source MCP server for developer tools.
Best for
Ask how a function is reached in an unfamiliar monorepo
Triage bugs and issues
Kind
MCP server
MCP server
Pricing
Open source
Open source
Platforms
CLI, self-hosted
API, CLI, self-hosted
Runs
Locally
Locally or Remotely
GitHub stars
34.5K
Last commit
Nov 2026
License
MIT
Open source
Good for
Ask how a function is reached in an unfamiliar monorepo; Find unreachable functions before a cleanup; Apply a pattern-based rewrite across a whole codebase
Triage bugs and issues; Review pull request changes; Diagnose failed CI runs

What Code-Graph-RAG does

  • Tree-sitter graph index

    Parses 14 languages into one graph schema of functions, classes, modules and dependencies.

  • Natural-language queries

    Translates plain-English questions into Cypher queries over the code graph.

  • AST-based editing

    Replaces specific functions with a diff preview shown before anything changes.

  • Dead code detection

    Walks call and reference edges from entry points to find unreachable functions.

  • Structural search and replace

    Uses ast-grep patterns to match and rewrite code by structure, not text.

  • Runtime trace overlay

    Merges calls observed in a test run into the graph with the cgr trace command.

What GitHub does

  • Repository access

    Browse code, search files and analyze commits.

  • Issues and PRs

    Create, update and manage issues and pull requests.

  • Actions insight

    Monitor workflow runs and analyze build failures.

  • Security findings

    Examine code scanning and Dependabot alerts.

  • Collaboration

    Access discussions and notifications.

  • Local or remote

    OCI image over stdio or a hosted endpoint.

Code-Graph-RAG vs GitHub: questions

Is Code-Graph-RAG or GitHub cheaper?

Both are open source. Compare current plans on each official site.

What is the difference between Code-Graph-RAG and GitHub?

Code-Graph-RAG is an open-source MCP server for knowledge and memory. GitHub is an open-source MCP server for developer tools.