A topic's ranking
topic_rankingRanks a topic's GitHub repositories by star velocity (stars gained ÷ √stars before) over the last 24 hours, 7 days or 30 days, with the stars each gained: the same list as the topic's page on Upstar. Page with offset (next_offset).
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| lang | No | language of the names, descriptions and links Upstar writes: en (default at /mcp) or fr (default at /fr/mcp); repository descriptions stay as their authors wrote them | |
| limit | No | how many repositories, 1 to 50 (10 by default) | |
| topic | Yes | the topic's slug, from list_topics or search (rust, self-hosted, emulation…) | |
| detail | No | compact (the default): each repository's rank, name, description, language, stars, gains and Upstar page; full adds its creation day, health level, topics with their ranks and GitHub address, list_topics its categories, and get_repo its 12-week history, GitHub topics, activity counts and every period's ranks | compact |
| offset | No | how many places of the ranking to pass over, for the next page (next_offset of the previous answer); 0 by default, at most the number of repositories ranked | |
| period | No | day (last 24 hours), week (last 7 days, the default) or month (last 30 days) | week |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| lang | Yes | language of names and descriptions written by Upstar (en or fr) | |
| repos | Yes | ||
| topic | Yes | ||
| period | Yes | ||
| ranked | Yes | how many repositories rank in the topic over the period | |
| source | Yes | the source to cite when using these figures | |
| method_url | Yes | Upstar's page explaining how stars are counted and repositories ranked | |
| next_offset | No | the offset of the next page; absent on the last one | |
| data_updated_at | Yes | when Upstar last rebuilt its rankings from GitHub's data (UTC, RFC 3339): every figure is as of then |