GitHub Star Count MCP Server
@JavaTheHutt1
MCP Server for GitHub
Overview
What is GitHub Star Count MCP Server?
A Model Context Protocol (MCP) server that allows Claude to fetch star counts from public GitHub repositories. It integrates the GitHub API into Claude Desktop, enabling simple repository statistics retrieval.
How to use GitHub Star Count MCP Server?
Install dependencies with uv, clone the repository, and set up a .env file with a GitHub Personal Access Token. Run python star_count.py or the provided shell script, then configure the server in your Claude Desktop configuration file. After setup, prompt Claude to fetch star counts for any public repository.
Key features of GitHub Star Count MCP Server
- Fetches star counts for any public GitHub repository
- Integrates with Claude Desktop via MCP
- Simple API for getting repository statistics
- Supports shell script and direct Python execution
- Requires only a GitHub token for authentication
Use cases of GitHub Star Count MCP Server
- Checking the popularity of a repository during research
- Comparing star counts across multiple open-source projects
- Including repository metrics in Claude-generated reports
FAQ from GitHub Star Count MCP Server
What dependencies are required to run this server?
Python 3.11+, uv for dependency management, and a GitHub Personal Access Token.
How do I configure Claude Desktop to use this server?
Add a JSON entry to ~/Library/Application Support/Claude/claude_desktop_config.json pointing to the run_star_count.sh shell script.
Does the server only work with public repositories?
Yes, the README specifies it fetches star counts for any public GitHub repository.
Where does the GitHub token need to be stored?
Create a .env file in the project root with GITHUB_TOKEN=your_github_token_here.