GitHub Analytics MCP
Provides tools for analyzing GitHub repositories, including statistics (stars, forks, issues), top contributors, language composition, and recent activity (PRs, issues, commits).
Click on "Deploy Server".
Wait a few minutes for the server to deploy. Once ready, it will show a "Started" state.
In the chat, type
@followed by the MCP server name and your instructions, e.g., "@GitHub Analytics MCPanalyze the repository facebook/react"
That's it! The server will respond to your query, and you can continue using it as needed.
Here is a step-by-step guide with screenshots.
GitHub Analytics MCP
AI-powered GitHub repository analytics through MCP (Model Context Protocol). Analyze repositories, track contributions, and get insights directly in your AI assistant.
🚀 Quick Start
Prerequisites
Node.js 18+
Supabase account
GitHub account
Vercel account (for deployment)
Installation
Clone the repository
git clone https://github.com/yourusername/github-analytics-mcp.git
cd github-analytics-mcp
npm installSet up Supabase
Create a new Supabase project at supabase.com
Run the migration in
supabase/migrations/001_initial_schema.sqlEnable GitHub OAuth in Authentication settings
Copy your project URL and anon key
Configure environment variables
For MCP Server (mcp-server/.env):
SUPABASE_URL=your_supabase_url
SUPABASE_ANON_KEY=your_supabase_anon_key
GITHUB_TOKEN=your_github_personal_access_tokenFor Web App (web/.env.local):
NEXT_PUBLIC_SUPABASE_URL=your_supabase_url
NEXT_PUBLIC_SUPABASE_ANON_KEY=your_supabase_anon_keyStart development servers
# Start both MCP server and web app
npm run dev
# Or start individually
npm run dev --workspace=mcp-server
npm run dev --workspace=webRelated MCP server: GitHub Health Monitor MCP
🔧 MCP Configuration
Add to your Claude Desktop config (~/Library/Application Support/Claude/claude_desktop_config.json):
{
"mcpServers": {
"github-analytics": {
"command": "node",
"args": ["/path/to/github-analytics-mcp/mcp-server/dist/index.js"],
"env": {
"SUPABASE_URL": "your_supabase_url",
"SUPABASE_ANON_KEY": "your_supabase_anon_key",
"GITHUB_TOKEN": "your_github_token"
}
}
}
}📊 Available MCP Tools
analyze_repo - Get repository statistics (stars, forks, issues, etc.)
analyze_contributors - List top contributors and their contributions
analyze_languages - Get language composition statistics
analyze_activity - Track recent PRs, issues, and commits
🎯 Example Usage in Claude
User: Analyze the repository facebook/reactThis server cannot be deployed
Maintenance
Related MCP Connectors
Repo intel for AI coding agents: overview, PRs, contributors, hot files, CI, deps. Remote MCP.
Connect AI assistants to GitHub - manage repos, issues, PRs, and workflows through natural language.
AI-native git hosting — repos, PRs, issues, CI gates, and AI code review over MCP (60 tools).
A Model Context Protocol (MCP) application for automated GitHub PR analysis and issue management.…
Related MCP Servers
- AlicenseNot gradedqualityDmaintenanceEnables querying and analysis of public GitHub repositories for statistics, contributor data, and commit history. It provides both a RESTful API and an MCP interface for seamless integration with AI agents.MIT
- AlicenseCqualityCmaintenanceMonitors and analyzes GitHub repository health by detecting stale branches, old pull requests, unresponsive issues, and security alerts. Integrates with MCP-compatible AI assistants and automation tools.1MIT
- AlicenseNot gradedqualityDmaintenanceEnables AI-powered GitHub interactions including repository analysis, code search, PR reviews, and more through the MCP protocol.4MIT
- AlicenseAqualityBmaintenanceMCP server that enables AI assistants to look up and analyze GitHub repositories, including stars, forks, description, open issues, and README content.268MIT