- Explore MCP Servers
- GitHub_MCP
Github Mcp
What is Github Mcp
GitHub_MCP is a Model Context Protocol (MCP) server designed to fetch star counts from public GitHub repositories, enabling integration with Claude Desktop.
Use cases
Use cases for GitHub_MCP include monitoring star counts for repositories, integrating repository statistics into applications, and enhancing developer tools with GitHub data.
How to use
To use GitHub_MCP, clone the repository, install the required dependencies, set up your GitHub Personal Access Token, and run the MCP server using the provided scripts.
Key features
Key features include fetching star counts for any public GitHub repository, integration with Claude Desktop, and a simple API for obtaining repository statistics.
Where to use
GitHub_MCP can be used in software development environments, particularly for developers and teams who need to track the popularity of GitHub repositories.
Clients Supporting MCP
The following are the main client software that supports the Model Context Protocol. Click the link to visit the official website for more information.
Overview
What is Github Mcp
GitHub_MCP is a Model Context Protocol (MCP) server designed to fetch star counts from public GitHub repositories, enabling integration with Claude Desktop.
Use cases
Use cases for GitHub_MCP include monitoring star counts for repositories, integrating repository statistics into applications, and enhancing developer tools with GitHub data.
How to use
To use GitHub_MCP, clone the repository, install the required dependencies, set up your GitHub Personal Access Token, and run the MCP server using the provided scripts.
Key features
Key features include fetching star counts for any public GitHub repository, integration with Claude Desktop, and a simple API for obtaining repository statistics.
Where to use
GitHub_MCP can be used in software development environments, particularly for developers and teams who need to track the popularity of GitHub repositories.
Clients Supporting MCP
The following are the main client software that supports the Model Context Protocol. Click the link to visit the official website for more information.
Content
GitHub Star Count MCP Server
A Model Context Protocol (MCP) server that allows Claude to fetch star counts from GitHub repositories.
Features
- Fetch star counts for any public GitHub repository
- Integrates with Claude Desktop via MCP
- Simple API for getting repository statistics
Setup
Prerequisites
- Python 3.11+
- uv for dependency management
- GitHub Personal Access Token
Installation
-
Clone this repository:
git clone https://github.com/yourusername/gh_mcp.git cd gh_mcp -
Install dependencies:
uv venv source .venv/bin/activate uv pip install -r requirements.txt -
Create a
.envfile with your GitHub token:GITHUB_TOKEN=your_github_token_here
Usage
Running the MCP Server
Run the MCP server directly:
python star_count.py
Or use the provided shell script:
./run_star_count.sh
Claude Desktop Integration
Add the following to your Claude Desktop configuration file (~/Library/Application Support/Claude/claude_desktop_config.json):
Example Prompts for Claude
Once the MCP server is configured with Claude Desktop, you can use prompts like:
Use the github-star-count-mcp MCP server to get the star count for the repository "anthropics/claude-api" owned by "anthropics"
Project Structure
star_count.py: Main MCP server implementationgithub_integration.py: GitHub API integration functionsrun_star_count.sh: Helper script for running the MCP servertest_mcp.py: Simple test MCP server for verification
License
MIT
Contributing
Contributions are welcome! Please feel free to submit a Pull Request.
Dev Tools Supporting MCP
The following are the main code editors that support the Model Context Protocol. Click the link to visit the official website for more information.










