> m|

The universal semantic search CLI for agents.

Get Started

See it in action

Watch how mgrep transforms the way you search and navigate your codebase.

Making your agents smarter, faster and cheaper

Cost
Average cost per query
Time
Average response time per query
Win Rate
LLM judge preference for response quality

Benchmarked with 50 queries across our playground repositories using Claude Code.

mgrep
grep

Blazing Fast

Find the most relevant files in milliseconds with semantic search. Built on Mixedbread's high-performance search infrastructure.

mgrep "authentication middleware"
./middleware.ts:45-67(89.2% match)
./app/api/auth/route.ts:123-145(84.7% match)
./components/ui/login.tsx:28-52(76.5% match)
./lib/auth/client.ts:34-58(71.3% match)
./hooks/use-session.tsx:89-110(68.9% match)
Found 5 results in142ms

Multimodal

Search through all your data, not just code. Works with text files, PDFs, documentation, and more. One tool for your entire knowledge base.

mgrep "tax deduction"
./docs/invoice-Q1.pdf:page-12(92.1% match)
./scans/receipt-jan.jpg(87.3% match)
./reports/summary.txt:156(81.5% match)
./docs/tax-2025.pdf:page-8(74.2% match)
./notes/memo.md:45-67(69.8% match)
Found 5 results in158ms

Synced for You

Keep your search index up to date automatically through background indexing. Watch mode monitors your files and updates in real-time.

mgrep watch
Watching for file changes...
✓ Indexed src/components/dashboard.tsx
✓ Indexed lib/api/client.ts
✓ Index updated successfully

Resources

Everything you need to get started with mgrep and make the most of semantic search.

FAQ

Common questions about mgrep

Ready to make your agents smarter, faster and cheaper?

Get started with mgrep in seconds