An MCP (Model Context Protocol) server that provides GitHub analytics and management tools for AI agents. Analyze repositories, summarize pull requests, triage issues, generate release notes, and track contributor activity — all through a standardized tool interface.
Analyze a GitHub repository and get a comprehensive overview including stars, forks, open issues, language breakdown, top contributors, and weekly commit activity trends.
Summarize a pull request with diff stats, categorized file changes, review status (approvals, change requests, pending reviewers), and recent comment excerpts.
Analyze open issues in a repository. Automatically categorizes issues by labels and keywords (bug, feature, docs, security, etc.), suggests priorities based on engagement and age, identifies potential duplicates using text similarity, and flags stale issues.
Generate release notes from commits between two references (tags, branches, or SHAs). Categorizes commits using conventional commit patterns and produces both Markdown and structured JSON output.
Get contributor statistics within a configurable time window: commits, PRs opened/merged, code reviews, and identification of first-time contributors.
- Node.js 18 or later
- No authentication required for public repositories
- Optional GitHub personal access token for higher rate limits (5,000 requests/hour vs 60)
git clone https://github.com/rog0x/mcp-github-tools.git
cd mcp-github-tools
npm install
npm run buildAdd to your Claude Desktop configuration file:
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"]
}
}
}Add the server using the CLI:
claude mcp add github-tools node D:/products/mcp-servers/mcp-github-tools/dist/index.jsOr add it to your .claude/settings.json:
{
"mcpServers": {
"github-tools": {
"command": "node",
"args": ["D:/products/mcp-servers/mcp-github-tools/dist/index.js"]
}
}
}Once connected, the tools are available to the AI agent automatically. Here are example prompts:
- "Analyze the repository facebook/react"
- "Summarize PR #1234 in vercel/next.js"
- "Triage open issues in microsoft/vscode"
- "Generate release notes for rust-lang/rust from 1.75.0 to 1.76.0"
- "Show contributor stats for the last 30 days in nodejs/node"
All tools accept an optional token parameter for authenticated requests. Without a token, the GitHub API allows 60 requests per hour. With a token, the limit increases to 5,000 requests per hour.
You can create a personal access token at github.com/settings/tokens. No special scopes are required for public repository access.
MIT