compare_repos
Compare the health scores of 2-5 GitHub repositories and get a ranked list based on CI, security, community, and maintenance. Identify the healthiest repo for your needs.
Instructions
Compares health scores of multiple GitHub repositories (2-5 repos) and ranks them.
Side effects: None. This is a strictly read-only operation.
Data sources: GitHub REST API and OpenSSF Scorecard API (via get_health_score logic).
Auth requirements: No authentication required for public repositories. Uses configured token if available.
Rate limits: Subject to standard GitHub API limits. Multiplies API calls by the number of repositories compared.
Return shape: Returns a JSON object containing a ranked list of repositories (owner, repo, rank) with their detailed health breakdown (score, CI, freshness, security, community, maintenance).
Usage guidelines: Use this tool ONLY when you need to compare or rank multiple repositories against each other based on their health scores. DO NOT use this tool for analyzing a single repository:
For getting the health score of a single repository, use 'get_health_score' instead.
For comparing raw metadata instead of health scores, query 'get_repo_health' individually.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| repos | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| repos | Yes | ||
| compared_at | Yes |