How to Use GitHub trending repositories in Grok Build
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 Build
Copy an example into Grok Build, or ask in your own words.
Use GitHub trending repositories to fetch today's TypeScript results, compare their names with package.json, and write a Markdown review shortlist with descriptions, URLs, ranks, and star counts.
Use GitHub trending repositories to fetch this week's Python results and create a CSV containing repository names, URLs, descriptions, total stars, forks, and stars gained during the week.
Use GitHub trending repositories to compare today's and this week's Go results. Write a report of repositories appearing in both, preserving their rank and star counts for each period.
Use GitHub trending repositories to fetch today's Rust results and compare their descriptions with this project's README. Save a shortlist of relevant projects with links and a reason to review each.
Use GitHub trending repositories to fetch today's Python results and compare repository URLs with our saved discovery report. Report newly observed projects with their current rank and description.
How to set up GitHub trending repositories in Grok Build
Pick the way that suits you. Each takes about two minutes.
Use Spiral's MCP server
- Add the server
Add --scope project to add Spiral to the current repository only. No header and no client ID or secret: Grok registers itself with Spiral.
grok mcp add --transport http spiral https://api.spiral.ai/mcp
- Sign in
Start grok and run /mcps. Select Spiral and press i. Your browser opens: sign in to Spiral, pick the organization and click Authorize. No API key.
- Check it
grok mcp doctor spiral
Use the Spiral skill
- Send Grok Build 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 Build 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 Build 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 Build?
Build a repository discovery report using GitHub Trending ranks, descriptions, links, and popularity counts. A coding agent can compare those results with your project's dependencies and create a focused queue for technical review.
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 Build
GitHub trending repositories in other agents
Questions about GitHub trending repositories in Grok Build
Can Grok Build use GitHub trending repositories?
Yes. Add Spiral to Grok Build as an MCP server, and Grok Build can find and run GitHub trending repositories like any built-in tool.
How much does GitHub trending repositories cost in Grok Build?
$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 Build plan is separate.
Do I need a ScrapeCreators account to use GitHub trending repositories in Grok Build?
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 Build?
About two minutes: add the server, then sign in, then check it.
Does Grok Build wait while GitHub trending repositories runs?
GitHub trending repositories runs in the background. Grok Build 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 Build
One Spiral account for every tool your agent needs. No subscription; you pay per run.
Paste this into Grok Build:
set up https://spiral.ai/SKILL.md


