Skip to main content
Glama
Akash1070
by Akash1070

🔍 Repo Scout MCP Server

"Vibe Coder 和软件工程师的第一条规则:不要重复造轮子。在写一行代码之前,让 AI 先搜索现有的 GitHub 项目!"

一个高性能、免费的本机 Model Context Protocol (MCP) 服务器,让 AI 助手(Google Antigravity、Claude Desktop、Cursor、Claude Code)在您开始从零构建之前,先搜索 GitHub 上现有的开源项目、库和框架。


👤 作者与致谢

  • 作者: Akash Kumar Jha

  • 许可证: MIT License(免费且开源)


Related MCP server: GitBridge

🚀 为什么使用 Repo Scout MCP?

在进行 vibe coding 或构建软件时,开发人员常常会花费数小时为那些已经以久经考验的高质量开源项目形式存在的功能或完整应用编写代码。

Repo Scout MCP 将您的 AI 编码助手直接连接到 GitHub 的搜索与智能 API:

  • 💡 节省数百小时: 在开始项目之前立即发现现有解决方案。

  • 🆓 100% 免费且本地运行: 无需付费 API 订阅。通过 Node.js 在 stdio 上本地运行。

  • 高性能: 使用免费令牌将 GitHub 速率限制从 60 提升到 5,000 次请求/小时

  • 🛡️ 隐私与安全: 零硬编码密钥或跟踪。每个用户提供自己的环境变量。


🛠️ 包含的工具

工具名称

描述

示例用法

suggest_stack

用通俗易懂的英文描述您想要构建的内容。它会进行多角度 GitHub 搜索(包括 awesome-lists),并返回可复用仓库的排名候选清单。

"我正在构建一个带标签的 markdown 笔记应用。检查一下是否已有现成项目。"

search_repos

按关键词、主题和语言搜索 GitHub,并按星标、fork 或最近更新排序。

"查找按星标排序的 Node.js 限流中间件。"

get_repo_details

拉取仓库的完整 README 和顶层文件结构,以便 AI 评估代码适配度。

"查看 facebook/react 的详细信息。"


📦 快速开始与安装

第 1 步:克隆仓库

git clone https://github.com/YOUR_USERNAME/repo-scout-mcp.git
cd repo-scout-mcp
npm install

第 2 步:获取免费的 GitHub 访问令牌(2 分钟)

  1. 前往 GitHub Settings -> Tokens

  2. 点击 Generate new token $\rightarrow$ Generate new token (classic)

  3. 将其命名为 repo-scout-mcp

  4. 保持所有范围复选框未选中(公共数据搜索不需要任何权限)。

  5. 点击 Generate token 并复制它(看起来像 ghp_xxxxxxxxxxxx)。


🔌 连接到您的 AI 助手

1. Google Antigravity

  1. 打开 Antigravity $\rightarrow$ 点击代理面板右上角的 ... 菜单。

  2. 前往 MCP Servers $\rightarrow$ Manage MCP Servers $\rightarrow$ View raw configmcp_config.json)。

  3. "mcpServers" 内添加以下条目:

{
  "mcpServers": {
    "repo-scout": {
      "command": "node",
      "args": ["G:\\CODE\\repo-scout-mcp\\index.js"],
      "env": {
        "GITHUB_TOKEN": "ghp_your_personal_access_token_here"
      }
    }
  }
}

(注意:将 G:\\CODE\\repo-scout-mcp\\index.js 替换为您实际的完整文件路径,在 Windows 上使用双反斜杠)。

  1. 保存 mcp_config.json 并刷新 MCP 服务器(或在聊天中输入 /mcp)。


2. Claude Desktop

添加到您的 claude_desktop_config.json

  • Windows: %APPDATA%\Claude\claude_desktop_config.json

  • macOS: ~/Library/Application Support/Claude/claude_desktop_config.json

{
  "mcpServers": {
    "repo-scout": {
      "command": "node",
      "args": ["/absolute/path/to/repo-scout-mcp/index.js"],
      "env": {
        "GITHUB_TOKEN": "ghp_your_personal_access_token_here"
      }
    }
  }
}

3. Claude Code CLI

运行:

claude mcp add repo-scout node /absolute/path/to/repo-scout-mcp/index.js -e GITHUB_TOKEN=ghp_your_token_here

💬 可尝试的示例提示

连接后,只需向您的 AI 助手提问:

  • 在开始项目之前:

    "我计划构建一个用于监控 Docker 容器的自托管仪表板。使用 repo-scout 检查是否已有优秀的开源项目。"

  • 搜索库:

    "使用 repo-scout 搜索高星标的 TypeScript 金融技术指标包。"

  • 评估仓库:

    "使用 repo-scout get_repo_details 查看 shadcn/ui 并总结其结构。"


📄 许可证

Akash Kumar Jha 创建。以 MIT License 发布。

Install Server
A
license - permissive license
A
quality
C
maintenance

Maintenance

Maintainers
Response time
Release cycle
Releases (12mo)
Commit activity

Resources

Unclaimed servers have limited discoverability.

Looking for Admin?

If you are the server author, to access and configure the admin panel.

Related MCP Servers

  • A
    license
    Not graded
    quality
    D
    maintenance
    Enables AI assistants to analyze GitHub repository structures and read file contents with features like directory traversal, file type analysis, syntax highlighting, and code pattern detection. Supports both public and private repositories through GitHub API integration.
    11
    Apache 2.0
  • A
    license
    A
    quality
    C
    maintenance
    Enables AI agents to prospect across GitHub, PyPI, and npm, searching repositories, packages, and code patterns with read-only tools.
    7
    3
    MIT
  • F
    license
    Not graded
    quality
    B
    maintenance
    Enables AI assistants to discover and interact with GitHub repositories through standardized MCP tools, allowing exploration and retrieval of project information without direct API calls.

View all related MCP servers

Related MCP Connectors

  • Connect AI assistants to GitHub - manage repos, issues, PRs, and workflows through natural language.

  • Screens public GitHub repos and PRs to generate risk maps, findings, and merge-readiness signals.

  • Connect AI assistants to your GitHub-hosted Obsidian vault to seamlessly access, search, and analy…

View all MCP Connectors

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/Akash1070/repo-scout-mcp'

If you have feedback or need assistance with the MCP directory API, please join our Discord server