GitHub trending approximation
github_trendingApproximate GitHub trends by listing rising and active repositories and tracking star gains across cached search snapshots, with language, window, and star-floor filters.
Instructions
Compute a trending approximation from GitHub search, NOT GitHub's trending page: the rising lens lists repositories created inside the window above the star floor and the active lens lists repositories pushed inside the window, both sorted by stars. Star gains are not observable from search alone; every observation is snapshotted under the cache directory, and repeated calls with the same lens, language, and window gain stars_gained against the previous snapshot, so deltas accumulate across calls into real velocity. Costs 2 search calls against the 30 requests/minute search quota. Returns {window, language, lenses{rising, active}, rising_incomplete_results, active_incomplete_results, source}.
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "github_trending"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| fresh | No | Bypass the local cache | |
| limit | No | Rows per lens, 1-30, default 15 | |
| window | No | Lookback window for both lenses; daily is 1 day, weekly 7, monthly 30, default weekly | |
| language | No | Restrict both lenses to one language qualifier, like rust or typescript | |
| min_stars | No | Star floor for both lenses (stars:>N), default 100 |