Code-Graph-RAG vs Ouroboros
Code-Graph-RAG is an open-source MCP server for knowledge and memory. Ouroboros 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.
- Ouroboros is best for turn a vague idea into a testable spec.
- What it is
- Code-Graph-RAG is an open-source MCP server for knowledge and memory.Ouroboros is an open-source MCP server for developer tools.
- Best for
- Ask how a function is reached in an unfamiliar monorepoTurn a vague idea into a testable spec
- Kind
- MCP serverMCP server
- Pricing
- Open sourceOpen source
- Platforms
- CLI, self-hostedCLI, macOS, Linux, Windows, Web
- Runs
- LocallyLocally
- GitHub stars
- 6.4K
- 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 codebaseTurn a vague idea into a testable spec; Verify an agent's work against acceptance criteria; Run a spec-driven build in Claude Code
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 Ouroboros does
Requirements interview
Asks questions to remove ambiguity and reports an ambiguity score.
Pinned spec
Records acceptance criteria before the run.
Result verification
Checks output against each criterion.
Multiple hosts
Works with Claude Code, Codex and other agent tools.
Browser console
Chat interface to run interview, build and checks.
Run records
Keeps records of requirements, execution and evaluation.
Code-Graph-RAG vs Ouroboros: questions
Is Code-Graph-RAG or Ouroboros cheaper?
Both are open source. Compare current plans on each official site.
What is the difference between Code-Graph-RAG and Ouroboros?
Code-Graph-RAG is an open-source MCP server for knowledge and memory. Ouroboros is an open-source MCP server for developer tools.
