Catalog

64 MCP Tools

Search, graph, analysis, LSP, security, conversation memory, and more. Every tool an AI agent needs to understand your codebase.

Navigation
4
get_file_tree Directory structure with symbol counts per file

Directory structure with symbol counts per file. First call in any unfamiliar codebase.

vs find -type f | sort
get_file_outline Structured summary of a file: exported symbols, types, signatures, line numbers

Structured summary of a file: exported symbols, types, signatures, line numbers. No implementation details.

-82% tokens vs Read full file
get_repo_outline Directories with file counts, symbol distribution by kind, top-level module summary

Directories with file counts, symbol distribution by kind, top-level module summary.

vs find + directory counting
suggest_queries Suggested queries based on indexed codebase

Suggested queries based on indexed codebase. Top files by symbol density, kind distribution, example searches. ~240 tokens.

no native equivalent
Symbols
5
get_symbol Retrieves a single symbol by ID with full source, metadata, and relationships

Retrieves a single symbol by ID with full source, metadata, and relationships. The precise second step after search_symbols.

−91% tokens vs grep + Read file region
get_symbols Fetch multiple symbols by ID in a single call

Fetch multiple symbols by ID in a single call. More efficient than sequential get_symbol calls.

−91% tokens vs N× grep + Read
find_and_show Find a symbol by name and show its body with optional references

Find a symbol by name and show its body with optional references. Replaces grep + read in one structured call.

−71% tokens vs grep function X + grep X -w
get_context_bundle Returns a symbol plus its imports, siblings, and types

Returns a symbol plus its imports, siblings, and types. Everything needed to understand a symbol in context without reading the full file.

−30% tokens vs grep -l + Read full file
find_references Where is X used? Distinguishes code references from comments, string occurrences, and import aliases

Where is X used? Distinguishes code references from comments, string occurrences, and import aliases.

−42% tokens vs rg -w (word-boundary)
Retrieval
1
codebase_retrieval Batch multi-modal queries: text, symbols, patterns, semantic, hybrid, conversation

Batch multi-modal queries: text, symbols, patterns, semantic, hybrid, conversation. Token budget mechanism fills context with highest-signal results.

−77% tokens vs 3-5 sequential search calls
Context
1
assemble_context Given a topic, assembles a complete context bundle with relevant signatures, types, entry points, and import relationships

Given a topic, assembles a complete context bundle with relevant signatures, types, entry points, and import relationships. Four compression levels from L0 to L3.

−86% tokens vs grep + read N files (6 calls)
Graph
3
trace_call_chain Build call graph for a symbol to configurable depth

Build call graph for a symbol to configurable depth. Direction: callers or callees. Supports Mermaid output.

−59% tokens vs grep → parse → repeat (7 calls)
trace_route Trace HTTP route from handler to service to DB in one call

Trace HTTP route from handler to service to DB in one call. Supports NestJS, Next.js, Express. Optional Mermaid flowchart.

−99% tokens vs 4× grep for route strings
impact_analysis Given a git ref, identifies changed symbols, blast radius, affected tests, and risk scores

Given a git ref, identifies changed symbols, blast radius, affected tests, and risk scores. Answers 'is it safe to ship?'

−69% tokens vs git diff + 10× grep
Architecture
5
get_knowledge_map Maps module dependency graph: imports, centrality scores, circular dependencies

Maps module dependency graph: imports, centrality scores, circular dependencies. Always use with focus parameter.

−90% tokens vs 7× grep across subdirectories
detect_communities Louvain community detection on import graph

Louvain community detection on import graph. Finds natural module groupings that often don't match folder names.

no native equivalent
check_boundaries Define dependency rules and check them against the import graph

Define dependency rules and check them against the import graph. Returns violations with file paths.

no native equivalent
classify_roles Classifies symbols as Hub, Bridge, Leaf, or Sink by call graph position

Classifies symbols as Hub, Bridge, Leaf, or Sink by call graph position. Reveals architectural risk.

no native equivalent
find_circular_deps Detect circular dependencies in the import graph via DFS

Detect circular dependencies in the import graph via DFS. Returns file-level cycles with full import chain.

no native equivalent
LSP
4
go_to_definition LSP-precise definition lookup understanding scope, imports, re-exports, and type aliases

LSP-precise definition lookup understanding scope, imports, re-exports, and type aliases. Falls back to AST when LSP unavailable.

no native equivalent
get_type_info Return types, parameter types, documentation via LSP hover

Return types, parameter types, documentation via LSP hover. 50-200 tokens instead of reading entire files.

~−95% tokens vs Read file for types
rename_symbol Cross-file type-safe rename via LSP

Cross-file type-safe rename via LSP. Understands scope, shadowing, overloads, interface implementations.

vs sed -i (imprecise) no native equivalent
get_call_hierarchy LSP-backed incoming and outgoing call hierarchy for a symbol

LSP-backed incoming and outgoing call hierarchy for a symbol. Complements trace_call_chain with type-safe precision.

no native equivalent
Analysis
7
analyze_complexity Ranks functions by cognitive complexity — nesting depth, not just branch count

Ranks functions by cognitive complexity — nesting depth, not just branch count. Returns top N most complex functions, ranked with scores.

−97% tokens vs grep if/for/while + wc -l
analyze_hotspots Git churn × complexity = risk rank

Git churn × complexity = risk rank. Files that change frequently AND are complex predict where bugs appear.

−96% tokens vs git log --numstat + awk
find_clones Hash bucketing and line similarity scoring to find structurally similar code

Hash bucketing and line similarity scoring to find structurally similar code. Detects same algorithm with different variable names.

−86% tokens vs partial (text-only grep)
find_dead_code Finds exported symbols with zero external references

Finds exported symbols with zero external references. Framework-aware whitelisting. False positive rate under 10%.

−82% tokens vs N× grep per export name (21 calls)
frequency_analysis Clusters code by AST shape — finds patterns in how code is written, not just what it says

Clusters code by AST shape — finds patterns in how code is written, not just what it says.

no native equivalent
ast_query Query the AST directly using tree-sitter syntax

Query the AST directly using tree-sitter syntax. Find code by shape, not text. Things impossible with regex.

no native equivalent
find_unused_imports Find imported names never referenced in the file body

Find imported names never referenced in the file body. Complements find_dead_code for import-level cleanup.

no native equivalent
Security
1
scan_secrets TruffleHog-derived rules with tree-sitter AST integration

TruffleHog-derived rules with tree-sitter AST integration. Masked output, severity filtering, inline allowlist. The most dramatic benchmark result.

−99.8% tokens vs 5× grep patterns
Diff & Git
3
diff_outline Shows functions/classes added, modified, or deleted between git refs

Shows functions/classes added, modified, or deleted between git refs. Semantic clarity over raw stat output.

vs git diff --stat
changed_symbols AST-level symbol changes: renamed, signature changed, deleted

AST-level symbol changes: renamed, signature changed, deleted. Essential for API compatibility.

vs git diff --stat
review_diff Run 9 parallel static analysis checks on a git diff: secrets, breaking changes, coupling, complexity, dead-code, blast-radius, bug-patterns, test-gaps, hotspots

Run 9 parallel static analysis checks on a git diff: secrets, breaking changes, coupling, complexity, dead-code, blast-radius, bug-patterns, test-gaps, hotspots.

no native equivalent
Cross-Repo
2
cross_repo_search Search symbols across all indexed repos simultaneously

Search symbols across all indexed repos simultaneously. Supports repo_pattern filtering.

−95% tokens vs N× grep per repo
cross_repo_refs Find all references to a symbol across all indexed repositories in one call

Find all references to a symbol across all indexed repositories in one call.

−85% tokens vs N× grep per repo
Conversation Memory
4
search_conversations BM25F + semantic search over past AI coding sessions

BM25F + semantic search over past AI coding sessions. Find solutions discussed yesterday without re-debugging today.

no native equivalent
search_all_conversations Same as search_conversations but searches across all indexed projects simultaneously

Same as search_conversations but searches across all indexed projects simultaneously. Cross-project institutional knowledge.

no native equivalent
find_conversations_for_symbol Find all past sessions that discussed, modified, or analyzed a specific code symbol

Find all past sessions that discussed, modified, or analyzed a specific code symbol. Cross-references code with conversations.

no native equivalent
index_conversations Index Claude Code conversation history

Index Claude Code conversation history. Auto-discovery at startup, session-end hook for re-indexing. Noise filtering built in.

no native equivalent
Orchestration
7
create_analysis_plan Create multi-step analysis plans with shared scratchpad, step dependencies, and automatic status tracking

Create multi-step analysis plans with shared scratchpad, step dependencies, and automatic status tracking.

no native equivalent
get_analysis_plan Get the current state of an analysis plan including all step statuses and results

Get the current state of an analysis plan including all step statuses and results.

no native equivalent
list_analysis_plans List all active analysis plans with their completion status and step counts

List all active analysis plans with their completion status and step counts.

no native equivalent
update_step_status Update step status in a plan

Update step status in a plan. Automatically propagates to plan-level status on completion.

no native equivalent
scratchpad_write Write key-value data to a plan's scratchpad for cross-step knowledge sharing

Write key-value data to a plan's scratchpad for cross-step knowledge sharing.

no native equivalent
scratchpad_read Read a key from a plan's scratchpad

Read a key from a plan's scratchpad. Returns the stored value or null if not found.

no native equivalent
scratchpad_list List all entries in a plan's scratchpad with their sizes for inspection

List all entries in a plan's scratchpad with their sizes for inspection.

no native equivalent
Meta
2
discover_tools Search the full tool catalog by keyword or category

Search the full tool catalog by keyword or category. Returns matching tools with descriptions and parameter lists.

no native equivalent
describe_tools Get full parameter schemas for specific tools by name

Get full parameter schemas for specific tools by name. Optionally reveal hidden tools in the active tool list.

no native equivalent
Indexing
5
index_folder Index a local folder with mtime-based incremental skip

Index a local folder with mtime-based incremental skip. Full reindex 57s → incremental 10s (5.6× faster).

no native equivalent
index_file Re-index one file after editing

Re-index one file after editing. 9ms unchanged, 153ms changed. Enables real-time coding workflows.

no native equivalent
index_repo Clone a remote git repository and index it

Clone a remote git repository and index it. Useful for onboarding or analyzing dependencies.

no native equivalent
list_repos Returns all indexed repositories with metadata

Returns all indexed repositories with metadata. Call once per session — result doesn't change.

no native equivalent
invalidate_cache Clears index for a repository, forcing full reindex

Clears index for a repository, forcing full reindex. For major restructuring that mtime skip might miss.

no native equivalent
Utility
1
usage_stats Aggregate view of tokens consumed, tokens saved vs native baseline, and cost savings

Aggregate view of tokens consumed, tokens saved vs native baseline, and cost savings.

no native equivalent
Generation
2
generate_claude_md Generates CLAUDE

Generates CLAUDE.md from indexed codebase. Project structure, entry points, conventions, commonly used symbols.

no native equivalent
generate_report One call, full codebase health picture: complexity hotspots, dead code, security, clones, communities, churn rankings

One call, full codebase health picture: complexity hotspots, dead code, security, clones, communities, churn rankings.

no native equivalent