技能潮 SkillTide 提交收录
官方说明7 个来源MCP 服务8 天前
muhannad-hash/git-context-mcp

muhannad-hash/git-context-mcp

Explains why code e
在 GitHub 查看 ↗直链 · 无中转页
配置模板(请按你的客户端调整)
claude mcp add git-context-mcp -- npx -y git-context-mcp
这是根据仓库名生成的可粘贴骨架,命令行参数与包名请以该项目 README 为准。
★ 数取值
2 ★ · muhannad-hash/git-context-mcp · 取自 GitHub 搜索 API · (2026-10-16 20:00:20 核对)
来源明细
收录自 punkpeye/awesome-mcp-servers 榜单(我们从中收集的条目之一) · 条目类型:MCP 服务
收录与活跃
收录于 2026-10-09 · 最近见到 2026-10-16 · 共见到 32 次 · 被 7 个来源列出
评分构成
综合分 703 · 2 ★ · 7 个来源 · mcp
常见问题(答案都来自我们的记录)
怎么安装?
我们【没有】从该仓库取到安装命令(我们的 install 覆盖率只有约 4%)。请看它的 README 或 releases 页。
它适合谁 / 用来做什么?
我们把它归在这些标签下: MCP 服务。标签来自条目自身,不是我们强加的分类。
谁维护它、还在更新吗?
仓库 muhannad-hash/git-context-mcp;我们收录于 2026-10-09;最近见到 2026-10-16。这里没有"官方认证"或"质量评级"——我们只记录来源与时间。
第三方质量标记

git-context-mcp

以下摘录自该仓库的 README(片段) · 在 GitHub 读完整 README →

> An MCP server that answers the one question every developer has: **"why does this code exist?"**
git blame tells you *who* wrote a line. This tells you *why*.
Given a file and line range, git-context-mcp traces back through the commit, finds the pull request that landed it, reads the PR description, and surfaces every linked GitHub issue — all in one shot, directly inside Claude.
---
Demo
No more digging through git log, searching GitHub, and cross-referencing issue trackers. Claude does it in one step.
---
Tools
| Tool | What it does |
|------|-------------|
| blame_context | File + line range → commit + PR description + linked issues |
| commit_story | Commit hash → full narrative (message, diff stat, PR, issues) |
| file_history | File → last N commits, each annotated with PR and issues |
| search_commits | Keyword → matching commits with PR/issue context |
| file_contributors | File → ranked author table (commits, lines owned, active dates) |
---
Installation
Option 1 — npx (no install)
Option 2 — global install
Option 3 — manual config
Add to ~/.claude/claude_mcp_config.json:
Then restart Claude Code.
---
Requirements
- Claude Code (or any MCP-compatible client)
- git in PATH
- gh CLI (install) + gh auth login for GitHub PR/issue lookups
- Works without gh — just skips PR/issue context
---
Usage examples
Once installed, talk to Claude naturally in any git repo:
---
How it works
1. **blame_context** runs git blame -p on your lines to find the commit hash(es)
2. For each commit it calls git show for the full message and diff stat
3. It hits the GitHub API (gh api /repos/:owner/:repo/commits/:hash/pulls) to find the PR
4. It parses #NNN and /issues/NNN refs from the PR body and fetches each issue
5. Everything is returned as structured markdown for Claude to reason over
No tokens stored. No data sent anywhere except GitHub's own API (same as gh CLI).
来源
awesome · https://github.com/muhannad-hash/git-context-mcp
按领域浏览
MCP 服务
Traction
2 ★
收录于
昨天

更多MCP 服务

查看MCP 服务全部 5,525 条 →

所属领域与标签

每个标签都能点进去看同类的全部条目。数字是当前库里的真实条数。

浏览全部领域 →

← 返回索引