Analyze GitHub repository statistics, search for repositories, examine language breakdowns, and compare different projects.
Also known as TheNextGenNexus/ai-analytics-mcp-servers, @thenextgennexus/github-analytics-mcp-server
- Stars
- 1
- Tools
- 4
- Downloads, 30 days
- —
- Latest version
- 1.0.1
- Last commit
- Nov 4, 2026
- License
- —
What is GitHub Analytics MCP?
GitHub Analytics analyzes GitHub repository statistics, search for repositories, examine language breakdowns, and compare different projects. It exposes 4 tools, such as get_repo_stats, search_repos, get_repo_languages.
Summary generated from the project's README
About GitHub Analytics MCP server
Analyzing GitHub repository statistics and comparing project data directly from your AI client is what this server enables. Developers can use it to search for specific repositories, examine language breakdowns, and pull detailed metrics for multiple projects at once. It functions as a local stdio bridge that forwards requests to the nexgendata Apify endpoint.
Setup requires adding the server to your Claude Desktop or Cline configuration using npx. While the server works with a public endpoint, providing an APIFY_TOKEN as an environment variable allows for authenticated access to avoid rate limits. The available toolset includes get_repo_stats, search_repos, get_repo_languages, and compare_repos to facilitate deep technical research into open source ecosystems.
What you can do with it
- 1Researching repository metricsAsk your AI client to retrieve detailed statistics for a specific GitHub repository.
- 2Finding new open source projectsInstruct the AI to search for repositories based on specific criteria.
- 3Analyzing code compositionRequest a breakdown of the programming languages used within a project.
- 4Benchmarking multiple projectsHave the AI compare the statistics of several different repositories side by side.
Written from the project's README. Every use case is checked against a quote from it.
How to install GitHub Analytics MCP
Formats verified 10 Nov 2026Add to CursorAdd to GooseInstall GitHub Analytics MCP in Claude Code
$ claude mcp add --env 'APIFY_TOKEN=<YOUR_APIFY_TOKEN>' github-analytics-mcp-server -- npx -y @thenextgennexus/github-analytics-mcp-serverInstall GitHub Analytics MCP in Cursor
~/.cursor/mcp.json
{
"mcpServers": {
"github-analytics-mcp-server": {
"command": "npx",
"args": [
"-y",
"@thenextgennexus/github-analytics-mcp-server"
],
"env": {
"APIFY_TOKEN": "<YOUR_APIFY_TOKEN>"
}
}
}
}Install GitHub Analytics MCP in VS Code
.vscode/mcp.json
{
"servers": {
"github-analytics-mcp-server": {
"type": "stdio",
"command": "npx",
"args": [
"-y",
"@thenextgennexus/github-analytics-mcp-server"
],
"env": {
"APIFY_TOKEN": "<YOUR_APIFY_TOKEN>"
}
}
}
}Install GitHub Analytics MCP in VS Code CLI
$ code --add-mcp '{"name":"github-analytics-mcp-server","type":"stdio","command":"npx","args":["-y","@thenextgennexus/github-analytics-mcp-server"],"env":{"APIFY_TOKEN":"<YOUR_APIFY_TOKEN>"}}'Install GitHub Analytics MCP in Claude Desktop
claude_desktop_config.json
{
"mcpServers": {
"github-analytics-mcp-server": {
"command": "npx",
"args": [
"-y",
"@thenextgennexus/github-analytics-mcp-server"
],
"env": {
"APIFY_TOKEN": "<YOUR_APIFY_TOKEN>"
}
}
}
}Install GitHub Analytics MCP in Codex
$ codex mcp add github-analytics-mcp-server --env 'APIFY_TOKEN=<YOUR_APIFY_TOKEN>' -- npx -y @thenextgennexus/github-analytics-mcp-serverInstall GitHub Analytics MCP in Codex config.toml
~/.codex/config.toml
[mcp_servers.github-analytics-mcp-server] command = "npx" args = ["-y", "@thenextgennexus/github-analytics-mcp-server"] [mcp_servers.github-analytics-mcp-server.env] APIFY_TOKEN = "<YOUR_APIFY_TOKEN>"
Install GitHub Analytics MCP in Gemini CLI
$ gemini mcp add -s user -e 'APIFY_TOKEN=<YOUR_APIFY_TOKEN>' github-analytics-mcp-server npx -- -y @thenextgennexus/github-analytics-mcp-serverInstall GitHub Analytics MCP in Gemini settings.json
~/.gemini/settings.json
{
"mcpServers": {
"github-analytics-mcp-server": {
"command": "npx",
"args": [
"-y",
"@thenextgennexus/github-analytics-mcp-server"
],
"env": {
"APIFY_TOKEN": "<YOUR_APIFY_TOKEN>"
}
}
}
}GitHub Analytics MCP tools 4
Detected from the READMEget_repo_statssearch_reposget_repo_languagescompare_repos
| get_repo_stats | — | |
| search_repos | — | |
| get_repo_languages | — | |
| compare_repos | — |
Configuration
APIFY_TOKENRequiredSecretYour Apify API token for accessing web scraping actors
| Name | Description | |
|---|---|---|
| APIFY_TOKEN | Your Apify API token for accessing web scraping actors | RequiredSecret |
Automated checks
Ran Nov 14, 2026Full report →Passed our automated checks. That is not a security audit: read the code and give the server the narrowest access it needs. How checks work · What to fix for more points
- Source repository linked and reachablethenextgennexus/ai-analytics-mcp-servers is public and reachablegithub.com/thenextgennexus/ai-analytics-mcp-servers ↗Pass
- Package names this repository as its source@thenextgennexus/github-analytics-mcp-server names thenextgennexus/ai-analytics-mcp-servers as sourcenpmjs.com/package/@thenextgennexus/github-analytics-mcp-serv ↗Pass
- Build provenance (Sigstore attestation)No build attestation published for this releaseNot checked
- Open source license (OSI)No licenseFinding
- Commit or release in the last yearLast commit or release 2026-11-07github.com/thenextgennexus/ai-analytics-mcp-servers ↗Pass
- OpenSSF ScorecardNot checked
- Package name not close to a popular packageNo popular package one edit away from @thenextgennexus/github-analytics-mcp-serverPass
- No critical advisory in the package or its dependencies99 resolved dependencies checked; no critical advisoryosv.dev ↗Pass
- No hidden instructions to the model4 tool descriptions and the README read; no override phrases, credential paths or hidden charactersPass
- Destructive tools are labelledNo tool named like delete, drop or execPass
- Remote endpoint answers the MCP handshakeNot checked
README
View on GitHubGitHub 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
| Tool | Description |
|---|---|
get_repo_stats |
Get detailed statistics for a GitHub repository |
search_repos |
Search GitHub repositories |
get_repo_languages |
Get language breakdown for a repository |
compare_repos |
Compare statistics of multiple repositories |
Environment Variables
| Variable | Required | Description |
|---|---|---|
APIFY_TOKEN |
No | Your 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
GitHub Analytics MCP questions
How do I add GitHub Analytics MCP to Claude Code?
Run claude mcp add --env 'APIFY_TOKEN=<YOUR_APIFY_TOKEN>' github-analytics-mcp-server -- npx -y @thenextgennexus/github-analytics-mcp-server in your terminal. Add --scope user to make it available in every project.
How do I add GitHub Analytics MCP to Cursor?
Open ~/.cursor/mcp.json and add the server under mcpServers, using the Cursor config shown in the install section above.
What tools does GitHub Analytics MCP provide?
It exposes 4 tools, including get_repo_stats, search_repos, get_repo_languages, compare_repos.
How do I run the server using npx?
You can run the server by executing the command npx @nexgendata/github-analytics-mcp-server.
Is an API token required to use this server?
No, the API token is optional. If you do not provide one, the server uses a public endpoint which is subject to rate limits.