mcp-github-tools
mcp-github-tools
AIエージェント向けにGitHubの分析・管理ツールを提供するMCP(Model Context Protocol)サーバーです。リポジトリの分析、プルリクエストの要約、イシューのトリアージ、リリースノートの生成、コントリビューターの活動追跡を、標準化されたツールインターフェースを通じて行えます。
ツール
github_repo_analyzer
GitHubリポジトリを分析し、スター数、フォーク数、オープン中のイシュー、言語別構成、主要コントリビューター、週間コミット活動トレンドを含む包括的な概要を取得します。
github_pr_summarizer
差分統計、カテゴリ別のファイル変更、レビューステータス(承認、変更リクエスト、保留中のレビュアー)、最近のコメント抜粋を含めてプルリクエストを要約します。
github_issue_triage
リポジトリ内のオープン中のイシューを分析します。ラベルとキーワード(bug、feature、docs、securityなど)に基づいてイシューを自動分類し、エンゲージメントと経過日数に基づいて優先度を提案し、テキスト類似度を使用して重複の可能性を特定し、古いイシューにフラグを立てます。
github_release_notes
2つの参照(タグ、ブランチ、SHA)間のコミットからリリースノートを生成します。Conventional Commitsパターンを使用してコミットを分類し、Markdownと構造化JSONの両方の出力を生成します。
github_contributor_stats
設定可能な期間内のコントリビューター統計を取得します:コミット数、オープン/マージされたPR数、コードレビュー数、初回コントリビューターの識別。
Related MCP server: GitHub MCP Server
要件
Node.js 18以降
パブリックリポジトリには認証は不要
より高いレート制限(5,000リクエスト/時間 vs 60)のためのオプションのGitHub個人アクセストークン
インストール
git clone https://github.com/rog0x/mcp-github-tools.git
cd mcp-github-tools
npm install
npm run build設定
Claude Desktop
Claude Desktopの設定ファイルに追加します:
Windows: %APPDATA%\Claude\claude_desktop_config.json
macOS: ~/Library/Application Support/Claude/claude_desktop_config.json
{
"mcpServers": {
"github-tools": {
"command": "node",
"args": ["D:/products/mcp-servers/mcp-github-tools/dist/index.js"]
}
}
}Claude Code
CLIを使用してサーバーを追加します:
claude mcp add github-tools node D:/products/mcp-servers/mcp-github-tools/dist/index.jsまたは、.claude/settings.jsonに追加します:
{
"mcpServers": {
"github-tools": {
"command": "node",
"args": ["D:/products/mcp-servers/mcp-github-tools/dist/index.js"]
}
}
}使用例
接続すると、ツールはAIエージェントで自動的に利用可能になります。以下はプロンプトの例です:
「リポジトリfacebook/reactを分析」
「vercel/next.jsのPR #1234を要約」
「microsoft/vscodeのオープン中のイシューをトリアージ」
「rust-lang/rustの1.75.0から1.76.0までのリリースノートを生成」
「nodejs/nodeの過去30日間のコントリビューター統計を表示」
GitHubトークン
すべてのツールは、認証済みリクエスト用のオプションのtokenパラメータを受け付けます。トークンがない場合、GitHub APIは1時間あたり60リクエストを許可します。トークンがある場合、制限は1時間あたり5,000リクエストに増加します。
個人アクセストークンはgithub.com/settings/tokensで作成できます。パブリックリポジトリへのアクセスには特別なスコープは必要ありません。
ライセンス
MIT
Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections.
Loading tool schema changelog…
This server cannot be deployed
Related MCP Connectors
GitHub repo search, stats, language breakdown and comparison as agent tools.
Connect AI assistants to GitHub - manage repos, issues, PRs, and workflows through natural language.
Operate GitHub from your AI assistant: repos, PRs, issues, Actions. Previews and read-only mode.
Access the GitHub API, enabling file operations, repository management, search functionality, and…
Related MCP Servers
- FlicenseNot gradedqualityDmaintenanceEnables Large Language Models to analyze GitHub repositories in real-time, providing tools for retrieving repository information, analyzing issues, accessing documentation, and visualizing activity.-
- AlicenseNot gradedqualityDmaintenanceEnables AI agents to manage GitHub repositories, branches, issues, pull requests, releases, and actions through natural language.6MIT
- FlicenseNot gradedqualityDmaintenanceEnables AI agents to interact with GitHub repositories, issues, pull requests, code, and more through a comprehensive set of tools.-
- AlicenseBqualityCmaintenanceEnables AI agents to interact with GitHub (search repos, read files, issues, PRs), analyze code for quality and issues, and manage tasks with priority sorting.7MIT