github-analytics-mcp-server
LocalAbout 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
- 01Repository statistics
- 02Repository search
- 03Repository language breakdown
- 04Compare repository statistics
Use cases
- 01Review a repository's statistics
- 02Find repositories by search
- 03Inspect languages used in a project
- 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.
npx -y @thenextgennexus/github-analytics-mcp-serverAPIFY_TOKENSecretYour Apify API token for accessing web scraping actorsLocal servers need a runtime on your machine (e.g. Node.js 18+). Config file locations differ by client; see your client’s docs.
Tools
4Saved tool list · updated 2w ago
| Parameter | Type | Required | Description |
|---|---|---|---|
| repoUrl | string | Yes | GitHub repository URL |
Details
From the project READMEGitHub 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
Comments
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.