Docs · Reference
MCP tool reference
When Chomp is connected via MCP, your coding agent queries the exact same local map you see in your browser—replacing blind file-by-file grep loops with structural facts.
On this page
Navigation, blast radius & diffs
The core map-first loop: locate nodes first, inspect blast radius before editing, and verify the structural diff before committing.
chomp_get_nodesFind functions, routes, classes, components, and external calls by name, package, or file path. Always the agent's first lookup before reading files.
chomp_get_edgesTrace incoming callers and outgoing calls for any node or package.
chomp_get_blast_radiusCompute everything that depends on a function, class, route, or package: upstream callers, downstream calls, external calls, affected entry points, and input/output types.
chomp_get_diffCompare pending working-tree changes against the saved map (
+ADDED,~MOD,-REM) to verify the exact structural impact before committing.
Architecture health & hygiene
chomp_audit_healthSurface blind spots across the map:
? N unresolvedcall groups, uncalled exports, and per-package health.chomp_find_redundanciesDetect pass-through wrapper middlemen and duplicated execution flows.
chomp_check_boundariesInspect cross-package dependencies, layer direction, and circular package imports.
chomp_get_conventionsList built-in framework conventions and the
chomp.config.jsonreference. Works even before the first analysis.
Agent spotlight & map plugins
chomp_create_viewAgent spotlight: highlight nodes or an ordered step-by-step path on Chomp Map and return a one-click link to that view.
chomp_local_shimsBridges plugin: connect unresolved dynamic calls, dependency injection, event buses, or OpenAPI specs onto the map.
chomp_enrich_nodesSummaries plugin: attach plain-English names and summaries to nodes, automatically flagged stale when code changes.
chomp_audit_design_systemDesign system plugin: audit tokens, contrast, hardcoded values, and duplicate UI components before writing UI code.
chomp_diff_design_systemDesign system plugin: compare current changes against the pinned design-system baseline.
Prompts that work well
Before editing Button, run chomp_get_blast_radius to see every caller and page affected.Trace how our Stripe webhook reaches the database and spotlight the steps on Chomp Map.Run chomp_get_diff and chomp_audit_design_system to verify my changes didn't introduce hardcoded colors or duplicate components.