callerCount() — mcp Function Reference
Architecture documentation for the callerCount() function in symbol-context.ts from the mcp codebase.
Entity Profile
Dependency Diagram
graph TD 7abbe5d6_99f4_fcf5_0790_2b6478c43254["callerCount()"] ad473066_969b_8fc8_45fe_f01051030d72["findSymbol()"] ad473066_969b_8fc8_45fe_f01051030d72 -->|calls| 7abbe5d6_99f4_fcf5_0790_2b6478c43254 55bde18a_7860_173e_f211_5874970475e3["get()"] 7abbe5d6_99f4_fcf5_0790_2b6478c43254 -->|calls| 55bde18a_7860_173e_f211_5874970475e3 style 7abbe5d6_99f4_fcf5_0790_2b6478c43254 fill:#6366f1,stroke:#818cf8,color:#fff
Relationship Graph
Source Code
src/tools/symbol-context.ts lines 256–258
function callerCount(graph: IndexedGraph, node: CodeGraphNode): number {
return graph.callAdj.get(node.id)?.in.length || 0;
}
Domain
Subdomains
Calls
Called By
Source
Frequently Asked Questions
What does callerCount() do?
callerCount() is a function in the mcp codebase.
What does callerCount() call?
callerCount() calls 1 function(s): get.
What calls callerCount()?
callerCount() is called by 1 function(s): findSymbol.
Analyze Your Own Codebase
Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.
Try Supermodel Free