How to Use GitHub trending repositories in Grok
Returns GitHub's Trending list with repository ranks, descriptions, URLs, languages, star and fork totals, and stars gained during the selected period. Use it to shortlist projects attracting attention for a technical digest or tool review.
Prompts to try with GitHub trending repositories in Grok
Copy an example into Grok, or ask in your own words.
Use GitHub trending repositories to show today's first five Python projects with descriptions, links, total stars, and stars gained today.
Use GitHub trending repositories to find this week's TypeScript projects whose descriptions mention developer tools. Give me a short reading list with links and the original ranks.
Use GitHub trending repositories to compare today's and this week's Go lists. Which repositories appear in both, and what rank does each have in each list?
Use GitHub trending repositories to summarize this month's Rust projects. Group them by what their descriptions say they do and include links and fork counts.
Use GitHub trending repositories to fetch today's JavaScript results and sort the returned projects by stars gained today. Show GitHub's original rank beside your ordering.
How to set up GitHub trending repositories in Grok
Pick the way that suits you. Each takes about two minutes.
Use the Grok connector
- Add a custom connector
In Grok open Settings › Connect Apps, then Add a custom connector. Name it Spiral, paste this URL, leave Headers empty and click Add MCP.
https://api.spiral.ai/mcp
- Sign in to Spiral and approve
Grok opens Spiral: sign in, pick the organization and click Authorize. Spiral gives the connection its own API key; Grok never sees it, and you can remove the connection under Settings › Connected apps.
- Check that it is connected
Connect Apps › Custom shows Spiral as Connected. It works in every Grok chat and Grok bot.
Use the Spiral skill
- Send Grok this message
Your agent reads Spiral's skill and sets itself up.
set up https://spiral.ai/SKILL.md
- Sign in or paste a key
Approve Spiral in the browser, or give the agent a key from the console.
Use the Spiral CLI
- Install and sign in
Installs the Spiral CLI, signs you in and adds its skill to your coding agents.
npx -y spiral-cli@latest init
Call the Spiral API
- Create an API key
In the console, under API keys.
- Run GitHub trending repositories
One request; the result comes back by polling or a webhook.
curl https://api.spiral.ai/v1/runs \ -H "Authorization: Bearer $SPIRAL_API_KEY" \ -H "Content-Type: application/json" \ -H "Idempotency-Key: $(uuidgen)" \ -d '{ "provider": "scrapecreators", "model": "scrapecreators/github-trending-repositories", "input": { "since": "daily" } }'
Then paste one of the prompts above: Grok finds GitHub trending repositories on Spiral, shows the price and runs it.
GitHub trending repositories providers and prices
Spiral runs GitHub trending repositories through ScrapeCreators. Open a card for today's price, with every fee included.
Settings you can ask for
Ask Grok for any of these in your prompt.
| Setting | Allowed values | Default | Description |
|---|---|---|---|
| Since | daily, weekly, or monthly | Trending range: daily, weekly, or monthly. Defaults to daily. |
Every API field of GitHub · Trending Repositories is on its tool page: open its card above.
What can you do with GitHub trending repositories in Grok?
Create a concise reading list of GitHub projects attracting attention in Python, TypeScript, or Go. A chat app can explain the returned descriptions and compare repository ranks, total stars, and stars gained during the selected period.
Developer newsletter shortlist
Turn trending Python or TypeScript repositories into a newsletter shortlist with project descriptions, links, ranks, and stars gained during the selected period.
Tool evaluation queue
Find trending Go infrastructure tools or Python data tools from their returned descriptions. Create a review queue with repository links and popularity counts before evaluating the code separately.
Repository appearance alerts
Compare successive Python Trending results and flag repositories appearing for the first time in your saved observations, including their current rank and description.
Daily and weekly overlap report
Compare daily and weekly TypeScript Trending results by repository URL. Highlight projects appearing in both lists and show each list's rank and period star count separately.
Engineering reading list
Select Rust or Go projects whose descriptions match the team's current interests. Produce a short reading list with links and a description-based reason to investigate each project.
Public ecosystem research
Study which subjects recur in trending repository descriptions and compare their languages and popularity counts. For published research, follow GitHub's condition that resulting publications be open access.
More on GitHub trending repositories and Grok
Overview
GitHub trending repositories in other agents
Questions about GitHub trending repositories in Grok
Can Grok use GitHub trending repositories?
Yes. Add Spiral to Grok as an MCP server, and Grok can find and run GitHub trending repositories like any built-in tool.
How much does GitHub trending repositories cost in Grok?
$0.0013 per run. You pay from your Spiral balance as you go, with no subscription, and a failed run is not charged. Your Grok plan is separate.
Do I need a ScrapeCreators account to use GitHub trending repositories in Grok?
No. Spiral runs GitHub trending repositories on its own ScrapeCreators account. You sign in to Spiral once and never paste a key.
How long does it take to set up GitHub trending repositories in Grok?
About two minutes: add a custom connector, then sign in to Spiral and approve, then check that it is connected.
Does Grok wait while GitHub trending repositories runs?
GitHub trending repositories runs in the background. Grok starts the run, checks on it and gives you the json when it's ready.
Does GitHub Trending cover every GitHub repository?
No. GitHub describes Trending as a place to browse popular repositories of the day, so use it for discovery rather than a complete repository inventory. ScrapeCreators retrieves publicly available information.
How fresh is the GitHub Trending data?
ScrapeCreators says it fetches the latest available information when you make a request. That describes retrieval freshness; it does not establish how often GitHub recalculates its rankings.
Are total stars and stars gained separate measurements?
Yes. The documented response separates total stars, total forks, and stars gained during the trending period, including a label such as stars today. Keep those measurements separate when comparing projects.
Does ScrapeCreators guarantee the counts are accurate?
No. Its terms explicitly decline to guarantee data accuracy or availability, including information retrieved from external websites.
Can I reuse code from any publicly listed repository?
Public visibility alone does not grant unrestricted code reuse. GitHub says default copyright restrictions apply when a repository has no license, including restrictions on reproduction, distribution, and derivative works.
Start using GitHub trending repositories in Grok
One Spiral account for every tool your agent needs. No subscription; you pay per run.
Paste this into Grok:
set up https://spiral.ai/SKILL.md


