GitHub Trending MCP Server
Fetches trending repositories from GitHub and filters them by keywords, programming language, and time period.
This server does not currently have a deployable release on Glama. Follow the repository's setup instructions to install and configure it for your MCP client, including any required credentials and local dependencies.
GitHub Trending MCP Server
A Model Context Protocol (MCP) server that fetches GitHub trending repositories and filters them by keywords, programming language, and time period.
Key Features
Fetch trending repositories from GitHub
Filter by keywords (default: "mcp", "model context protocol", "skill")
Filter by programming language (Python, TypeScript, Rust, etc.)
Filter by time period (daily, weekly, monthly)
Rich response format with keyword match details and locations
Runs as a standard MCP server over stdio
Installation
From PyPI
pip install yw-github-trending-mcpFrom Source
git clone https://github.com/snyangwei2/yw-github-trending-mcp.git
cd yw-github-trending-mcp
pip install -e .Related MCP server: Job Searchoor
Configuration
Add the server to your MCP client configuration. Below are examples for Claude Desktop.
Claude Desktop (macOS)
Edit ~/Library/Application Support/Claude/claude_desktop_config.json:
{
"mcpServers": {
"github-trending": {
"command": "python",
"args": ["-m", "github_trending_mcp"]
}
}
}Claude Desktop (Windows)
Edit %APPDATA%\Claude\claude_desktop_config.json:
{
"mcpServers": {
"github-trending": {
"command": "cmd",
"args": ["/c", "python", "-m", "github_trending_mcp"]
}
}
}Tip: If you installed the package in a virtual environment, use the full path to the Python binary instead of just
"python".
Usage
Once configured, you can ask your MCP client natural language questions like:
"Show me trending MCP repositories on GitHub"
"What are the trending Python repositories this week?"
"Find trending repos related to model context protocol"
"Show me weekly trending Rust projects"
"Are there any trending repositories about skills or MCP?"
The server will scrape GitHub Trending, filter results by your criteria, and return a formatted markdown response.
Tool: get_trending_repos
The server exposes a single tool with the following parameters:
Parameter | Type | Required | Description |
|
| No | Keywords to match in repo names and descriptions. Default: |
|
| No | Programming language filter (e.g., |
|
| No | Time period: |
|
| No | Human language filter (e.g., |
Example Response
# GitHub Trending Repositories
Found 3 repositories matching keywords: mcp, model context protocol, skill
## 1. anthropics/mcp-server
**URL:** https://github.com/anthropics/mcp-server
**Description:** Reference implementation of the Model Context Protocol
**Language:** TypeScript
**Stars:** 12,345 (+230 today)
**Forks:** 1,024
**Matched Keywords:** mcp, model context protocol
- 'mcp' found in: name, description
- 'model context protocol' found in: descriptionDevelopment
Setup
git clone https://github.com/snyangwei2/yw-github-trending-mcp.git
cd yw-github-trending-mcp
pip install -e ".[dev]"Run Tests
pytestFormat Code
black src/ tests/Type Check
mypy src/Lint
ruff check src/ tests/Publishing
PyPI
pip install build twine
python -m build
twine upload dist/*License
MIT License. See LICENSE for details.
Contributing
Contributions are welcome! To get started:
Fork the repository
Create a feature branch (
git checkout -b feature/my-feature)Make your changes and add tests
Run the test suite (
pytest)Run formatting and linting (
black src/ tests/ && ruff check src/ tests/)Submit a pull request
Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections.
Loading tool schema changelog…
This server cannot be deployed
Maintenance
Related MCP Connectors
Read-only GitHub trending data: top repos by stars gained today, this week or this month.
GitHub repository search past the 1,000 cap, with your own token. Runs on Apify.
Search GitHub repos, find alternatives, browse topics and rank top developers and orgs. No auth.
Scrape GitHub repository metadata, stars, forks, topics, licences and activity. Pay per row.
Related MCP Servers
- FlicenseNot gradedqualityDmaintenanceProvides access to GitHub trending projects through MCP, allowing AI assistants to query popular repositories filtered by language and time range (daily/weekly/monthly).-
- AlicenseNot gradedqualityDmaintenanceEnables searching for jobs with filtering by keywords, excluded keywords, remote preference, and time range.9 npm65MIT
- FlicenseNot gradedqualityDmaintenanceEnables natural language queries to search GitHub for trending repositories by topic, summarize project READMEs, and compare multiple repos to uncover ecosystem patterns.2-
- AlicenseAqualityCmaintenanceEnables AI agents to discover GitHub repositories by expanding intents into multiple keyword queries, searching GitHub's live Search API, and returning deduplicated, ranked candidates with README excerpts and metadata.15 npm1MIT