repo-scout
🔍 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: Implementation Intelligence MCP
🚀 为什么使用 Repo Scout MCP?
在进行 vibe coding 或构建软件时,开发人员常常会花费数小时为那些已经以久经考验的高质量开源项目形式存在的功能或完整应用编写代码。
Repo Scout MCP 将您的 AI 编码助手直接连接到 GitHub 的搜索与智能 API:
💡 节省数百小时: 在开始项目之前立即发现现有解决方案。
🆓 100% 免费且本地运行: 无需付费 API 订阅。通过 Node.js 在 stdio 上本地运行。
⚡ 高性能: 使用免费令牌将 GitHub 速率限制从 60 提升到 5,000 次请求/小时。
🛡️ 隐私与安全: 零硬编码密钥或跟踪。每个用户提供自己的环境变量。
🛠️ 包含的工具
工具名称 | 描述 | 示例用法 |
| 用通俗易懂的英文描述您想要构建的内容。它会进行多角度 GitHub 搜索(包括 awesome-lists),并返回可复用仓库的排名候选清单。 | "我正在构建一个带标签的 markdown 笔记应用。检查一下是否已有现成项目。" |
| 按关键词、主题和语言搜索 GitHub,并按星标、fork 或最近更新排序。 | "查找按星标排序的 Node.js 限流中间件。" |
| 拉取仓库的完整 README 和顶层文件结构,以便 AI 评估代码适配度。 | "查看 |
📦 快速开始与安装
第 1 步:克隆仓库
git clone https://github.com/YOUR_USERNAME/repo-scout-mcp.git
cd repo-scout-mcp
npm install第 2 步:获取免费的 GitHub 访问令牌(2 分钟)
点击 Generate new token $\rightarrow$ Generate new token (classic)。
将其命名为
repo-scout-mcp。保持所有范围复选框未选中(公共数据搜索不需要任何权限)。
点击 Generate token 并复制它(看起来像
ghp_xxxxxxxxxxxx)。
🔌 连接到您的 AI 助手
1. Google Antigravity
打开 Antigravity $\rightarrow$ 点击代理面板右上角的
...菜单。前往 MCP Servers $\rightarrow$ Manage MCP Servers $\rightarrow$ View raw config(
mcp_config.json)。在
"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 上使用双反斜杠)。
保存
mcp_config.json并刷新 MCP 服务器(或在聊天中输入/mcp)。
2. Claude Desktop
添加到您的 claude_desktop_config.json:
Windows:
%APPDATA%\Claude\claude_desktop_config.jsonmacOS:
~/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 发布。
Available Tools
3 toolsget_repo_detailsA
Fetch details for one specific repo (owner/name), including README excerpt and top-level file list, so you can judge whether it fits your use case.
Inputs: repo (required).
search_reposB
Search public GitHub repositories by keyword/topic. Returns stars, last-updated, license, etc.
Inputs: query (required), sort, limit, language, +1 more.
suggest_stackA
Given a plain-language description of what you're about to build, runs several targeted GitHub searches (including curated/awesome-list style queries) and returns a ranked shortlist of existing projects/libraries you could reuse instead of building from scratch.
Inputs: description (required), language, limit_per_query.
Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections.
Loading tool schema changelog…
TDQS
Scored across 3 tools
Each tool has a clearly distinct purpose: retrieving details for a specific known repo, searching by keywords, and generating a shortlist from a natural-language description. No overlap in functionality or target resource.
All tool names follow a consistent verb_noun pattern in snake_case: get_repo_details, search_repos, suggest_stack. This is a predictable and uniform convention.
With only 3 tools, the server is tightly scoped to the 'repo scout' purpose: discovery (search), semantic suggestion (suggest), and evaluation (get details). Each tool earns its place, and the count is within the ideal 3-15 range.
The tool surface covers the full workflow for scouting repositories: finding candidates (search_repos, suggest_stack) and inspecting them (get_repo_details). No obvious gaps or dead ends for the stated purpose.
Related MCP Connectors
Finds real, maintained open-source repos that fit your project. MCP grounding for coding agents.
Connect AI assistants to GitHub - manage repos, issues, PRs, and workflows through natural language.
Search agent-ready open source repos by task, interface, ecosystem and OG score.
GitHub repo search, stats, language breakdown and comparison as agent tools.
Related MCP Servers
- AlicenseAqualityDmaintenanceEnables AI agents to prospect across GitHub, PyPI, and npm, searching repositories, packages, and code patterns with read-only tools.787 PyPI5MIT
- AlicenseNot gradedqualityBmaintenanceEnables AI coding agents to discover, evaluate, and select the best existing open-source implementations by assessing license compatibility, extracting only the needed symbols and dependencies, and producing integration or adaptation plans.Apache 2.0
- AlicenseAqualityCmaintenanceEnables AI agents to analyze public GitHub repositories directly through tools for repo health scoring, recent commit summaries, good first issue discovery, and semantic Q&A over docs and issues.439 npm1MIT
- AlicenseAqualityCmaintenanceEnables AI assistants to search, inspect, compare, and evaluate GitHub repositories using read-only tools, including topic discovery, repository health scoring, security advisories, dependency audits, and supply-chain risk checks. It returns concise, readable results and can work without a token, with optional authentication for higher rate limits and code search.1626 npmMIT