Skip to main content
Glama
syou6

GitHub Analytics MCP

by syou6

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

  1. Clone the repository

git clone https://github.com/yourusername/github-analytics-mcp.git
cd github-analytics-mcp
npm install
  1. Set up Supabase

  • Create a new Supabase project at supabase.com

  • Run the migration in supabase/migrations/001_initial_schema.sql

  • Enable GitHub OAuth in Authentication settings

  • Copy your project URL and anon key

  1. 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_token

For Web App (web/.env.local):

NEXT_PUBLIC_SUPABASE_URL=your_supabase_url
NEXT_PUBLIC_SUPABASE_ANON_KEY=your_supabase_anon_key
  1. Start 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=web

Related 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/react
F
license - not found
-
quality - not tested
D
maintenance

Maintenance

Maintainers
Response time
Release cycle
Releases (12mo)
Commit activity

Resources

Unclaimed servers have limited discoverability.

Looking for Admin?

If you are the server author, to access and configure the admin panel.

Related MCP Servers

View all related MCP servers

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.

  • A Model Context Protocol (MCP) application for automated GitHub PR analysis and issue management.…

View all MCP Connectors

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/syou6/Analytics-mcp'

If you have feedback or need assistance with the MCP directory API, please join our Discord server