$ cat /etc/mcp
Use Git Leaderboard with AI Assistants
Connect Git Leaderboard to Claude, Cursor, VS Code, Windsurf, and other MCP-compatible clients. Query rankings, profiles, achievements, and streaks directly from your editor.
Quick Start
Install via npm — no API key required:
npx -y -p @gitleaderboard/mcp-server mcp-serverSetup
Claude Desktop
Add to your claude_desktop_config.json:
{
"mcpServers": {
"git-leaderboard": {
"command": "npx",
"args": ["-y", "-p", "@gitleaderboard/mcp-server", "mcp-server"]
}
}
}Claude Code (CLI)
Run in your terminal:
claude mcp add git-leaderboard -- npx -y -p @gitleaderboard/mcp-server mcp-serverVS Code (GitHub Copilot)
Add to .vscode/settings.json:
{
"mcp": {
"servers": {
"git-leaderboard": {
"command": "npx",
"args": ["-y", "-p", "@gitleaderboard/mcp-server", "mcp-server"]
}
}
}
}Cursor / Windsurf
Add to your MCP settings:
{
"mcpServers": {
"git-leaderboard": {
"command": "npx",
"args": ["-y", "-p", "@gitleaderboard/mcp-server", "mcp-server"]
}
}
}Available Tools
get_leaderboardGlobal rankings by contributions, commits, issues, PRs, reviews, or impact score. Filter by year and month.
get_user_profileFull user profile with stats, achievements, weekly streak, league career, and global rank.
search_usersSearch for users by GitHub username.
compare_usersSide-by-side comparison of two GitHub users across all metrics.
Example Prompts
> Show me the top GitHub contributors by impact score
> Look up hrvoje0099 on Git Leaderboard
> Compare two GitHub users on Git Leaderboard
> Who has the most commits this year?