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 分