← Back to directory
M

mgrep

Community
A CLI-native semantic search tool.
GitHub source repository ↗
★ 4.3k Stars Category · Dev Tools Very popular
36FMRS · D
Reliability
2/20
Security and permissions
7/20
Maintenance
8/20
Documentation
12/20
Setup experience
7/20

The source material describes Mixedbread's CLI semantic-search tool, not a confirmed MCP server. No server manifest, MCP tools, transport protocol, or client compatibility evidence is provided.

Read the FMRS scoring method →

mgrep is a command-line tool for semantic, natural-language search across code, text, PDFs, and images, with optional web search. It indexes files into a Mixedbread Store and supports continuous syncing, reranking, and agentic search for complex questions.

Tools

The tool list has not been reviewed yet.

Setup

Install @mixedbread/mgrep globally with npm, pnpm, or bun. Run mgrep login to authenticate, or set MXBAI_API_KEY for CI/CD and headless environments. Enter a project directory and run mgrep watch to create and continuously update its index.

Fit and risk

Best for

  • Developers who need intent-based search
  • Teams using coding agents
  • Users who want multi-format search from a terminal

Not for

  • Workflows requiring only exact matches, regular expressions, or symbol tracing
  • Clients requiring a confirmed MCP tool or transport integration
  • Environments where files must not be uploaded to a cloud service

Required permissions

  • Read project files and sync them according to .gitignore and .mgrepignore
  • Upload eligible files to a Mixedbread Store
  • Authenticate through browser login or MXBAI_API_KEY
  • Monitor file changes continuously when watch mode is active

Risks and side effects

  • Files are synchronized to a cloud-hosted Mixedbread Store
  • The default limits are 1MB per file and 1,000 files per directory, though configuration can change them
  • Background synchronization may continue during agent sessions and contribute to platform usage
  • Web search and generated answers may include external information that requires verification

Troubleshooting

  1. If login repeatedly reopens, run mgrep logout and authenticate again
  2. Check that MXBAI_API_KEY is set correctly
  3. Review .gitignore, .mgrepignore, file-size, and file-count limits
  4. Use --store or MXBAI_STORE to isolate workspaces
  5. For a fresh index, delete the old Store in the Mixedbread dashboard and run mgrep watch again

Use cases

Exploring codebases with natural-language queries
Searching local PDFs, text, and images
Combining local-file and web search
Providing semantic retrieval for coding agents

Supported clients

Supported clients have not been confirmed yet.