Search Code banner
ViperJuice ViperJuice

Search Code

Development community

Description

# Search Code Patterns Search for code patterns, text, or concepts across the entire codebase using the MCP index. Use indexed results as authoritative only when repository readiness is `ready`. If `search_code` returns `index_unavailable` with `safe_fallback: "native_search"`, use native `rg`/file search and follow the readiness remediation, such as `reindex`. ## Usage ``` /search-code <pattern> [options] ``` ## Examples - `/search-code "def process_.*"` - Find all process functions - `/sear

Installation

Installs to ~/.claude/commands/viperjuice-code-index-mcp-search-code.md

Terminal
mkdir -p ~/.claude/commands && curl -fsSL https://raw.githubusercontent.com/ViperJuice/Code-Index-MCP/HEAD/.claude/commands/search-code.md -o ~/.claude/commands/viperjuice-code-index-mcp-search-code.md

Restart Claude Code, or start a new session, for it to be picked up.

Full documentation available on GitHub

View Source Repository