---
name: packages-jobs
description: "Step-by-step job recipes for the Package Health Check MCP server: Check a package's health; Check a package's repository health; Check package.json for vulnerabilities. Use when the user asks things like \"Is lodash 4.17.15 vulnerable?\" or \"Is the GitHub project behind express still maintained?\""
license: MIT
---

# Package Health Check jobs

Each section below walks through one job with the tools of the `packages` MCP server. The same recipes are MCP prompts (prompts/list) on `https://packages.openkrill.app/mcp`.
Connect the server at `https://packages.openkrill.app/mcp` in your MCP client settings (remote streamable HTTP, no key), then call its tools as normal tool calls. They are not command line programs: Bash, curl and scripts cannot reach them.

## Check a package's health

Job: Check a package's health, with the Package Health Check MCP server.

Use the `check_package` tool for this job.

Work on the user's request. If there is none yet, ask what they need. A request this job handles: "Is lodash 4.17.15 vulnerable?"

Steps:
1. Call `check_package` as a normal MCP tool call, with the request's values in the fields of its inputSchema. It needs `name`.
2. If a value the tool needs is missing and you cannot tell it from the request, ask the user one short question first.
3. This input is known to work; copy its format, not its values: `{"name":"lodash","ecosystem":"npm","version":"4.17.15"}`
4. For the request "Is lodash 4.17.15 vulnerable?", a correct answer looks like this: status ok, version 4.17.15, a latestVersion above 4.17.21, vulnerabilityCount 6 or more with high and moderate advisories (for example GHSA-35jh-r3h4-6jhm, command injection, fixed in 4.17.21), license MIT, maintenance not deprecated.
5. Follow the server's own rules:
   - Use check_package for one npm or PyPI package: pass the exact name, ecosystem (npm unless the user says Python or PyPI) and the version when the user gave one; without a version the latest is checked.
   - Pass only the package.json text and never ask for source code, tokens or private package names.
   - Quote the version that was checked.
   - A severity of null means the advisory publishes no rating.
   - Maintenance is release recency only, so say that a stable package with few releases can still be fine.
   - When a package is deprecated or stale, suggest alternatives from the deprecation notice or your own knowledge, say that they are suggestions, and call check_package on each before recommending it.
   - Ranges in a package.json are checked at their lowest version; say so.
   - Report the verdict with its reasons, the last commit date and the Scorecard score and date, and say that a quiet repository can be finished rather than abandoned.
6. If the call fails or the answer looks wrong, tell the user, then report it with `submit_feedback` (kind bug, tool `check_package`).

## Check a package's repository health

Job: Check a package's repository health, with the Package Health Check MCP server.

Use the `check_repo_health` tool for this job.

Work on the user's request. If there is none yet, ask what they need. A request this job handles: "Is the GitHub project behind express still maintained?"

Steps:
1. Call `check_repo_health` as a normal MCP tool call, with the request's values in the fields of its inputSchema.
2. If a value the tool needs is missing and you cannot tell it from the request, ask the user one short question first.
3. This input is known to work; copy its format, not its values: `{"name":"express","ecosystem":"npm"}`
4. For the request "Is the GitHub project behind express still maintained?", a correct answer looks like this: status ok, repository https://github.com/expressjs/express, a lastCommitOn date within the last few months, archived false, stars above 60000, a scorecard score with its date, npmMaintainers, and verdict healthy with its reasons.
5. Follow the server's own rules:
   - Pass only the package.json text and never ask for source code, tokens or private package names.
   - Quote the version that was checked.
   - A severity of null means the advisory publishes no rating.
   - Maintenance is release recency only, so say that a stable package with few releases can still be fine.
   - Ranges in a package.json are checked at their lowest version; say so.
   - Use check_repo_health when the user asks whether the project behind a package is maintained, abandoned or trustworthy: pass the package name, or repo for a GitHub owner/repo.
   - Report the verdict with its reasons, the last commit date and the Scorecard score and date, and say that a quiet repository can be finished rather than abandoned.
6. If the call fails or the answer looks wrong, tell the user, then report it with `submit_feedback` (kind bug, tool `check_repo_health`).

## Check package.json for vulnerabilities

Job: Check package.json for vulnerabilities, with the Package Health Check MCP server.

Use the `check_package_json` tool for this job.

Work on the user's request. If there is none yet, ask what they need. A request this job handles: "Check my package.json for known vulnerabilities."

Steps:
1. Call `check_package_json` as a normal MCP tool call, with the request's values in the fields of its inputSchema. It needs `packageJson`.
2. If a value the tool needs is missing and you cannot tell it from the request, ask the user one short question first.
3. This input is known to work; copy its format, not its values: `{"packageJson":"{\"name\":\"demo\",\"dependencies\":{\"lodash\":\"4.17.15\",\"left-pad\":\"^1.3.0\"},\"devDependencies\":{\"typescript\":\"~5.4.0\"}}"}`
4. For the request "Check my package.json for known vulnerabilities.", a correct answer looks like this: status ok, checked 3, vulnerablePackages holding lodash 4.17.15 with high and moderate advisories and the fixed version 4.17.21, a message saying ranges were checked at their lowest version, and no mention of the name field.
5. Follow the server's own rules:
   - Use check_package_json when the user pastes a package.json.
   - Pass only the package.json text and never ask for source code, tokens or private package names.
   - Quote the version that was checked.
   - A severity of null means the advisory publishes no rating.
   - Maintenance is release recency only, so say that a stable package with few releases can still be fine.
   - Ranges in a package.json are checked at their lowest version; say so.
   - Report the verdict with its reasons, the last commit date and the Scorecard score and date, and say that a quiet repository can be finished rather than abandoned.
6. If the call fails or the answer looks wrong, tell the user, then report it with `submit_feedback` (kind bug, tool `check_package_json`).
