Check a package's repository health
check_repo_healthUse this when the user asks whether the project behind a package is maintained, abandoned or trustworthy: "is the express repo still maintained?", "when was the last commit to left-pad?", "what is the OpenSSF Scorecard of requests?". Pass the public package name and ecosystem (npm or pypi), or repo as a GitHub owner/repo. Returns the repository, the last commit date and days since, whether it is archived, stars, forks, open issues, the OpenSSF Scorecard score with its weakest checks, the npm maintainer count, and a verdict (healthy, watch, risky or unknown) with reasons. For known vulnerabilities of a version use check_package instead.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | No | Public package name, such as "express" or "requests". Its latest release names the repository. | |
| repo | No | A GitHub repository instead of a package: "owner/repo" or its github.com url | |
| ecosystem | No | npm (the default) or pypi; used with name |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | No | ||
| as_of | Yes | ISO 8601 time the data was published by its source or fetched from it. A cached answer keeps the time of its fetch. | |
| forks | No | ||
| stars | No | ||
| notice | Yes | ||
| source | Yes | Who the data comes from, to cite and to check it against. | |
| status | Yes | ||
| license | No | ||
| message | No | ||
| reasons | No | Why, worst first | |
| verdict | No | ||
| version | No | The latest release, whose metadata named the repository | |
| archived | No | ||
| ecosystem | No | ||
| scorecard | No | ||
| openIssues | No | ||
| repository | No | ||
| unavailable | No | Parts of the answer that could not be read right now | |
| lastCommitOn | No | Date of the newest commit on the default branch, YYYY-MM-DD | |
| npmMaintainers | No | Accounts that may publish the package on npm | |
| daysSinceLastCommit | No |