mcpField
G
github-analytics-mcp-server

github-analytics-mcp-server

Local
github.com/TheNextGenNexusVersion Control1Updated 27w ago

About github-analytics-mcp-server

github-analytics-mcp-server is an MCP server for examining GitHub repositories. It supports users comparing projects or exploring repository statistics, search results, and language breakdowns by forwarding tool requests to nexgendata’s Apify endpoint.

Key features

  1. 01Repository statistics
  2. 02Repository search
  3. 03Repository language breakdown
  4. 04Compare repository statistics

Use cases

  1. 01Review a repository's statistics
  2. 02Find repositories by search
  3. 03Inspect languages used in a project
  4. 04Compare multiple repositories

MCP support

It exposes GitHub analytics tools to MCP clients through a local stdio bridge. Requests are forwarded to the nexgendata Apify MCP endpoint.

Configuration

Local server config is the same for every client. Copy it into your client’s MCP config file.

mcp.json · Universal config
{
"mcpServers": {
"thenextgennexus-github-analytics": {
"command": "npx",
"args": [
"-y",
"@thenextgennexus/github-analytics-mcp-server"
],
"env": {
"APIFY_TOKEN": "<APIFY_TOKEN>"
}
}
}
}
Run commandnpx -y @thenextgennexus/github-analytics-mcp-server
Environment variables to set
APIFY_TOKENSecretYour Apify API token for accessing web scraping actors

Local servers need a runtime on your machine (e.g. Node.js 18+). Config file locations differ by client; see your client’s docs.

Packages
npm@thenextgennexus/github-analytics-mcp-server1.0.1

Tools

4

Saved tool list · updated 2w ago

ParameterTypeRequiredDescription
repoUrlstringYesGitHub repository URL

Details

From the project README

GitHub Analytics MCP Server

Get GitHub repository stats, search repos, analyze languages, and compare projects — powered by nexgendata on Apify.

Quick Start

Using npx (recommended)
npx @nexgendata/github-analytics-mcp-server
Install globally
npm install -g @nexgendata/github-analytics-mcp-server

Configure with Claude Desktop

Add to your Claude Desktop config (~/Library/Application Support/Claude/claude_desktop_config.json on macOS):

{
      "mcpServers": {
            "github-analytics-mcp-server": {
                  "command": "npx",
                  "args": [
                        "-y",
                        "@nexgendata/github-analytics-mcp-server"
                  ],
                  "env": {
                        "APIFY_TOKEN": "your-apify-token-optional"
                  }
            }
      }
}

Configure with Cline

Add the same configuration to your Cline MCP settings.

Available Tools

ToolDescription
get_repo_statsGet detailed statistics for a GitHub repository
search_reposSearch GitHub repositories
get_repo_languagesGet language breakdown for a repository
compare_reposCompare statistics of multiple repositories

Environment Variables

VariableRequiredDescription
APIFY_TOKENNoYour Apify API token for authenticated access. Without it, the server uses the public endpoint (rate-limited).

How It Works

This MCP server acts as a local stdio bridge to the nexgendata Apify MCP endpoint. When you call a tool, it forwards the request to Apify and returns the results.

Links

License

MIT

Comments

Markdown supported

New to MCP?

From what the protocol is to installing your first server, these answers cover most first questions.

An open protocol that defines how AI applications connect to external tools and data in a uniform way. Clients talk to the model; MCP servers provide tools, resources and prompt templates. They exchange standard messages, so one server can be reused by many clients.