Feedback

Mcp Server Reposearch

@happyzym Claim

Basic information

Runtime
node
Category
License
Not specified
Transports
stdio
Author
happyzym
Submitted by
Community
Quality
15
Stars
8

About Mcp Server Reposearch

[中文](./README.md) | [English](./README_en.md) 这是一个 mcp 服务器,提供比 Cline 内置的 `search_files` 工具更好的内容搜索功能。 功能特性: - [x] 通过 `.reposearchignore` 文件控制过滤,使用 gitignore 格式 - [x] 支持正则表达式搜索 - 输出格式控制: - [x] 是否在结果中包含内容 - [ ] 包含上下文行 - [x] 防止 tokens 爆炸 注意事项: - 目前需要在系统提示中告诉 Cline 停止使用 `search_files`

Mcp Server Reposearch is a MCP server in the Other category listed in the AddMCP.net directory, published by happyZYM. Supported transport: stdio. Runtime: node. The repository has 8 GitHub stars. Source code is hosted on github.com. Related topics: content-search, mcp-server, regex-search.

Setup

{
    "mcpServers": {
        "mcp-server-reposearch": {
            "command": "node",
            "args": [
                "path/to/mcp-server-reposearch/index.js"
            ]
        }
    }
}

Mcp Server Reposearch config

Add this server to your MCP-compatible client using the configuration below.

{
    "mcpServers": {
        "mcp-server-reposearch": {
            "command": "node",
            "args": [
                "path/to/mcp-server-reposearch/index.js"
            ]
        }
    }
}

Mcp Server Reposearch tools

Tool list not available yet

This listing does not currently have a tool list to display. This does not mean the server has no tools; check its documentation for supported capabilities.

We auto-extract tools from the README. The maintainer can list them under a ## Tools heading to populate this section.

Overview

What is Mcp Server Reposearch?

Mcp Server Reposearch is an MCP server that provides enhanced content search functionality, superior to the built-in search_files tool in Cline. It is intended for developers who need more flexible, token-efficient file searching within Cline.

How to use Mcp Server Reposearch?

Install and configure the MCP server with your MCP host (e.g., Cline). In your system prompt, tell Cline to stop using its built-in search_files tool so that it uses this server instead.

Key features of Mcp Server Reposearch

  • Filter files via .reposearchignore (gitignore format)
  • Search with regular expressions
  • Option to include or exclude content in results
  • Prevents token explosion in output

Use cases of Mcp Server Reposearch

  • Quickly find code containing a pattern across a large repository
  • Search while respecting project-specific ignore rules
  • Avoid overwhelming the LLM context with unnecessary file content

Frequently asked questions

1 How does it differ from Cline's built-in `search_files`?

It offers more control over filtering (via .reposearchignore), supports regular expressions, and prevents token explosion by allowing you to omit file content from results.

2 How do I ignore files from search?

Create a .reposearchignore file in your repository root using gitignore syntax (e.g., *.log, dist/).

3 Does it support regular expressions?

Yes, you can search using regular expressions in queries.

4 Can I control the output format?

Yes, the server can include or exclude the matched content in results. (Including surrounding context lines is planned but not yet implemented.)

5 What are the runtime requirements?

Comments

No comments yet

Be the first to share feedback about this listing. Sign in to leave a comment.

Sign In

Feedback 💬