GitHub MCP Server
Official4 toolsby thenextgennexus
GitHub repo analytics: stars, trending, code search, contributor maps for project research.
Analyzes GitHub repositories for trends, stars, code search, and contributor insights.
Captured live from the server via tools/list.
get_repo_stats
Fetch comprehensive statistics for a specific GitHub repository. Returns total stars, forks, issues (open/closed), pull requests, watchers, last commit date, and contributor count. Returns metrics useful for assessing project popularity and maintenance status.
Parameters (2)
- ownerstringrequired
GitHub username or organization name (e.g. 'torvalds', 'microsoft', 'openai')
- repostringrequired
Repository name within the owner (e.g. 'linux', 'vscode', 'gpt-2')
search_repos
Search across GitHub for repositories matching keywords, sorted by relevance or metrics. Returns matching repositories with description, star count, language, and last update timestamp. Use for finding projects, libraries, or code samples related to specific topics.
Parameters (3)
- querystringrequired
Search terms to find repositories (e.g. 'todo app', 'machine learning framework', 'authentication middleware')
- sortstring
Sort results by most stars, most forked, or most recently updated (default: relevance)
- max_resultsinteger
Number of repositories to return (default 10, max 100 for comprehensive search)
get_repo_languages
Analyze the programming language composition of a GitHub repository. Returns percentage breakdown of languages used, dominant language, and file counts per language. Use for understanding project tech stack or evaluating language distribution.
Parameters (2)
- ownerstringrequired
Repository owner GitHub username or organization (e.g. 'python', 'golang')
- repostringrequired
Repository name (e.g. 'cpython', 'go')
compare_repos
Compare multiple GitHub repositories side-by-side with key metrics. Returns star counts, fork counts, issues, primary language, and comparative analysis for each repository. Use for choosing between similar projects or analyzing competitive landscape.
Parameters (1)
- reposarrayrequired
List of repositories to compare (minimum 2)
README not available yet.
Install
Remote endpoint
Streamable HTTPHosted server - connect over the network, no local install.
https://nexgendata-mcp-proxy.steve-corbeil.workers.dev/github-mcp-server/mcpclaude_desktop_config.json
{
"mcpServers": {
"github-mcp-server": {
"command": "npx",
"args": [
"-y",
"mcp-remote",
"https://nexgendata-mcp-proxy.steve-corbeil.workers.dev/github-mcp-server/mcp"
]
}
}
}Desktop config is stdio-only; this bridges via mcp-remote. Native remote: Settings > Connectors.