get_repo_health
Retrieve basic GitHub repository metadata and statistics including stars, forks, language, and open issues to assess repository health and activity.
Instructions
Fetches basic repository metadata and statistics from the public GitHub API.
Side effects: None. This is a strictly read-only operation.
Data sources: Public GitHub REST API (GET /repos/{owner}/{repo}).
Auth requirements: No authentication required for public repositories. Uses configured GitHub token if available.
Rate limits: Subject to standard GitHub API limits (60 requests/hour unauthenticated, 5000 requests/hour authenticated).
Return shape: Returns a JSON object containing specific metadata: full_name (string), description (string), stargazers_count (number), open_issues_count (number), language (string), license (string, SPDX ID), pushed_at (ISO 8601 string), default_branch (string), archived (boolean), and forks_count (number).
Usage guidelines: Use this tool ONLY to retrieve basic raw metadata (like stars, forks, language, and issue counts). DO NOT use this tool for other specific analyses:
For a computed A-F health score grading, use 'get_health_score' instead.
For checking CI/CD workflow run statuses, use 'check_ci_status' instead.
For package vulnerabilities and dependency graph, use 'analyze_dependencies' instead.
For code security and static analysis, use 'analyze_code_scanning' 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 |
|---|---|---|---|
| license | Yes | ||
| archived | Yes | ||
| language | Yes | ||
| full_name | Yes | ||
| pushed_at | Yes | ||
| description | Yes | ||
| forks_count | Yes | ||
| default_branch | Yes | ||
| stargazers_count | Yes | ||
| open_issues_count | Yes |