get_health_score
Assess overall GitHub repository health by calculating a 0-100 score and A-F grade across CI, security, community, maintenance, and freshness. Includes improvement suggestions and historical trend data.
Instructions
Calculates a 0-100 health score and A-F grade for a GitHub repository.
Side effects: Writes a trend snapshot to local disk for history tracking. Read-only against GitHub API.
Data sources: GitHub REST API (repos, actions, dependabot) and OpenSSF Scorecard API.
Auth requirements: No authentication required for public repositories. Uses configured token if available.
Rate limits: Subject to standard GitHub API limits (heavy usage across multiple endpoints).
Return shape: Returns a JSON object with a grade (A-F), total score, detailed category breakdown (CI, freshness, security, community, maintenance), improvement suggestions, and historical trend data.
Usage guidelines: Use this tool ONLY for deep analytical grading and overall repository health assessment. DO NOT use this tool for quick metadata checks:
For basic raw metadata (stars, language, etc.), use 'get_repo_health' instead.
For raw CI workflow statuses, use 'check_ci_status' instead.
For deep code vulnerability scanning, use 'analyze_code_scanning' instead.
For DORA metrics, use 'get_dora_metrics' instead.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| repo | Yes | GitHub repository name (e.g., 'sdk') | |
| owner | Yes | GitHub repository owner (e.g., 'modelcontextprotocol') |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| trend | Yes | ||
| report | Yes |