Supergrep logo

Supergrep

Indexes code and other files for exact matches, semantic retrieval, and read-only SQL through MCP tools.

Install Supergrep

Run the project’s own setup commands, in order.

Setup steps from the project

supergrep installs with its own steps rather than a config we can generate, so these are copied as-is. Follow them in order and run the commands in a terminal. Source: github.com

  1. 1. Sign in
    npx -y @infino-ai/code-context login --platform https://api.supergrep.infino.ai
    
  2. 2. Sign in
    npx -y @infino-ai/code-context login --db https://api.supergrep.infino.ai --yes < keyfile
    
  3. 3. Install
    git clone https://github.com/infino-ai/supergrep.git
    
  4. 4. Run
    cd supergrep
    
  5. 5. Install
    npm ci && npm run build
    
  6. 6. Install
    hermes plugins install https://github.com/infino-ai/supergrep/tree/main/hermes_supergrep --enable
    

Overview

The supergrep MCP server gives AI coding agents indexed access to repositories, logs, test output, configuration, documentation, and other file collections. It provides `find` for complete exact-match results, `search` for ranked keyword and semantic retrieval, and `sql` for read-only queries over the index. Local keyword operations run on the machine, while semantic retrieval and ranked SQL use the Infino cloud. Reach for it when an agent needs repository-wide counts, cross-file relationships, or focused context from large code and log collections.

Use cases

  • Find every caller of a function during code review
  • Search source code and CI logs together to diagnose failures
  • Count and rank files containing a concept across repositories
  • Query large Parquet datasets in object storage without downloading them

Key features

  • Exact indexed line search with repository and per-file counts
  • Ranked retrieval combining keyword and semantic matching
  • Read-only SQL with ranked search functions
  • Search across code, logs, tests, issues, and documentation
  • Record-aware chunking for log and newline-delimited files
  • Parquet search from object storage

Security & health

What it can reach and how reliably it runs — from our own checks, not the maintainer’s claims.

ActiveLast checked

Recent health check succeeded.

Adoption & maintenance

Factual signals from GitHub, npm, and our automated checks — not a rating.

GitHub stars31Stargazers on the source repository.
Last commit1d agoMost recent push to the default branch.

How Supergrep works

What supergrep does

supergrep provides retrieval tools for AI coding agents working with code and other file-based data. It builds an index for a directory and exposes that index through MCP. Agents can search source code, logs, test output, stack traces, CI output, configuration, documentation, and issue exports without repeatedly scanning every file.

The server is particularly suited to questions that span a repository or several repositories: finding every caller of a symbol, counting occurrences, ranking files by relevance, or investigating a failure across source and generated output. Each local operation accepts a repository or directory path, allowing one session to work across multiple codebases without requiring a separate checkout for every question.

How it works

The index has a local keyword-oriented side and an Infino cloud side. find performs exact matching locally and returns every matching line, along with repository-wide and per-file counts. Local SQL also queries the keyword index. These operations are intended to respond quickly without sending the indexed data away from the machine.

search performs a ranked retrieval pass that combines exact keyword matching with semantic similarity. It runs through Infino in the cloud, where embeddings and heavier retrieval computation are handled. SQL can call ranked search functions as table-valued inputs, allowing one read-only statement to retrieve, group, count, and rank results.

Files such as .log, .out, .err, .jsonl, and .ndjson are chunked at record boundaries. This keeps related log or event records together during retrieval. Larger datasets can also be written to Parquet in object storage and searched without first downloading them to the local machine.

Setup and configuration

The documented installation targets Claude Code on macOS or Linux and requires Node.js 22.19 or newer. Install the plugin with:

Terminal
claude plugin marketplace add infino-ai/supergrep
claude plugin install supergrep@infino-ai

After installation, open Claude Code in a directory and ask a question. The first question indexes that directory; later tool calls use the resulting index. Per-directory configuration is not required, and local indexing and local tools can be used without an account.

Semantic search requires an Infino account. Authenticate once from a terminal with:

Terminal
npx -y @infino-ai/code-context login --platform https://api.supergrep.infino.ai

The login command is run by the user rather than automatically by the agent. The service offers a free account without requiring a credit card.

Tools and capabilities

  • find: Returns every line containing an exact string, with cited file locations and counts.
  • search: Produces ranked results using keyword matching and semantic similarity; results include code and path:line citations.
  • sql: Runs read-only SQL over the index and can incorporate ranked searches for aggregation and ranking.
  • Cross-corpus retrieval: Searches code alongside logs, test output, issues, configuration, and documentation.
  • Object-storage retrieval: Reads Parquet-based data from object storage without loading the full dataset onto the local machine.

Limitations and notes

Exact matching and plain SQL use the local keyword index, while semantic search and SQL statements containing ranked search use the Infino cloud. The cloud path therefore requires account setup and operates over a copy of the index kept there. The documented installation flow is specific to Claude Code, macOS or Linux, and Node.js 22.19 or newer.

Supergrep is most useful for whole-codebase questions, counts, rankings, and finding all occurrences. For locating one named item inside a large model-readable file, conventional file reading may be more effective. Search quality, cost, and response time can vary with the model and the question.

Written by AllMCPs with AI assistance from the project’s README and listing data. How we build listings

Reviews

No reviews yet — be the first to share how it worked for you.

Frequently Asked Questions about Supergrep

supergrep is an MCP server that connects AI coding agents to indexed repositories, logs, test output, configuration, documentation, and other file corpora. Its main tools are find for exact matches, search for ranked keyword-and-semantic retrieval, and sql for read-only queries, counts, and ranked analysis over the index.

Install it through the Claude Code plugin marketplace with `claude plugin marketplace add infino-ai/supergrep` followed by `claude plugin install supergrep@infino-ai`. The documented setup requires macOS or Linux and Node.js 22.19 or newer.

Only semantic `search` requires an Infino account. Local indexing, exact `find`, and plain SQL work without an account; authenticate for cloud search with `npx -y @infino-ai/code-context login --platform https://api.supergrep.infino.ai`.

Yes, supergrep can index logs, test output, stack traces, CI output, configuration, documentation, and issue exports alongside source code. Files including `.log`, `.out`, `.err`, `.jsonl`, and `.ndjson` are chunked at record boundaries for retrieval.

Related MCP servers

Add a badge to your READMEShow it’s listed — live SVG, Markdown or HTML.

AllMCPs Directory Badge

Full Badge Customizer

Showcase your server listing on GitHub or your project documentation. Embed this dynamic SVG badge to highlight official listing status and live engagement.

Badge Style:
Live Dynamic SVG PreviewSupergrep AllMCPs Directory Badge
Markdown (GitHub README)
[![AllMCPs](https://allmcps.com/api/badge/supergrep?style=directory)](https://allmcps.com/mcp/supergrep)
HTML Embed
<a href="https://allmcps.com/mcp/supergrep"><img src="https://allmcps.com/api/badge/supergrep?style=directory" alt="Supergrep on AllMCPs" /></a>