Structural code graph queries via CodeGraphContext MCP (tree-sitter + KuzuDB). Find callers, callees, class hierarchies, dead code, and module dependencies.
Instalar com Codex ou Claude Copie este prompt, cole no Codex, Claude ou outro assistente e deixe que ele revise a página da skill e instale para você.
Um comando direto ignora o prompt de revisão. Verifique a origem antes de executá-lo.
Structural code graph queries via CodeGraphContext MCP (tree-sitter + KuzuDB). Find callers, callees, class hierarchies, dead code, and module dependencies.
Structural code graph queries using the CodeGraphContext MCP server (tree-sitter AST + KuzuDB property graph).
When to Use vs Other Search Tools
Need
Tool
Who calls foo()?
find_callers (this skill)
What does foo() call?
find_callees (this skill)
Class hierarchy / interface implementors
get_class_hierarchy (this skill)
Dead code / unreachable functions
find_dead_code (this skill)
Module-level import graph
get_module_deps (this skill)
Keyword / regex search
pnpm search:code or ripgrep
Semantic / conceptual search
code-semantic-search skill
AST shape matching
code-structural-search skill
Compiler-verified definition/references
lsp-navigator skill
Use this skill when you need relationship traversal across the call graph or import graph, not text matching.
MCP Tool Reference
Tool
Purpose
Key Parameters
find_callers
All functions/methods that call a symbol
symbol, file?, depth?
find_callees
All symbols called by a function
symbol, file?, depth?
get_class_hierarchy
Superclasses, subclasses, interfaces
class_name, direction?
find_dead_code
Functions with no callers in graph
scope?, min_confidence?
get_module_deps
Import/require dependency graph
module, direction?, depth?
query_graph
Raw Cypher query against KuzuDB
cypher, params?
Setup
# Install CodeGraphContext MCP server
npm install -g @codetiger/code-graph-context-mcp
# Index your codebase (run from project root)
code-graph-context index --root . --lang typescript,javascript