Development · Tip

mgrep for Claude Code

Semantic code and web search plugin for Claude Code

mgrep is a semantic search tool by Mixedbread that integrates into Claude Code as a plugin skill. It replaces or enhances standard keyword tools like ripgrep by enabling both semantic codebase search and live web queries directly inside the Claude interface.

How it works

Install: 'claude plugin marketplace add https://github.com/mixedbread-ai/mgrep' then install from /plugins. Usage: 'mgrep "function handleSubmit"' for local search, 'mgrep --web "Next.js 15 app router changes"' for web search.

What it's for

  • Search codebases using semantic meaning rather than exact string matches
  • Query the web for recent documentation or updates directly inside Claude Code
  • Upgrade Claude Code's default search capabilities with a plugin-based workflow

Key points

  • Installed via the Claude Code plugin marketplace
  • Local codebase semantic search via the /mgrep skill
  • Live web search functionality using the --web flag
  • Direct integration into Claude Code workflows and agent interactions

Pricing

Open source

Details

Type
Tip
Category
Development
Topic
Code Search
Open source
Yes
Platforms
Command line
For
Developers using Claude Code for software development
Alternative to
ripgrep, grep
Tags
claude code, semantic search, code search, cli, ai tools

Why it was saved

  • @affaan, 17 January 2026: A significant search improvement over ripgrep/grep, working for both local and web search.

Related

Updated