Github

io.github.rog0x由 GitHub 帳號 rog0x 發布v1.0.1更新於 Oct 24, 2026

GitHub analytics - repos, PRs, issues, releases, contributors

已驗證STDIO僅桌面開發者工具資料與分析

概覽

AI 產生的概覽

本機 MCP 伺服器,為 AI 助理提供 GitHub 分析工具,涵蓋儲存庫、拉取請求、議題、發行與貢獻者。

可以做什麼
  • 分析儲存庫:星標、分支、未關閉議題、語言組成、主要貢獻者與每週提交趨勢
  • 摘要拉取請求:差異統計、依類別整理的文件變更、審查狀態與近期留言摘錄
  • 議題分流:依標籤與關鍵字分類,建議優先順序,找出可能的重複議題與久未處理的議題
  • 產生發行說明並統計指定期間內的貢獻者資料
適用情境
適合想讓助理直接讀取與摘要公開 GitHub 儲存庫、審閱拉取請求、整理未關閉議題或草擬發行說明,而不必切換到 GitHub 網頁介面的情境。
執行需求
以 Node.js 本機程序執行(需 Node.js 18 以上),透過 stdio 啟動,並在用戶端的 MCP 設定中登記。公開儲存庫無需驗證;可選擇以 token 參數傳入 GitHub 個人存取權杖,將 API 速率上限從每小時 60 次提高到 5,000 次。需要可連線 GitHub API 的網路。
安裝前請注意
選用的 GitHub 個人存取權杖以工具參數傳入,可能出現在對話或日誌中,建議使用權限最小的權杖。未驗證時每小時僅限 60 次請求。資料來自 GitHub API;這些工具屬唯讀分析,不會執行寫入操作。

安裝

在 SourceWeft 中

  1. 開啟 儀表板中的 Github,將其新增到工作區。
  2. 為需要使用其工具的對話啟用該服務。

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

bash
git clone https://github.com/rog0x/mcp-github-tools.gitcd mcp-github-toolsnpm installnpm run build

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

json
{  "mcpServers": {    "github-tools": {      "command": "node",      "args": ["D:/products/mcp-servers/mcp-github-tools/dist/index.js"]    }  }}

Claude Code

Add the server using the CLI:

bash
claude mcp add github-tools node D:/products/mcp-servers/mcp-github-tools/dist/index.js

Or add it to your .claude/settings.json:

json
{  "mcpServers": {    "github-tools": {      "command": "node",      "args": ["D:/products/mcp-servers/mcp-github-tools/dist/index.js"]    }  }}

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
SourceWeft 尚未在沙箱中啟動過該軟體包,因此其工具未知。

版本歷史

1
  1. v1.0.1最新Sep 16, 2026

評分

已滿足適用檢查項的 50%

該評分衡量此收錄條目的完整程度,依據註冊中心條目、端點與公開來源計算得出。它不是對伺服器本身的評價,也不表示伺服器安全或目前可用:可連通性是帶日期的檢查結果,評分也不包含安裝量或使用者評價。

  • 近 30 天內可連通25 分

    請保持端點能夠回應 MCP 握手;SourceWeft 每 30 天探測一次。

  • 已宣告認證方式10 分

    請在註冊中心條目中宣告憑證請求標頭,或保持端點能夠回應探測,以便判定其認證方式。

  • 已列出工具15 分

    請讓伺服器在無憑證時回應 tools/list,或發布可在沙箱中無憑證啟動的軟體包。

  • 描述必需15 分
  • 圖示10 分
  • 文件15 分
  • 授權條款10 分