github-trending
mcp server for github trendings
Installation
npx github-trending-mcpAsk AI about github-trending
Powered by Claude Β· Grounded in docs
I know everything about github-trending. Ask me about installation, configuration, usage, or troubleshooting.
0/500
Reviews
Documentation
GitHub Trending MCP
A Model Context Protocol (MCP) server that provides access to GitHub Trending repositories. It allows AI assistants to fetch and analyze trending repositories with language filters.
Features
- π₯ Fetch Trending Repositories - Get the latest trending repos from GitHub
- π Built-in Prompts - Includes analysis prompts for comprehensive insights
- π Multi-Language Support - Query multiple languages in one request for better efficiency (supports 600+ languages)
- π Detailed Data - Returns stars, forks, contributors, and AI generated descriptions
- π Daily Tracking - Use daily to track and analyze technology trends over time
Installation
npm install -g github-trending-mcp
Update
To update to the latest version:
npm update -g github-trending-mcp
Configuration
VS Code with Copilot
- run command:
MCP: Add Serve - type: select
stdio - command: input
github-trending-mcp - server id:
github-trending
Proxy Configuration
β οΈ Troubleshooting: If fetching repositories fails and you are using network proxy.
- option 1: please check that your
HTTPS_PROXYorHTTP_PROXYenvironment variables are correctly set. - option 2: add
--proxyafter command in mcp server config, like
"args": [
"--proxy=http://127.0.0.1:7890"
]
Available Resources
github-trending://languages
Returns a list of all supported programming languages for filtering, including:
- Popular languages list
- Complete languages list (600+ languages)
Available Prompts (β Recommended)
π Core Value: The built-in MCP prompts are the most valuable feature of this plugin. They provide structured, comprehensive analysis that goes far beyond simple data fetching.
analyze_github_trending
A pre-built prompt for comprehensive analysis of trending repositories. This prompt orchestrates the entire workflow - fetching data, analyzing patterns, and generating actionable insights.
Arguments:
| Argument | Type | Description |
|---|---|---|
language | string | Programming language(s) to analyze (supports multiple languages) |
Output includes:
- Overview table with rankings, stars, and descriptions
- Detailed analysis of top 10 repositories.(you can change the generated prompt)
- Trend summary with common themes and recommendations
analyze_repository
A comprehensive prompt for deep-diving into a specific GitHub repository. Perfect for understanding a project before adopting it or contributing to it.
Arguments:
| Argument | Type | Description |
|---|---|---|
repository | string | Repository to analyze (e.g., facebook/react or full URL) |
Analysis includes:
- π¦ Overview - Stars, forks, language, license, activity
- π Core Purpose - What it does and who it's for
- β¨ Key Features - Main capabilities and functionalities
- πΌ Real-World Use Cases - Concrete business scenarios
- ποΈ Architecture - Tech stack, components, design patterns
- π Community & Adoption - User base, activity level, notable users
- π£οΈ User Feedback - Common issues, feature requests, sentiment
- πͺ Strengths & Considerations - Pros and things to be aware of
- π Getting Started - Quick start guide
How to Use the Prompt
In VS Code with Copilot:
- Open Copilot Chat
- Type
/to see available prompts - Select
analyze_github_trending - Enter the language(s) you want to analyze
π Daily Tracking Strategy
Why use daily?
- π Spot emerging technologies - New frameworks often appear in trending before going mainstream
- π Track project momentum - See which projects are gaining or losing traction
- π― Identify patterns - Discover common themes across different languages
- π‘ Learning opportunities - Find high-quality codebases to study
Recommended workflow:
- Run the prompt every morning for your primary languages
- Note any new entries or significant star increases
- Over time, you'll develop intuition for technology trends
π‘ Pro Tip: Combine multiple languages (e.g., "ts, py, rs") in one analysis to compare trends across ecosystems and identify cross-language patterns.
Development
Setup
# Clone the repository
git clone https://github.com/mainhanu/github-trendings-mcp.git
cd github-trendings-mcp
# Install dependencies
npm install
Scripts
# Run in development mode
npm run dev
# Build for production
npm run build
# Run tests
npm test
How It Works
This MCP server scrapes the GitHub Trending page to extract repository information including:
- Repository name and description
- Star count and fork count
- Stars added today
- Programming language
- Top contributors
The data is parsed using Cheerio and returned in a structured JSON format that AI assistants can easily process and present.
License
MIT
