mixedbread-ai/mgrep: A calm, CLI-native way to semantically grep everything, like code, images, pdfs and more.
mgrep is a CLI tool that brings semantic, natural-language search to code repositories and multiple file types (code, PDFs, images). Unlike traditional grep's exact pattern matching, it uses AI-powered embeddings to understand intent and find relevant code through natural queries. The tool features background indexing via file watchers, integrates with coding agents like Claude Code, and reduces token usage by 2x compared to grep-based workflows. It respects .gitignore rules, supports multimodal search, and complements rather than replaces traditional grep for different use cases.