- GitHub Stars MCP Server
GitHub Stars MCP Server
A Cloudflare-powered MCP (Model Context Protocol) Server that allows you to search and query your GitHub starred repositories using natural language.
Content
GitHub Stars MCP Server
A Cloudflare-powered MCP (Model Context Protocol) Server that allows you to search and query your GitHub starred repositories using natural language.
English | 简体中文
Overview
This project creates a searchable database of your GitHub starred repositories by:
- Fetching all your starred repositories using the GitHub API
- Extracting and processing the README files from each repository
- Uploading the processed data to Cloudflare R2 storage
- Using Cloudflare AutoRAG to create embeddings for efficient searching
- Exposing a MCP Server that allows querying these repositories via natural language
Features
- Automatically fetches and processes GitHub starred repositories
- Scheduled weekly updates via GitHub Actions
- Stores repository metadata and README content
- Provides semantic search capabilities through Cloudflare AutoRAG
- Exposes a MCP-compatible API for integration with AI agents
Setup
Prerequisites
- Node.js (v22 recommended)
- PNPM package manager
- GitHub Personal Access Token with
reposcope - Cloudflare account
Configuration
-
Clone this repository
-
Set up Cloudflare R2:
- Create a R2 bucket
- Configure R2 access credentials
-
Configure GitHub Secrets for the CI/CD workflow:
GH_TOKEN: GitHub token for fetching starred repositoriesR2_ACCOUNT_ID: Cloudflare account IDR2_ACCESS_KEY_ID: R2 access keyR2_SECRET_ACCESS_KEY: R2 secret keyR2_BUCKET: R2 bucket name
-
Configure Cloudflare AutoRAG:
- Create an AutoRAG instance in Cloudflare
- Set the
AUTO_RAG_NAMEenvironment variable in your Cloudflare Worker
Local Development
To develop locally:
# Install dependencies
pnpm install
# Fetch your GitHub stars locally
pnpm dev:stars
# Run MCP server locally
pnpm dev:mcp
Deployment
Deploy to Cloudflare Workers:
pnpm deploy
The GitHub Action will automatically:
- Run weekly to update your starred repositories
- Upload the processed files to R2
- Rebuild the AutoRAG index
Usage
Once deployed, you can interact with the MCP Server using any MCP-compatible client:
SSE: https://your-worker-url.workers.dev
API Reference
MCP Tool: search_github_stars
Searches through your starred GitHub repositories.
Parameters:
query(string): Natural language query to search repositories
Response:
- JSON result containing matching repositories and relevant README content
Recommend Servers
TraeBuild with Free GPT-4.1 & Claude 3.7. Fully MCP-Ready.
MCP AdvisorMCP Advisor & Installation - Use the right MCP server for your needs
EdgeOne Pages MCPAn MCP service designed for deploying HTML content to EdgeOne Pages and obtaining an accessible public URL.
Tavily Mcp
Baidu Map百度地图核心API现已全面兼容MCP协议,是国内首家兼容MCP协议的地图服务商。
Howtocook Mcp基于Anduin2017 / HowToCook (程序员在家做饭指南)的mcp server,帮你推荐菜谱、规划膳食,解决“今天吃什么“的世纪难题;
Based on Anduin2017/HowToCook (Programmer's Guide to Cooking at Home), MCP Server helps you recommend recipes, plan meals, and solve the century old problem of "what to eat today"
DeepChatYour AI Partner on Desktop
Visual Studio Code - Open Source ("Code - OSS")Visual Studio Code
WindsurfThe new purpose-built IDE to harness magic
Serper MCP ServerA Serper MCP Server
Jina AI MCP ToolsA Model Context Protocol (MCP) server that integrates with Jina AI Search Foundation APIs.
Amap Maps高德地图官方 MCP Server
TimeA Model Context Protocol server that provides time and timezone conversion capabilities. This server enables LLMs to get current time information and perform timezone conversions using IANA timezone names, with automatic system timezone detection.
Playwright McpPlaywright MCP server
ChatWiseThe second fastest AI chatbot™
Context7Context7 MCP Server -- Up-to-date code documentation for LLMs and AI code editors
AiimagemultistyleA Model Context Protocol (MCP) server for image generation and manipulation using fal.ai's Stable Diffusion model.
Zhipu Web SearchZhipu Web Search MCP Server is a search engine specifically designed for large models. It integrates four search engines, allowing users to flexibly compare and switch between them. Building upon the web crawling and ranking capabilities of traditional search engines, it enhances intent recognition capabilities, returning results more suitable for large model processing (such as webpage titles, URLs, summaries, site names, site icons, etc.). This helps AI applications achieve "dynamic knowledge acquisition" and "precise scenario adaptation" capabilities.
CursorThe AI Code Editor
BlenderBlenderMCP connects Blender to Claude AI through the Model Context Protocol (MCP), allowing Claude to directly interact with and control Blender. This integration enables prompt assisted 3D modeling, scene creation, and manipulation.
MiniMax MCPOfficial MiniMax Model Context Protocol (MCP) server that enables interaction with powerful Text to Speech, image generation and video generation APIs.