Git Summary

io.github.yifanyifan897645由 GitHub 帳號 yifanyifan897645 發布v0.1.2更新於 Oct 24, 2026

Git repo intelligence: summaries, blame, changelogs, branch health, and history search

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

概覽

AI 產生的概覽

讓助理讀取並摘要本機 Git 儲存庫:儲存庫概觀、變更摘要、blame、分支健康度與歷史搜尋。

可以做什麼
針對本機 Git 儲存庫提供五個以讀取為主的工具。git_summary 提供目前分支、近期提交、貢獻者與統計資訊的結構化概觀。git_changes 彙總某個提交區間內的變更,包括檔案、作者與 diff 統計。git_blame 報告逐行歸屬與貢獻者分布,git_branch_health 找出陳舊、已合併以及領先/落後的分支,git_search 則搜尋提交訊息與程式碼變更,用來找出某項內容何時被引入或修改。
適用情境
適合助理需要專案歷史而非僅目前檔案內容的情境:產生變更記錄或版本說明、準備程式碼審查、追查某個錯誤或設定值何時被改動,或找出可清理的分支。主要面向開發者本機上的本機儲存庫。
執行需求
透過 stdio 在本機執行,通常以 npx 啟動 npm 套件 git-summary-mcp。需要 Node.js 18 或更新版本,並已安裝 Git 且在 PATH 中可用,且必須在 Git 儲存庫內執行或指向某個儲存庫。未宣告任何帳號、API 金鑰或環境變數。
安裝前請注意
這些工具會讀取儲存庫資料,包括提交歷史、作者資訊與程式碼變更,並傳給助理,因此私有或敏感的儲存庫內容可能依用戶端而離開本機。僅支援桌面端,不提供網頁可執行版本。未宣告任何憑證、付費或寫入操作。

安裝

在 SourceWeft 中

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

Desktop only,透過 STDIO。 STDIO 服務會啟動本機處理程序,因此需要 SourceWeft 桌面主機。

其他 MCP 客戶端

參照 儲存庫 中的啟動說明。

README

git-summary-mcp

An MCP server that gives AI assistants deep understanding of your local Git repositories. Get instant repo overviews, semantic change summaries, blame analysis, auto-generated changelogs, branch health checks, and history search — all from within Claude, Cursor, or any MCP client.

Quick Start

bash
npx git-summary-mcp

Zero config. No API keys. No accounts. Just run it in any Git repository.

Tools

git_summary

Structured overview of a repository: current branch, recent commits, contributors, and stats.

"Summarize this repository""Who are the top contributors?""Show me the last 10 commits"

git_changes

Semantic change summary for any commit range. See what files changed, who changed them, and the overall diff stat.

"What changed between v1.0 and v2.0?""Summarize the changes in the last week""What did the feature branch change?"

git_blame

Analyze file ownership: who wrote each line, when, and in which commit. Get contributor breakdowns.

"Who last modified src/index.ts?""Show me the blame for lines 50-100 of app.py""Who owns most of this file?"

git_changelog

Auto-generate a changelog grouped by commit type (features, fixes, docs, etc.) using conventional commit detection.

"Generate a changelog for the last release""Create release notes from v1.0 to v2.0"

git_branch_health

Find stale branches, merged branches ready for cleanup, and branches that are ahead/behind.

"Which branches are stale?""Any branches that have been merged and can be deleted?""Show me branch health"

git_search

Search through commit messages and code changes (pickaxe search) to find when something was introduced or changed.

"When was the login function added?""Find commits that mention 'authentication'""When was this config value changed?"

Installation

Claude Desktop / Claude Code

Add to your MCP config:

json
{  "mcpServers": {    "git-summary": {      "command": "npx",      "args": ["-y", "git-summary-mcp"]    }  }}

Cursor

Add to .cursor/mcp.json:

json
{  "mcpServers": {    "git-summary": {      "command": "npx",      "args": ["-y", "git-summary-mcp"]    }  }}

Windsurf

Add to your MCP configuration with the same format as above.

Why?

AI coding assistants can read files and run commands, but they don't inherently understand your project's history. This MCP server gives them structured, token-efficient Git intelligence so they can:

  • Understand who worked on what and when
  • Generate accurate changelogs and release notes
  • Find when bugs were introduced
  • Identify stale branches and cleanup opportunities
  • Summarize changes for code reviews and PRs

Requirements

  • Node.js 18+
  • Git installed and available in PATH
  • Must be run inside (or pointed at) a Git repository

Part of the MCP Toolkit

View all servers →

License

MIT

來源:README.md,提交 efd43e3

工具

0
SourceWeft 尚未在沙箱中啟動過該軟體包,因此其工具未知。

版本歷史

1
  1. v0.1.2最新Sep 16, 2026

評分

已滿足適用檢查項的 50%

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

  • 近 30 天內可連通25 分

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

  • 已宣告認證方式10 分

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

  • 已列出工具15 分

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

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