
Git Summary
io.github.yifanyifan897645由 GitHub 账号 yifanyifan897645 发布v0.1.2更新于 Oct 24, 2026
Git repo intelligence: summaries, blame, changelogs, branch health, and history search
概览
让助手读取并总结本地 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 中
- 打开 控制台中的 Git Summary,将其添加到工作区。
- 为需要使用其工具的对话启用该服务。
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
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.
git_changes
Semantic change summary for any commit range. See what files changed, who changed them, and the overall diff stat.
git_blame
Analyze file ownership: who wrote each line, when, and in which commit. Get contributor breakdowns.
git_changelog
Auto-generate a changelog grouped by commit type (features, fixes, docs, etc.) using conventional commit detection.
git_branch_health
Find stale branches, merged branches ready for cleanup, and branches that are ahead/behind.
git_search
Search through commit messages and code changes (pickaxe search) to find when something was introduced or changed.
Installation
Claude Desktop / Claude Code
Add to your MCP config:
Cursor
Add to .cursor/mcp.json:
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
- webcheck-mcp — Website health analysis
- git-summary-mcp — Git repository intelligence
- mcp-checkup — MCP setup health analyzer
- dev-utils-mcp — Developer utilities
- codescan-mcp — Codebase health scanner
- deadlink-checker-mcp — Dead link detector
License
MIT
来源:README.md,提交 efd43e3
工具
0版本历史
1- v0.1.2最新Sep 16, 2026
评分
已满足适用检查项的 50%
该评分衡量此收录条目的完整程度,依据注册中心条目、端点与公开来源计算得出。它不是对服务器本身的评价,也不表示服务器安全或当前可用:可连通性是带日期的检查结果,评分也不包含安装量或用户评价。
- 近 30 天内可连通25 分
请保持端点能够响应 MCP 握手;SourceWeft 每 30 天探测一次。
- 已声明认证方式10 分
请在注册中心条目中声明凭据请求头,或保持端点能够响应探测,以便判定其认证方式。
- 已列出工具15 分
请让服务器在无凭据时响应 tools/list,或发布可在沙箱中无凭据启动的软件包。
- 描述必需15 分
- 图标10 分
- 文档15 分
- 许可证10 分