Submit

Reposearch

@happyZYM

A mcp server to provide better content search than Cline's builtin `search_files` tools. Features: - [x] control the filter by `.reposearchignore` file, and use gitignore format. - [x] support regex for searching - output format control: - [x] whether include content in result - [ ] include surrounding lines - [x] tokens boom prevention Notes: - Currently you need to tell Cline to stop using `search_files` in the system prompt.
Overview

what is Reposearch?

Reposearch is an MCP server designed to provide enhanced content search capabilities compared to Cline's built-in search_files tools.

how to use Reposearch?

To use Reposearch, you need to set it up by running the server command node path/to/mcp-server-reposearch/index.js and configure it to stop using Cline's search_files in the system prompt.

key features of Reposearch?

  • Control filtering using a .reposearchignore file with gitignore format.
  • Support for regex-based searching.
  • Output format control, including options to include content in results.
  • Prevention of token explosion during searches.

use cases of Reposearch?

  1. Searching for specific content in large codebases.
  2. Filtering search results based on custom ignore patterns.
  3. Utilizing regex to find complex patterns in files.

FAQ from Reposearch?

  • Can Reposearch handle all types of files?

Yes! Reposearch can search through various file types as long as they are supported by the MCP server.

  • Is there a limit to the regex patterns I can use?

No, you can use any valid regex pattern, but be cautious of performance with very complex patterns.

  • How do I control the output format?

You can specify whether to include content in the results and whether to include surrounding lines.

Server Config

{
  "mcpServers": {
    "mcp-server-reposearch": {
      "command": "node",
      "args": [
        "path/to/mcp-server-reposearch/index.js"
      ]
    }
  }
}
© 2025 MCP.so. All rights reserved.

Build with ShipAny.