GitHub Stars
A Cloudflare-powered MCP (Model Context Protocol) Server that allows you to search and query your GitHub starred repositories using natural language.
What is GitHub Stars?
GitHub Stars is a Model Context Protocol (MCP) server that allows AI assistants like Claude, Cursor, and VS Code to cloudflare-powered mcp (model context protocol) server that allows you to search and query your github starred repositories using natural language.
A Cloudflare-powered MCP (Model Context Protocol) Server that allows you to search and query your GitHub starred repositories using natural language.
This server falls under the Version Control category on MCPgee, the world's largest MCP server directory with 33,000+ servers.
Features
- A Cloudflare-powered MCP (Model Context Protocol) Server tha
Use Cases
Maintainer
Works with
Installation
Manual Installation
npx github-starsConfiguration
Configuration Details
claude_desktop_config.json
Performance
Response Metrics
Resource Usage
How to Set Up and Use GitHub Stars
The GitHub Stars MCP Server is a Cloudflare Workers-powered service that indexes your GitHub starred repositories and makes them searchable via natural language through an MCP interface. It uses Cloudflare AutoRAG to build a semantic search index over your stars, including README excerpts, so you can find projects by describing what they do rather than remembering their names. The server is ideal for developers who accumulate large numbers of starred repos and want an AI-powered way to rediscover them.
Prerequisites
- A Cloudflare account with access to Workers, R2 storage, and AutoRAG
- A GitHub personal access token (GH_TOKEN) with read:user and public_repo scopes
- Node.js 18 or later and pnpm installed for local development
- An MCP client that supports remote HTTP-based MCP servers
Clone the repository
Clone the github-stars repository and install dependencies with pnpm.
git clone https://github.com/miantiao-me/github-stars
cd github-stars
pnpm installCreate a Cloudflare R2 bucket
Log in to the Cloudflare dashboard and create an R2 bucket to store the starred repository data. Note the bucket name for use in the next steps.
Configure environment variables
Set the required secrets for the Cloudflare Worker. These can be set via the Cloudflare dashboard or using wrangler secrets.
# Set Cloudflare Worker secrets
npx wrangler secret put GH_TOKEN
npx wrangler secret put R2_ACCOUNT_ID
npx wrangler secret put R2_ACCESS_KEY_ID
npx wrangler secret put R2_SECRET_ACCESS_KEY
npx wrangler secret put R2_BUCKET
npx wrangler secret put AUTO_RAG_NAME
npx wrangler secret put MCP_API_KEYDeploy the Cloudflare Worker
Deploy the MCP server to Cloudflare Workers. A GitHub Actions workflow is included to auto-sync starred repos weekly.
pnpm deployConfigure your MCP client
Add the deployed Worker URL to your MCP client configuration, including the MCP_API_KEY as a Bearer token in the authorization header.
// claude_desktop_config.json (remote HTTP server)
{
"mcpServers": {
"github-stars": {
"type": "http",
"url": "https://your-worker.your-subdomain.workers.dev/mcp",
"headers": {
"Authorization": "Bearer your_mcp_api_key"
}
}
}
}GitHub Stars Examples
Client configuration
MCP client config connecting to the deployed Cloudflare Worker endpoint
{
"mcpServers": {
"github-stars": {
"type": "http",
"url": "https://your-worker.your-subdomain.workers.dev/mcp",
"headers": {
"Authorization": "Bearer your_mcp_api_key"
}
}
}
}Prompts to try
Natural language queries for searching your GitHub starred repositories
- "Find starred repos related to machine learning model serving."
- "Which of my starred projects are about SQLite performance?"
- "Search my stars for Rust async runtime libraries."
- "Show me starred repos about CSS animation frameworks."Troubleshooting GitHub Stars
search_github_stars returns no results after deployment
The AutoRAG index may not have been built yet. Trigger the GitHub Actions sync workflow manually or wait for the weekly scheduled run to index your starred repositories.
Authentication errors when connecting to the MCP endpoint
Ensure MCP_API_KEY in your client config exactly matches the secret you set with 'wrangler secret put MCP_API_KEY'. The Authorization header must use the 'Bearer ' prefix.
GH_TOKEN rate limit exceeded during sync
The GitHub API allows 5000 requests per hour for authenticated tokens. If you have a very large number of stars, the sync job may hit rate limits. Consider using a fine-grained personal access token with only the required read permissions.
Frequently Asked Questions about GitHub Stars
What is GitHub Stars?
GitHub Stars is a Model Context Protocol (MCP) server that cloudflare-powered mcp (model context protocol) server that allows you to search and query your github starred repositories using natural language. It connects AI assistants to external tools and data sources through a standardized interface.
How do I install GitHub Stars?
Follow the installation instructions on the GitHub Stars GitHub repository. Clone the repo, install dependencies, and add the server config to your AI client.
Which AI clients work with GitHub Stars?
GitHub Stars works with all major MCP-compatible AI clients including Claude Desktop, Claude Code, Cursor, VS Code (GitHub Copilot), Windsurf, and Cline.
Is GitHub Stars free to use?
Yes, GitHub Stars is open source and available under the Apache-2.0 license. You can use it freely in both personal and commercial projects.
GitHub Stars Alternatives — Similar Version Control Servers
Looking for alternatives to GitHub Stars? Here are other popular version control servers you can use with Claude, Cursor, and VS Code.
Ruiyu MA
★ 30.1kConnect AI assistants to GitHub - manage repos, issues, PRs, and workflows through natural language.
GitMCP
★ 8.1kTransforms any GitHub repository or GitHub Pages site into a documentation hub for AI assistants using the Model Context Protocol. It allows AI tools to access real-time code and documentation to prevent hallucinations and provide accurate API usage
GitHub Codemunch
★ 1.8kA token-efficient MCP server for exploring GitHub repositories using tree-sitter AST parsing to extract symbol signatures and summaries. It enables users to search and retrieve specific code components while significantly reducing token consumption c
Azure DevOps MCP Server
★ 1.7kThis server provides a convenient API for interacting with Azure DevOps services, enabling AI assistants and other tools to manage work items, code repositories, boards, sprints, and more. Built with the Model Context Protocol, it provides a standard
GitHub Official
★ 1.2kOfficial GitHub integration with comprehensive API coverage
Azure DevOps
★ 367Enables interaction with Azure DevOps through Cursor chat, providing tools to manage builds, pipelines, work items, sprints, and board operations. Supports secure authentication via Personal Access Tokens and allows natural language-driven DevOps tas
Browse More Version Control MCP Servers
Explore all version control servers available in the MCPgee directory. Each server includes setup guides for Claude, Cursor, and VS Code.
Set Up GitHub Stars in Your Editor
Choose your AI client for step-by-step setup instructions.
Quick Config Preview
Add this to your claude_desktop_config.json or .cursor/mcp.json
Ready to use GitHub Stars?
Browse our complete directory of 33,000+ MCP servers, read setup guides for your editor, and start building with the Model Context Protocol.