cs
boyter

codespelunker — a CLI code search tool that understands code structure and ranks results by relevance. The CLI requires no indexing and supports TUI, MCP, and HTTP.
- Structural Awareness: A match in code ranks higher than the same word in a comment (1.0 vs 0.2) - and it's configurable. Or filter strictly: --only-code, --only-comments, --only-strings.
- Complexity Gravity: Uses cyclomatic complexity as a ranking signal. Searching for Authenticate? The complex implementation file ranks above the interface definition. (--gravity=brain)







