A repository's facts
get_repoOne GitHub repository as Upstar sees it, the same facts as its Upstar page: stars and gains, its usual week, its star total week by week over 12 weeks, its topics and ranks, when Upstar spotted it, its latest release, license, activity and collections. Answers for every repository with an Upstar page, kept-out ones included; blocked ones have none.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"repo": "<repo>"
},
"name": "get_repo"
}
}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 | |
| repo | Yes | the repository: owner/name, or its GitHub or Upstar address | |
| 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 |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| lang | Yes | language of names and descriptions written by Upstar (en or fr) | |
| repo | Yes | ||
| source | Yes | the source to cite when using these figures | |
| method_url | Yes | Upstar's page explaining how stars are counted and repositories ranked | |
| data_updated_at | Yes | when Upstar last rebuilt its rankings from GitHub's data (UTC, RFC 3339): every figure is as of then |