
Github
io.github.rog0x由 GitHub 账号 rog0x 发布v1.0.1更新于 Oct 24, 2026
GitHub analytics - repos, PRs, issues, releases, contributors
概览
本地 MCP 服务器,为 AI 助手提供 GitHub 分析工具,覆盖仓库、拉取请求、议题、发布与贡献者。
- 可以做什么
- 分析仓库:星标、复刻、未关闭议题、语言构成、主要贡献者与每周提交趋势
- 总结拉取请求:差异统计、按类别归类的文件变更、评审状态与近期评论摘录
- 议题分诊:按标签和关键词分类,建议优先级,识别可能的重复议题与长期未处理议题
- 生成发布说明并统计指定时间范围内的贡献者数据
- 适用场景
- 适合希望让助手直接读取和总结公开 GitHub 仓库、审阅拉取请求、梳理未关闭议题或起草发布说明,而不必切换到 GitHub 网页界面的场景。
- 运行要求
- 以 Node.js 本地进程运行(需 Node.js 18 或更高版本),通过 stdio 启动,并在客户端的 MCP 配置中登记。公开仓库无需认证;可选传入 GitHub 个人访问令牌作为 token 参数,将 API 速率上限从每小时 60 次提升到 5,000 次。需要能访问 GitHub API 的网络。
安装
在 SourceWeft 中
- 打开 控制台中的 Github,将其添加到工作区。
- 为需要使用其工具的对话启用该服务。
Desktop only,通过 STDIO。 STDIO 服务会启动本地进程,因此需要 SourceWeft 桌面宿主。
其他 MCP 客户端
参照 仓库 中的启动说明。
README
mcp-github-tools
An MCP (Model Context Protocol) server that provides GitHub analytics and management tools for AI agents. Analyze repositories, summarize pull requests, triage issues, generate release notes, and track contributor activity — all through a standardized tool interface.
Tools
github_repo_analyzer
Analyze a GitHub repository and get a comprehensive overview including stars, forks, open issues, language breakdown, top contributors, and weekly commit activity trends.
github_pr_summarizer
Summarize a pull request with diff stats, categorized file changes, review status (approvals, change requests, pending reviewers), and recent comment excerpts.
github_issue_triage
Analyze open issues in a repository. Automatically categorizes issues by labels and keywords (bug, feature, docs, security, etc.), suggests priorities based on engagement and age, identifies potential duplicates using text similarity, and flags stale issues.
github_release_notes
Generate release notes from commits between two references (tags, branches, or SHAs). Categorizes commits using conventional commit patterns and produces both Markdown and structured JSON output.
github_contributor_stats
Get contributor statistics within a configurable time window: commits, PRs opened/merged, code reviews, and identification of first-time contributors.
Requirements
- Node.js 18 or later
- No authentication required for public repositories
- Optional GitHub personal access token for higher rate limits (5,000 requests/hour vs 60)
Installation
Configuration
Claude Desktop
Add to your Claude Desktop configuration file:
Windows: %APPDATA%\Claude\claude_desktop_config.json
macOS: ~/Library/Application Support/Claude/claude_desktop_config.json
Claude Code
Add the server using the CLI:
Or add it to your .claude/settings.json:
Usage Examples
Once connected, the tools are available to the AI agent automatically. Here are example prompts:
- "Analyze the repository facebook/react"
- "Summarize PR #1234 in vercel/next.js"
- "Triage open issues in microsoft/vscode"
- "Generate release notes for rust-lang/rust from 1.75.0 to 1.76.0"
- "Show contributor stats for the last 30 days in nodejs/node"
GitHub Token
All tools accept an optional token parameter for authenticated requests. Without a token, the GitHub API allows 60 requests per hour. With a token, the limit increases to 5,000 requests per hour.
You can create a personal access token at github.com/settings/tokens. No special scopes are required for public repository access.
License
MIT
来源:README.md,提交 f821cb2
工具
0版本历史
1- v1.0.1最新Sep 16, 2026
评分
已满足适用检查项的 50%
该评分衡量此收录条目的完整程度,依据注册中心条目、端点与公开来源计算得出。它不是对服务器本身的评价,也不表示服务器安全或当前可用:可连通性是带日期的检查结果,评分也不包含安装量或用户评价。
- 近 30 天内可连通25 分
请保持端点能够响应 MCP 握手;SourceWeft 每 30 天探测一次。
- 已声明认证方式10 分
请在注册中心条目中声明凭据请求头,或保持端点能够响应探测,以便判定其认证方式。
- 已列出工具15 分
请让服务器在无凭据时响应 tools/list,或发布可在沙箱中无凭据启动的软件包。
- 描述必需15 分
- 图标10 分
- 文档15 分
- 许可证10 分