drio
Open app

Mcp Server Reposearch

Source

Catalog onlyCatalog onlySTDIO

Overview

Mcp Server Reposearch is a server that provides enhanced content search capabilities compared to the built-in search_files tool in Cline.

To use Mcp Server Reposearch, you need to set up the server and configure it with a .reposearchignore file to control filtering. You can then perform searches using regular expressions.

  • Control filtering through a .reposearchignore file using gitignore format. - Support for regular expression searches. - Output format control, including options to include content in results.
  1. Searching for specific content in large codebases.
  2. Filtering search results based on custom ignore patterns.
  3. Performing complex searches using regular expressions.

Add to your AI client

Use these steps to connect Mcp Server Reposearch in Cursor, Claude, VS Code, and other MCP-compatible apps. The same JSON appears in the Use with menu above for one-click copy.

Cursor

Add this to your .cursor/mcp.json file in your project root, then restart Cursor.

.cursor/mcp.json

{
  "mcpServers": {
    "mcp-server-reposearch-happyzym": {
      "command": "npx",
      "args": [
        "-y",
        "@modelcontextprotocol/server-mcp-server-reposearch-happyzym"
      ]
    }
  }
}

Claude Desktop

Add this server entry to the mcpServers object in your Claude Desktop config, then restart the app.

~/Library/Application Support/Claude/claude_desktop_config.json (macOS) or %APPDATA%\Claude\claude_desktop_config.json (Windows)

{
  "mcpServers": {
    "mcp-server-reposearch-happyzym": {
      "command": "npx",
      "args": [
        "-y",
        "@modelcontextprotocol/server-mcp-server-reposearch-happyzym"
      ]
    }
  }
}

Claude Code

Add this to your project's .mcp.json file. Claude Code will detect it automatically.

.mcp.json (project root)

{
  "mcpServers": {
    "mcp-server-reposearch-happyzym": {
      "command": "npx",
      "args": [
        "-y",
        "@modelcontextprotocol/server-mcp-server-reposearch-happyzym"
      ]
    }
  }
}

VS Code (Copilot)

Add this to your .vscode/mcp.json file. Requires the GitHub Copilot extension with MCP support enabled.

.vscode/mcp.json

{
  "servers": {
    "mcp-server-reposearch-happyzym": {
      "type": "stdio",
      "command": "npx",
      "args": [
        "-y",
        "@modelcontextprotocol/server-mcp-server-reposearch-happyzym"
      ]
    }
  }
}

Windsurf

Add this to your Windsurf MCP config file, then restart Windsurf.

~/.codeium/windsurf/mcp_config.json

{
  "mcpServers": {
    "mcp-server-reposearch-happyzym": {
      "command": "npx",
      "args": [
        "-y",
        "@modelcontextprotocol/server-mcp-server-reposearch-happyzym"
      ]
    }
  }
}

Cline

Open Cline settings, navigate to MCP Servers, and add this server configuration.

Cline MCP Settings (via UI)

{
  "mcpServers": {
    "mcp-server-reposearch-happyzym": {
      "command": "npx",
      "args": [
        "-y",
        "@modelcontextprotocol/server-mcp-server-reposearch-happyzym"
      ]
    }
  }
}

FAQ

Can I use Mcp Server Reposearch with any programming language?

Yes! It can be used to search through any text-based files regardless of the programming language.

Is there a limit to the size of files I can search?

The server can handle large files, but performance may vary based on system resources.

How do I prevent token explosion during searches?

You can configure the server settings to manage token usage effectively.

Mcp Server Reposearch — MCP Registry