Pkg Health MCP logo

Pkg Health MCP

by orcsnren

Scores npm, PyPI, and GitHub dependency health with grades, risk explanations, manifest scans, and alternative comparisons.

Install Pkg Health MCP

Pick your client, then add it in one click or paste the config.

No confirmed install command yet

We only publish a config when the install details come from the project itself — its README, its docs, or a verified owner. We haven’t found those for orcsnren/pkg-health-mcp, and we’d rather show nothing than a guess you’d paste into your client.

Open setup steps on GitHub

Overview

orcsnren/pkg-health-mcp MCP server evaluates npm packages, PyPI packages, and GitHub repositories for maintenance health. Its three read-only MCP tools score individual dependencies, scan manifests or lock files, and compare two to five alternatives using activity, maintainer, issue, download, security, and license signals. It runs locally over stdio through npx and needs no account or API key, while an optional GitHub token increases API limits. Use it when an AI agent or development workflow needs maintenance context before adopting or retaining a dependency.

Use cases

  • Audit direct and transitive dependencies before a release
  • Check whether an AI-suggested package is actively maintained
  • Compare alternative npm or PyPI packages
  • Flag risky dependencies in pull-request workflows

Key features

  • Scores npm, PyPI, and GitHub projects from 0 to 100
  • Returns A–F grades with per-signal risk explanations
  • Scans manifests and lock files, including transitive dependencies
  • Compares two to five package or repository alternatives
  • Uses optional GitHub authentication and a shared disk cache
  • Supports read-only MCP tools over stdio

Tools3

What Pkg Health MCP lets your agent do. Expand a tool for its parameters.

Self-reported~52 tokens of context

Security & health

What it can reach and how reliably it runs — from our own checks, not the maintainer’s claims.

ActiveLast checked 3d ago

Recent health check succeeded.

Supply-chain signal

No high-severity advisories surfaced by our automated scan.

Critical 0High 0Medium 0Low 0

Scanned 11d ago via OSV.dev

Adoption & maintenance

Factual signals from GitHub, npm, and our automated checks — not a rating.

GitHub stars1Stargazers on the source repository.
Last commit3d agoMost recent push to the default branch.
Tools exposed3Callable tools this server registers over MCP.

How Pkg Health MCP works

What orcsnren/pkg-health-mcp does

orcsnren/pkg-health-mcp turns dependency maintenance data into a score from 0 to 100, an A–F grade, and a readable explanation of the risks. It covers packages in npm and PyPI, as well as GitHub repositories supplied as owner/repo or a GitHub URL. The result can identify conditions such as deprecation, archived source repositories, stale releases, inactive contributors, or unanswered issues.

The same scoring engine can inspect one dependency, review an entire dependency set, or compare alternatives within an ecosystem. Manifest and lock-file scans can include transitive dependencies, making the server suitable for both package selection and existing-project audits.

How it works

The server exposes three read-only MCP tools:

  • check_package scores one npm package, PyPI package, or GitHub repository.
  • scan_manifest evaluates dependencies from supported manifests and lock files, then places the riskiest results first.
  • compare_packages ranks two to five alternatives from the same registry, or compares GitHub repositories.

Scores combine release and commit recency, active committer counts, maintainer response time, download trends, OpenSSF Scorecard results, and license information. Reports include per-signal details, an overall confidence value, and concrete risk explanations. Missing or unreachable data reduces confidence rather than directly lowering the score.

Supported project files include package.json, requirements.txt, pyproject.toml, package-lock.json, yarn.lock, pnpm-lock.yaml, poetry.lock, and uv.lock. Git dependencies hosted on GitHub are evaluated as repositories.

Setup and configuration

Node.js 20 or later is required. No global installation is needed; start the MCP server with:

Terminal
npx -y pkg-health-mcp

Configure that command as a stdio server in an MCP client. The documented configurations cover Claude Code, Claude Desktop, Cursor, and VS Code. Other MCP clients can start the same command if they support stdio transport.

A GitHub token is optional. Set GITHUB_TOKEN or GH_TOKEN to raise the unauthenticated GitHub API limit and enable maintainer-response measurements that require GraphQL access. A fine-grained token with read-only access to public repositories is sufficient. The token is sent to api.github.com.

The server keeps a disk cache shared between runs, with a default lifetime of 12 hours. It also supports local human-readable, JSON, and Markdown output through the related command-line workflow, including threshold-based CI checks and GitHub Action usage.

Tools and capabilities

check_package accepts names such as express, @types/node, or requests, plus GitHub repository identifiers and URLs. The ecosystem can be selected as npm, PyPI, or GitHub, with npm as the default when it cannot be inferred.

scan_manifest is useful for auditing direct and transitive dependencies. compare_packages helps evaluate several candidates before choosing one. All three tools are annotated as read-only and idempotent, so clients can invoke them without confirmation prompts.

The scoring data comes from public package registries, GitHub, download statistics, OpenSSF Scorecard, and license information. The server communicates directly with those public APIs and does not use a hosted backend or telemetry service.

Limitations and notes

GitHub API limits affect how many repositories or GitHub-backed packages can be checked. Without a token, the limit is 60 requests per hour; authenticated access raises it to 5,000. When the limit is reached, registry data can still contribute to scores, with a warning in the report. Cached results can avoid repeated GitHub requests during the cache period.

The health score is a maintenance signal, not a vulnerability scan or a guarantee that a dependency is safe. Confidence indicates how much of the scoring weight is supported by available data. The project is licensed under Apache-2.0.

Reviews

No reviews yet — be the first to share how it worked for you.

Frequently Asked Questions about Pkg Health MCP

orcsnren/pkg-health-mcp is an MCP server that connects to npm, PyPI, GitHub, download data, OpenSSF Scorecard, and license information. Its main tools score individual packages, scan manifests or lock files, and compare two to five alternatives, returning maintenance scores, grades, confidence, and plain-language risks.

Run `npx -y pkg-health-mcp` with Node.js 20 or later and register the command as a stdio MCP server. No global installation is required. Claude Code, Claude Desktop, Cursor, and VS Code configuration examples use this command.

No, a GitHub token is optional. Without one, the server uses the unauthenticated GitHub API limit and still scores packages from available registry data. Set `GITHUB_TOKEN` or `GH_TOKEN` for higher limits and maintainer-response measurements that require GraphQL.

It scans `package.json`, `requirements.txt`, `pyproject.toml`, `package-lock.json`, `yarn.lock`, `pnpm-lock.yaml`, `poetry.lock`, and `uv.lock`. Lock-file scans can include transitive dependencies, and GitHub-hosted dependencies are scored as repositories.

Yes, it works with Cursor through a stdio configuration in `~/.cursor/mcp.json` for all projects or `.cursor/mcp.json` for one project. Start it with `npx -y pkg-health-mcp`, and provide the optional GitHub token through the server environment.

Related MCP servers

Add a badge to your READMEShow it’s listed — live SVG, Markdown or HTML.

AllMCPs Directory Badge

Full Badge Customizer

Showcase your server listing on GitHub or your project documentation. Embed this dynamic SVG badge to highlight official listing status and live engagement.

Badge Style:
Live Dynamic SVG PreviewPkg Health MCP AllMCPs Directory Badge
Markdown (GitHub README)
[![AllMCPs](https://allmcps.com/api/badge/orcsnren-pkg-health-mcp?style=directory)](https://allmcps.com/mcp/orcsnren-pkg-health-mcp)
HTML Embed
<a href="https://allmcps.com/mcp/orcsnren-pkg-health-mcp"><img src="https://allmcps.com/api/badge/orcsnren-pkg-health-mcp?style=directory" alt="Pkg Health MCP on AllMCPs" /></a>