What it does
Is this dependency still maintained? Scores npm, PyPI packages and GitHub repos 0-100.
- Connects パソコンで動く
- Account or key No key needed
- Category 開発者ツール
一緒に使える
この種の作業を AI に教える Skill。これと一緒に使えます
andrej-karpathy-skills
A single CLAUDE.md file to improve Claude Code behavior, derived from Andrej Karpathy's observations on LLM coding pitfalls.
graphify
Turn any codebase, with its docs, SQL schemas, configs, and PDFs, into a queryable knowledge graph. A /graphify skill for Claude Code, Cursor, Codex, and Gemini CLI: local deterministic AST parsing, every edge explained, no vector store.
この順位の理由
一覧は利用スコア(100 点満点)で並びます。内訳は次のとおり
| 人気 | 4/80 | GitHub スターか週間ダウンロード数。大きい方を 60、小さい方を 20 で数えます |
|---|---|---|
| 新しさ | 12/12 | 30 日以内のリリースかコード更新で満点 |
| 応答中 | 0/8 | 前回の確認でクラウドのエンドポイントが応答 |
| 利用スコア | 16/100 |
品質: 基本チェック 3/3 項目に合格(表示のみ、並び順には不使用) · 勢い: データなし (「急上昇」タブでのみ使用)
インストール
使っているAIアプリを選んで、設定をコピーしてください。
ひとことで AI にインストールしてもらう
Package Health をインストールして。https://mcp.popnx.com/i/orcsnren-pkg-health-mcp.md に従い、コマンドを見せて、私が OK するまで実行しないで。パソコンで作業できる AI(Claude Code や Cursor など)に貼り付けます。手順を読み、コマンドを見せて、あなたの OK を待ちます。キー不要・登録不要。 · AI が読む全文を見る
チェック 3/3 合格 · あなたのパソコンで動きます · ✓ コマンド確認済み 2026年11月14日
まず:どの AI を使っていますか?
使っているアプリを選ぶと、下に手順が表示されます。
Claude につなげますが、先に準備が必要です
先にパソコンへ Node.js を入れてください(1 回だけ) · パソコン版 Claude アプリ(Windows または Mac)のみ。Web やスマホでは使えません
AI にインストールしてもらう
このメッセージを Claude のチャットに貼り付けます。AI がパソコンを確認し、変更するファイルを伝え、毎回あなたの了承を待ちます。
このパソコンの Claude に MCP server Package Health を入れてください。順番に:1) node -v で Node.js があるか確認。なければ https://nodejs.org/en/download から入れるよう私に伝え、自分では入れない。2) この設定だけを使う(PopNx MCP の確認済み):{ "mcpServers": { "pkg-health": { "command": "npx", "args": [ "-y", "pkg-health-mcp" ] } } } 3) 変更するファイルのフルパスか実行するコマンドを伝えて、私の了承を待つ。4) キーは不要。5) 了承した内容を実行し、Package Health のツールが本当に表示されるか確認する。このメッセージにあなたのキーは含まれません。キーが必要な場合は、AI がファイルやアプリの入力欄にご自身で貼るよう案内します。
Node.js を入れる(まだなければ)
もう入っていますか?先に確認 · ターミナルを開き、このコマンドを入力して Enter
node -v- バージョン番号(例 v26.13.1)が出る = 入っています。この手順は飛ばせます
- "command not found"(Windows では "is not recognized")が出る = まだ入っていないか、入れた直後でターミナルを開き直す必要があります
ターミナルの開き方
Mac:⌘ + Space を押し、Terminal と入力して Enter
Windows:スタートメニューを開き、Windows PowerShell と入力して「開く」
まだ入っていない場合: 公式ダウンロードページで LTS 版と、クリックで進むインストーラーを選びます:Mac は .pkg、Windows は .msi。ダブルクリックして最後まで進めるだけで、curl コマンドは不要です
入れ終わったらターミナルを閉じて開き直し、同じコマンドをもう一度実行します。バージョン番号が出れば完了です:
node -v一度入れれば、Node.js を使うすべてのツールで使えます
パソコン版 Claude アプリの設定ファイルを開く
SettingsDeveloperEdit Config
この設定を貼り付けて保存
{ "mcpServers": { "pkg-health": { "command": "npx", "args": [ "-y", "pkg-health-mcp" ] } } }Claude を終了してもう一度開く
試してみる
Package Health を使って、私に何ができるか教えて、1 つやってみせて✓ Claude が Package Health を使っていると言うか、回答に Package Health のツール名が出れば接続成功です
追加の設定 1 項目(入力しなくても使えます)
上のコマンドはこれらがなくても動きます。変えたいときだけ作者の説明に沿って追加してください。
GITHUB_TOKEN省略可能。GitHub API の制限を引き上げ、初回応答までの時間のシグナルを有効にします。公開リポジトリへの読み取り専用アクセスで十分です。英語の原文を見る
Optional. Raises the GitHub API limit and enables the time-to-first-response signal. Read-only access to public repositories is enough.
説明は自動翻訳です。変数名は原文のままです。迷ったら原文を確認してください。
メニュー名は 2026年11月11日 に Anthropic のヘルプページで確認 · アプリのバージョンにより画面が少し違うことがあります
ChatGPT はまだ Package Health につなげません
Package Health はパソコンに入れて使うものですが、ChatGPT は Web 上で動くサーバーにしかつなげません
代わりにできること
A · Package Health につなげるアプリを使う
- 先にパソコンへ Node.js を入れてください(1 回だけ) · パソコン版 Claude アプリ(Windows または Mac)のみ。Web やスマホでは使えません
- 先にパソコンへ Node.js を入れてください(1 回だけ)
- 先にパソコンへ Node.js を入れてください(1 回だけ)
- 先にパソコンへ Node.js を入れてください(1 回だけ)
B · 開発者ツール の中で ChatGPT につなげる別のサーバー
同じカテゴリでよく使われているものから、キーなしでアドレスだけでつなげるものを選びました
- Sentry✓ ChatGPT
- Compiler Explorer✓ ChatGPT
- GitDiagram✓ ChatGPT
Claude Code につなげますが、先に準備が必要です
先にパソコンへ Node.js を入れてください(1 回だけ)
AI にインストールしてもらう
このメッセージを Claude Code のチャットに貼り付けます。AI がパソコンを確認し、変更するファイルを伝え、毎回あなたの了承を待ちます。
このパソコンの Claude Code に MCP server Package Health を入れてください。順番に:1) node -v で Node.js があるか確認。なければ https://nodejs.org/en/download から入れるよう私に伝え、自分では入れない。2) この設定だけを使う(PopNx MCP の確認済み):claude mcp add --scope user pkg-health -- npx -y pkg-health-mcp 3) 変更するファイルのフルパスか実行するコマンドを伝えて、私の了承を待つ。4) キーは不要。5) 了承した内容を実行し、Package Health のツールが本当に表示されるか確認する。このメッセージにあなたのキーは含まれません。キーが必要な場合は、AI がファイルやアプリの入力欄にご自身で貼るよう案内します。
Node.js を入れる(まだなければ)
もう入っていますか?先に確認 · ターミナルを開き、このコマンドを入力して Enter
node -v- バージョン番号(例 v26.13.1)が出る = 入っています。この手順は飛ばせます
- "command not found"(Windows では "is not recognized")が出る = まだ入っていないか、入れた直後でターミナルを開き直す必要があります
ターミナルの開き方
Mac:⌘ + Space を押し、Terminal と入力して Enter
Windows:スタートメニューを開き、Windows PowerShell と入力して「開く」
まだ入っていない場合: 公式ダウンロードページで LTS 版と、クリックで進むインストーラーを選びます:Mac は .pkg、Windows は .msi。ダブルクリックして最後まで進めるだけで、curl コマンドは不要です
入れ終わったらターミナルを閉じて開き直し、同じコマンドをもう一度実行します。バージョン番号が出れば完了です:
node -v一度入れれば、Node.js を使うすべてのツールで使えます
ターミナルを開く
Mac:Command+スペースで Terminal と入力 · Windows:PowerShell を開く
このコマンドを貼り付けて Enter
claude mcp add --scope user pkg-health -- npx -y pkg-health-mcpClaude Code で /mcp と入力
Package Health が一覧にあり、接続済みと表示されれば OK です
試してみる
Package Health を使って、私に何ができるか教えて、1 つやってみせて✓ Claude Code が Package Health を使っていると言うか、回答に Package Health のツール名が出れば接続成功です
追加の設定 1 項目(入力しなくても使えます)
上のコマンドはこれらがなくても動きます。変えたいときだけ作者の説明に沿って追加してください。
GITHUB_TOKEN省略可能。GitHub API の制限を引き上げ、初回応答までの時間のシグナルを有効にします。公開リポジトリへの読み取り専用アクセスで十分です。英語の原文を見る
Optional. Raises the GitHub API limit and enables the time-to-first-response signal. Read-only access to public repositories is enough.
説明は自動翻訳です。変数名は原文のままです。迷ったら原文を確認してください。
メニュー名は 2026年11月11日 に Anthropic のヘルプページで確認 · アプリのバージョンにより画面が少し違うことがあります
Cursor につなげますが、先に準備が必要です
先にパソコンへ Node.js を入れてください(1 回だけ)
AI にインストールしてもらう
このメッセージを Cursor のチャットに貼り付けます。AI がパソコンを確認し、変更するファイルを伝え、毎回あなたの了承を待ちます。
このパソコンの Cursor に MCP server Package Health を入れてください。順番に:1) node -v で Node.js があるか確認。なければ https://nodejs.org/en/download から入れるよう私に伝え、自分では入れない。2) この設定だけを使う(PopNx MCP の確認済み):{ "mcpServers": { "pkg-health": { "command": "npx", "args": [ "-y", "pkg-health-mcp" ] } } } 3) 変更するファイルのフルパスか実行するコマンドを伝えて、私の了承を待つ。4) キーは不要。5) 了承した内容を実行し、Package Health のツールが本当に表示されるか確認する。このメッセージにあなたのキーは含まれません。キーが必要な場合は、AI がファイルやアプリの入力欄にご自身で貼るよう案内します。
Node.js を入れる(まだなければ)
もう入っていますか?先に確認 · ターミナルを開き、このコマンドを入力して Enter
node -v- バージョン番号(例 v26.13.1)が出る = 入っています。この手順は飛ばせます
- "command not found"(Windows では "is not recognized")が出る = まだ入っていないか、入れた直後でターミナルを開き直す必要があります
ターミナルの開き方
Mac:⌘ + Space を押し、Terminal と入力して Enter
Windows:スタートメニューを開き、Windows PowerShell と入力して「開く」
まだ入っていない場合: 公式ダウンロードページで LTS 版と、クリックで進むインストーラーを選びます:Mac は .pkg、Windows は .msi。ダブルクリックして最後まで進めるだけで、curl コマンドは不要です
入れ終わったらターミナルを閉じて開き直し、同じコマンドをもう一度実行します。バージョン番号が出れば完了です:
node -v一度入れれば、Node.js を使うすべてのツールで使えます
Cursor の AI チャットを Agent モードで開く
試してみる
Package Health を使って、私に何ができるか教えて、1 つやってみせて✓ Cursor が Package Health を使っていると言うか、回答に Package Health のツール名が出れば接続成功です
追加の設定 1 項目(入力しなくても使えます)
上のコマンドはこれらがなくても動きます。変えたいときだけ作者の説明に沿って追加してください。
GITHUB_TOKEN省略可能。GitHub API の制限を引き上げ、初回応答までの時間のシグナルを有効にします。公開リポジトリへの読み取り専用アクセスで十分です。英語の原文を見る
Optional. Raises the GitHub API limit and enables the time-to-first-response signal. Read-only access to public repositories is enough.
説明は自動翻訳です。変数名は原文のままです。迷ったら原文を確認してください。
メニュー名は 2026年11月11日 に Cursor のヘルプページで確認 · アプリのバージョンにより画面が少し違うことがあります
VS Code につなげますが、先に準備が必要です
先にパソコンへ Node.js を入れてください(1 回だけ)
AI にインストールしてもらう
このメッセージを VS Code のチャットに貼り付けます。AI がパソコンを確認し、変更するファイルを伝え、毎回あなたの了承を待ちます。
このパソコンの VS Code に MCP server Package Health を入れてください。順番に:1) node -v で Node.js があるか確認。なければ https://nodejs.org/en/download から入れるよう私に伝え、自分では入れない。2) この設定だけを使う(PopNx MCP の確認済み):{ "servers": { "pkg-health": { "type": "stdio", "command": "npx", "args": [ "-y", "pkg-health-mcp" ] } } } 3) 変更するファイルのフルパスか実行するコマンドを伝えて、私の了承を待つ。4) キーは不要。5) 了承した内容を実行し、Package Health のツールが本当に表示されるか確認する。このメッセージにあなたのキーは含まれません。キーが必要な場合は、AI がファイルやアプリの入力欄にご自身で貼るよう案内します。
Node.js を入れる(まだなければ)
もう入っていますか?先に確認 · ターミナルを開き、このコマンドを入力して Enter
node -v- バージョン番号(例 v26.13.1)が出る = 入っています。この手順は飛ばせます
- "command not found"(Windows では "is not recognized")が出る = まだ入っていないか、入れた直後でターミナルを開き直す必要があります
ターミナルの開き方
Mac:⌘ + Space を押し、Terminal と入力して Enter
Windows:スタートメニューを開き、Windows PowerShell と入力して「開く」
まだ入っていない場合: 公式ダウンロードページで LTS 版と、クリックで進むインストーラーを選びます:Mac は .pkg、Windows は .msi。ダブルクリックして最後まで進めるだけで、curl コマンドは不要です
入れ終わったらターミナルを閉じて開き直し、同じコマンドをもう一度実行します。バージョン番号が出れば完了です:
node -v一度入れれば、Node.js を使うすべてのツールで使えます
VS Code の AI チャットを Agent モードで開く
試してみる
Package Health を使って、私に何ができるか教えて、1 つやってみせて✓ VS Code が Package Health を使っていると言うか、回答に Package Health のツール名が出れば接続成功です
追加の設定 1 項目(入力しなくても使えます)
上のコマンドはこれらがなくても動きます。変えたいときだけ作者の説明に沿って追加してください。
GITHUB_TOKEN省略可能。GitHub API の制限を引き上げ、初回応答までの時間のシグナルを有効にします。公開リポジトリへの読み取り専用アクセスで十分です。英語の原文を見る
Optional. Raises the GitHub API limit and enables the time-to-first-response signal. Read-only access to public repositories is enough.
説明は自動翻訳です。変数名は原文のままです。迷ったら原文を確認してください。
メニュー名は 2026年11月11日 に VS Code のヘルプページで確認 · アプリのバージョンにより画面が少し違うことがあります
開発者向け:ターミナルのコマンドと JSON 設定
パソコンにインストール
Claude Code
claude mcp add --scope user pkg-health -- npx -y pkg-health-mcpClaude Desktop (claude_desktop_config.json)
{
"mcpServers": {
"pkg-health": {
"command": "npx",
"args": [
"-y",
"pkg-health-mcp"
]
}
}
}Cursor (~/.cursor/mcp.json)
{
"mcpServers": {
"pkg-health": {
"command": "npx",
"args": [
"-y",
"pkg-health-mcp"
]
}
}
}VS Code (mcp.json)
{
"servers": {
"pkg-health": {
"type": "stdio",
"command": "npx",
"args": [
"-y",
"pkg-health-mcp"
]
}
}
}自分で入力する値
GITHUB_TOKEN秘密 env省略可能。GitHub API の制限を引き上げ、初回応答までの時間のシグナルを有効にします。公開リポジトリへの読み取り専用アクセスで十分です。英語の原文を見る
Optional. Raises the GitHub API limit and enables the time-to-first-response signal. Read-only access to public repositories is enough.
説明は自動翻訳です。変数名は原文のままです。迷ったら原文を確認してください。
この設定は、作者のレジストリ登録情報から作成しています。READMEと違う場合は、READMEに従ってください。
ひと目でわかる
使えるアプリ
このサーバーのつなぎ方と、各アプリの公式ドキュメントに基づきます。2026年11月10日に確認。
パソコン上で動かせるアプリ
ClaudeGooseLM StudioMsty StudioCherry StudioCursorVS Code + GitHub CopilotVisual StudioWindsurf (Devin Desktop)ZedKiroClineContinueJetBrains AI AssistantClaude CodeCodex CLIGemini CLIOpenCodenodecodeWarpLibreChatRaycast
できること
パソコンで動くサーバーです。インストールすると、ツール一覧がAIアプリに表示されます。
基本チェックi
誰でも見られる情報をチェックしており、コードは読んでいません。当てはまらない項目は数に入れていません。 · 2026年11月19日にチェック
- ✓ 合格
作者とリポジトリが一致
レジストリ名は、リポジトリを所有するGitHubアカウント orcsnren で確認済みです
- ✓ 合格
今もメンテナンスされている
コードの最終更新:13 日前
- ✓ 合格
ライセンスがある
Apache-2.0を使用
- – 対象外
エンドポイントが応答する
これはパソコンで動くため、インターネット上のエンドポイントはありません
- – 対象外
OAuthでサインイン
パソコンで動き、代わりにローカルの設定を使います
- … 未チェック
ツールの説明に隠れた指示がない
パソコンで動くサーバーです。ツール一覧を読み取れるのは、インターネット上のエンドポイントがある場合だけです
公開済みの脆弱性(OSV.dev)
OSV.dev に pkg-health-mcp@0.2.0 の登録はありません
このバージョンのパッケージ本体のみ確認。すべての依存関係ではありません · 確認日 2026年11月15日
作者の方へ:再確認の依頼・情報の誤りの報告
作者向け:README にバッジを付ける
作者の方は、このコードを README に貼れます。バッジはこのページにリンクします。
[](https://mcp.popnx.com/en/servers/orcsnren-pkg-health-mcp)話し合い
質問、コツの共有、使えないことの報告ができます。「役に立った」の多い順です。
ユーザーレビュー
まだレビューはありません
開発者ツールのほかのサーバーとの比較i
- このカテゴリのほかの6136件のうち69%よりスターが多い
- このカテゴリのほかの6136件のうち52%より最近レジストリに公開
- 基本チェックの結果が、このカテゴリのほかの6136件のうち99%と同じかそれ以上
レジストリでこのカテゴリにある有効なすべてのサーバーと比較しています。スターは、公開者がリポジトリの所有者である場合だけ数えます。
よくある質問
Package Healthは安全ですか?
当てはまる基本チェック3項目のうち3項目に合格しました。コードは読んでいません。キーやトークンを追加する前に、サーバーがどんなアクセスを求めているかを確認し、必要な権限だけを持つキーを使ってください。
どんなキーやコードが必要ですか?
レジストリには必須のキーは載っていません。ただし、最初に使うときにサインインを求めるサーバーもあります。
パソコンで動きますか、それともクラウドですか?
あなたのパソコンで動きます。必要なときにAIアプリが起動し、データは作者のサーバーを通りません(サーバー自体がオンラインサービスを呼び出す場合を除きます)。
今もメンテナンスされていますか?
GitHubリポジトリの最終更新は13 日前、最新バージョン(0.2.0)がレジストリに届いたのは28 日前です。
どのアプリで使えますか?
Claude Desktop、Claude Code、Cursor、VS CodeなどのMCP対応アプリで使えます。パソコンにNode.jsも必要です。
代わりに使えるものは?
同じカテゴリには:GitDiagram, Appllama, Cloudflare MCP, Omnara, Repowise
似た働きのほかの候補
同じカテゴリでほかの作者のもの。コマンドは確認済み。公式を先に、次にスター順。
カードの見方:↓ 週あたりのダウンロードi★ GitHubスターi3つの柱:レビュー · チェック · 利用状況i更新=最新バージョンをレジストリに公開した日i
GitDiagram
Architecture diagrams, explanations and Mermaid source for public GitHub repositories.
Appllama
Study screens, flows and paywalls from top-earning iOS apps, then build from what wins.
Omnara
Deploy durable AI agents with Omnara, an open-source managed-agent platform.
Repowise
Codebase intelligence for AI coding agents: graph, git history, docs, decisions, code health.
| これ Package Health | GitDiagram | Appllama | Cloudflare MCP | Omnara | Repowise | |
|---|---|---|---|---|---|---|
| 動く場所 | パソコンにインストールが必要 | クラウドで動き、インストール不要 | クラウドで動き、インストール不要 | クラウドで動き、インストール不要 | クラウドで動き、インストール不要 | クラウドでもパソコンにインストールでも使える |
| キーが必要 | いいえ | いいえ | いいえ | いいえ | いいえ | いいえ |
| Claude で + から追加 | いいえ | いいえ | いいえ | はい | いいえ | いいえ |
| 基本チェック | 3/3 | 4/4 | 4/4 | 4/4 | 4/4 | 5/5 |
| ライセンス | Apache-2.0 | MIT | MIT | Apache-2.0 | Apache-2.0 | AGPL-3.0 |
| 料金 | 登録情報に費用の記載なし | 登録情報に費用の記載なし | 登録情報に費用の記載なし | 登録情報に費用の記載なし | 登録情報に費用の記載なし | 登録情報に費用の記載なし |
作者のREADME
READMEを開く
作者のリポジトリから書かれたとおりにコピーしたものです。PopNx MCPは内容を確認・推奨していません。HTML、画像、スクリプトは取り除いています。リンクはこのサイトの外へ移動します。
pkg-health-mcp
Is this dependency still maintained? Find out before you install it.
pkg-health-mcp scores npm packages, PyPI packages and GitHub repositories from 0 to 100 for maintenance health. It combines release and commit activity, active maintainers, issue response times, download trends, OpenSSF Scorecard and license into an A–F grade and a plain-language list of risks.
Use it three ways, all built on the same engine:
- MCP server for Claude Code, Claude Desktop, Cursor, VS Code and any other MCP client, so your AI agent checks a package *before* it suggests one.
- CLI to audit a manifest or lock file, including transitive dependencies.
- GitHub Action to add a health report to every pull request and fail the build below a threshold.
$ npx -y pkg-health-mcp scan package.json
F 10/100 request@2.88.2 [npm] 10 Recent activity last release 2444d ago 5 Maintainer diversity 0 active committer(s) in the last 12 months 10 Issue responsiveness median 113.2d to first maintainer response, 38% answered (8 issues) 65 Download trend 171.5M downloads in last 90d (-5% vs previous 90d) 34 OpenSSF Scorecard 3.4/10 100 License Apache-2.0 (permissive) ! Deprecated: request has been deprecated, see https://github.com/request/request/issues/3142 ! No release in 6+ years ! No commits in the last 12 months ! 62% of recent issues got no maintainer response
F 10/100 left-pad@1.3.0 [npm] ! Deprecated: use String.prototype.padStart() ! Source repository is archived
A 99/100 express@5.3.0 [npm] 100 Recent activity last release 12d ago, last commit 4d ago 100 Maintainer diversity 42 active committer(s) in the last 12 months 100 Issue responsiveness median 0.2d to first maintainer response, 87% answered (53 issues) 100 Download trend 1.6B downloads in last 90d (+22% vs previous 90d) 85 OpenSSF Scorecard 8.5/10 100 License MIT (permissive)
Contents
- Why
- Features
- Quick start
- GitHub token
- Tools
- Using it with an AI agent
- Command line
- GitHub Action
- How the score works
- Data sources
- Limitations
- FAQ
- Development
- Contributing
- License
Why
A typical project pulls in hundreds of open-source packages. Some of them are quietly abandoned: no releases for years, one maintainer who moved on, issues piling up unanswered. When a vulnerability shows up in one of those, nobody fixes it.
Checking this by hand means opening each package's GitHub page and reading commit dates, issue lists and contributor graphs. Nobody does that for every dependency, and AI coding assistants never do it: they happily suggest whatever library was popular in their training data, including ones deprecated years ago.
pkg-health-mcp makes that check a single tool call, so:
- AI agents can avoid recommending abandoned libraries and flag risky ones in existing code.
- Engineering leads can audit a project's dependencies in seconds.
- Security and compliance teams get a repeatable, explainable maintenance signal alongside vulnerability scanners.
Features
- Three MCP tools: score one package, scan a whole manifest, or compare alternatives.
- npm, PyPI and any GitHub repository. Pass
owner/repoor a GitHub URL to score a project that is not published to a registry. - Manifests and lock files:
package.json,requirements.txt,pyproject.toml(PEP 621 and Poetry), pluspackage-lock.json,yarn.lock,pnpm-lock.yaml,poetry.lockanduv.lockfor transitive dependencies. Git dependencies on GitHub are scored as repositories. - Six signals: release and commit recency, active committers, time to first maintainer response, download trend, OpenSSF Scorecard, license.
- CI gating:
--fail-under, Markdown output for job summaries, and a ready-made GitHub Action. - Disk cache shared across runs (12 hours by default), so repeated scans cost almost no API calls.
- Explainable output: every score comes with per-signal details and a list of concrete risks, not just a number.
- Honest about missing data: unreachable APIs lower a
confidencevalue instead of the score. - No account or API key needed. An optional
GITHUB_TOKENraises GitHub's rate limit. - Local and private: runs on your machine, talks directly to public APIs, no backend and no telemetry.
- Human, JSON and Markdown output for terminals, scripts and CI job summaries.
Quick start
Requires Node.js 20 or later. Nothing to install globally: npx downloads the package on first run.
Claude Code
claude mcp add pkg-health -e GITHUB_TOKEN=github_pat_xxx -- npx -y pkg-health-mcp
Leave out -e GITHUB_TOKEN=… to run without a token.
Claude Desktop
Open Settings → Developer → Edit Config, or edit the file directly:
- macOS:
~/Library/Application Support/Claude/claude_desktop_config.json - Windows:
%APPDATA%\Claude\claude_desktop_config.json
{
"mcpServers": { "pkg-health": { "command": "npx", "args": ["-y", "pkg-health-mcp"], "env": { "GITHUB_TOKEN": "github_pat_xxx" } } } }
Restart Claude Desktop. The three tools appear under the tools icon.
Cursor
Add the same block to ~/.cursor/mcp.json (all projects) or .cursor/mcp.json (one project). See examples/cursor-mcp.json.
VS Code
Add to .vscode/mcp.json. VS Code asks for the token the first time the server starts, so it never sits in the file. See examples/vscode-mcp.json.
{
"inputs": [ { "type": "promptString", "id": "github-token", "description": "GitHub token (optional)", "password": true } ], "servers": { "pkg-health": { "type": "stdio", "command": "npx", "args": ["-y", "pkg-health-mcp"], "env": { "GITHUB_TOKEN": "${input:github-token}" } } } }
Any other MCP client
The server speaks MCP over stdio. Start it with:
npx -y pkg-health-mcp
GitHub token
The token is optional, but strongly recommended for anything beyond a handful of packages.
| Without token | With token | |
|---|---|---|
| GitHub API limit | 60 requests/hour | 5,000 requests/hour |
| Packages per hour (≈3–5 GitHub calls each) | about 15 | about 1,000+ |
| Time to first maintainer response | not measured (needs GraphQL) | measured |
When the limit is hit, packages are still scored from registry data and the report includes a warning saying so. Responses are cached on disk, so a second scan of the same project within 12 hours makes no GitHub calls at all.
Creating one: GitHub → Settings → Developer settings → Fine-grained tokens → *Public repositories (read-only)*, no additional permissions. The token is sent only to api.github.com. GH_TOKEN is accepted as well.
Tools
All tools are read-only and annotated as such (readOnlyHint, idempotentHint), so clients can run them without asking for confirmation.
check_package
Score one package.
| Parameter | Type | Default | Description | ||
|---|---|---|---|---|---|
name | string | — | Package name (express, @types/node, requests) or GitHub repository (owner/repo or a github.com URL) | ||
ecosystem | "npm" \ | "pypi" \ | "github" | "npm" | Where to look. owner/repo and GitHub URLs are detected automatically |
Returns a one-line summary followed by the full report:
left-pad: 10/100 (F), likely abandoned or unsafe to adopt. Main risk: Deprecated: use String.prototype.padStart().
{
"package": "left-pad", "ecosystem": "npm", "version": "1.3.0", "score": 10, "grade": "F", "confidence": 1, // share of the scoring weight backed by real data "summary": "left-pad: 10/100 (F), likely abandoned or unsafe to adopt. ...", "risks": [ "Deprecated: use String.prototype.padStart()", "Source repository is archived", "No release in 8+ years", "No commits in the last 12 months" ], "subscores": [ { "key": "activity", "label": "Recent activity", "weight": 0.3, "score": 0, "detail": "Repository is archived (read-only)" }, { "key": "maintainers", "label": "Maintainer diversity", "weight": 0.2, "score": 5, "detail": "0 active committer(s) in the last 12 months" }, { "key": "issues", "label": "Issue responsiveness", "weight": 0.15, "score": 15, "detail": "No issues closed in 12 months, 10 open" }, { "key": "downloads", "label": "Download trend", "weight": 0.15, "score": 100, "detail": "25.9M downloads in last 90d (+57% vs previous 90d)" }, { "key": "scorecard", "label": "OpenSSF Scorecard", "weight": 0.1, "score": 39, "detail": "3.9/10" }, { "key": "license", "label": "License", "weight": 0.1, "score": 100, "detail": "WTFPL (permissive)" } ], "repository": "https://github.com/left-pad/left-pad", "warnings": [] }
A deprecated package is capped at 10 even when its downloads are still growing: popularity does not mean anyone is fixing it.
A GitHub repository is scored the same way, with its latest GitHub release as the version. There are no download statistics for a repository, so that signal is left out:
expressjs/express: 98/100 (A), healthy.
scan_manifest
Score every dependency in a manifest or lock file and list the riskiest first.
| Parameter | Type | Default | Description |
|---|---|---|---|
path | string | — | Path to a local manifest or lock file. Only the file names listed below are accepted |
content | string | — | Full text of the file, if not passing path |
filename | string | — | Optional, with content; used to detect the format. Content sniffing is used otherwise |
include_dev | boolean | false | Also score devDependencies / optional dependencies |
max_packages | integer | 50 | Upper limit (1–1000) on packages scored |
Pass path for lock files: they are often too large to paste into a tool call.
Supported formats:
| File | What is read | What is skipped |
|---|---|---|
package.json | dependencies, peerDependencies, optionalDependencies, devDependencies (with include_dev), npm: aliases, GitHub specs (owner/repo, github:) | file:, link:, workspace:, non-GitHub git and URL specs |
requirements*.txt, requirements*.in | Package names with extras, version specifiers and environment markers; git+https://github.com/… URLs | -r, --index-url and other options, other URLs, local paths |
pyproject.toml | PEP 621 [project] dependencies and optional-dependencies; Poetry [tool.poetry.dependencies] and dev groups | python itself |
| package-lock.json, npm-shrinkwrap.json | Every installed package (lockfile v1, v2, v3), with dev flags | Linked worksp