Skip to main content
Glama

mcp-github-insights

An MCP server that exposes GitHub repository insights as tools for AI assistants — repo health, commit activity, stale PRs, contributor stats, releases, and issue backlogs.

Point any MCP client (Claude Desktop, Cursor, VS Code, Claude Code) at it and ask things like:

  • "Give me an overview of sagar1708/mcp-github-insights"

  • "Which PRs have been stale for more than 2 weeks?"

  • "Who are the top contributors in the last 90 days?"

Tools

Tool

What it does

repo_overview

Stars, forks, license, topics, languages, last push

commit_activity

Commits per week, top authors, latest commit (default 30d)

stale_pull_requests

Open PRs older than N days, oldest first (default 14d)

contributor_stats

Top contributors by commit count (default 90d)

recent_releases

Latest releases, newest first

issue_backlog

Open issues grouped by label + oldest issues

Related MCP server: GitHub Analytics MCP

Quickstart

pip install -e .

Set a token for higher rate limits (optional — works without one at 60 req/hr):

export GITHUB_TOKEN=ghp_...

Run the server (stdio transport):

github-insights-mcp

Claude Desktop

Add to claude_desktop_config.json:

{
  "mcpServers": {
    "github-insights": {
      "command": "github-insights-mcp",
      "env": { "GITHUB_TOKEN": "ghp_..." }
    }
  }
}

Cursor / VS Code

Same shape in your MCP settings:

{
  "mcpServers": {
    "github-insights": {
      "command": "github-insights-mcp",
      "env": { "GITHUB_TOKEN": "ghp_..." }
    }
  }
}

Development

pip install -e ".[test]"
pytest

Roadmap

  • PR review turnaround stats (median time to merge)

  • Code churn / hot files from commit patches

  • Team dashboards via scheduled digests

License

MIT

Maintenance

ActivityMaintained
ResponsivenessNo issues

Related MCP Connectors

Related MCP Servers

  • A
    license
    Not graded
    quality
    D
    maintenance
    Enables 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
  • F
    license
    Not graded
    quality
    D
    maintenance
    AI-powered GitHub repository analytics through MCP. Analyze repositories, track contributions, and get insights directly in your AI assistant.
    1
    -
  • A
    license
    A
    quality
    B
    maintenance
    Enables AI assistants to query GitHub repositories, issues, pull requests, CI status, and discover trending repos via natural language. Provides MCP tools, resources, and prompts for GitHub data access.
    14
    MIT
  • F
    license
    C
    quality
    C
    maintenance
    Exposes GitHub repository data via MCP tools, a resource, and a prompt, enabling repo summaries, issue/PR listing, keyword search, and repo health review.
    4
    -