Astria vs Code-Graph-RAG
Astria is an open-source MCP server for developer tools. Code-Graph-RAG is an open-source MCP server for knowledge and memory.
- Astria is best for find where authentication is implemented in an unfamiliar repo.
- Code-Graph-RAG is best for ask how a function is reached in an unfamiliar monorepo.
- What it is
- Astria is an open-source MCP server for developer tools.Code-Graph-RAG is an open-source MCP server for knowledge and memory.
- Best for
- Find where authentication is implemented in an unfamiliar repoAsk how a function is reached in an unfamiliar monorepo
- Kind
- MCP serverMCP server
- Pricing
- Open sourceOpen source
- Platforms
- CLI, macOS, Linux, WindowsCLI, self-hosted
- Runs
- LocallyLocally
- Open source
- Good for
- Find where authentication is implemented in an unfamiliar repo; Check what a proposed change could affect before editing; Give an agent a ranked repo mapAsk how a function is reached in an unfamiliar monorepo; Find unreachable functions before a cleanup; Apply a pattern-based rewrite across a whole codebase
What Astria does
Deterministic extraction
Tree-sitter parsing, not regex guessing, anchored to file and line.
Evidence labels
Edges are marked EXTRACTED, INFERRED or AMBIGUOUS with a score.
Change impact
The affected command reports what a change can reach in the graph.
Offline by default
No API keys, and everything stays on your machine.
Optional embeddings
Local semantic search after a one-time model download.
Wiki and Obsidian export
Regenerated on every update.
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.
Astria vs Code-Graph-RAG: questions
Is Astria or Code-Graph-RAG cheaper?
Both are open source. Compare current plans on each official site.
What is the difference between Astria and Code-Graph-RAG?
Astria is an open-source MCP server for developer tools. Code-Graph-RAG is an open-source MCP server for knowledge and memory.