Package Health
Score npm, PyPI and GitHub projects 0-100 for maintenance health before you depend on them
Package Health is an open-source MCP server for health and science. It runs locally on your machine and is started by your AI client.
- Pricing
- Open source
- Platforms
- CLI, Self-hosted
- Runs
- Locally
- What it can do
- Read-only
- Version
- 0.2.0
- Listing updated
Similar MCP servers
Install
Add with the CLI
Run in a terminal
claude mcp add pkg-health-mcp --env GITHUB_TOKEN='<GITHUB_TOKEN>' -- npx -y pkg-health-mcpAdd --scope user to use it in every project, or --scope project to share it in .mcp.json.
Or share it with your project
Add to .mcp.json
{
"mcpServers": {
"pkg-health-mcp": {
"command": "npx",
"args": [
"-y",
"pkg-health-mcp"
],
"env": {
"GITHUB_TOKEN": "<GITHUB_TOKEN>"
}
}
}
}Add to claude_desktop_config.json
{
"mcpServers": {
"pkg-health-mcp": {
"command": "npx",
"args": [
"-y",
"pkg-health-mcp"
],
"env": {
"GITHUB_TOKEN": "<GITHUB_TOKEN>"
}
}
}
}Settings → Developer → Edit Config, then quit and reopen Claude Desktop.
Add to ~/.cursor/mcp.json
{
"mcpServers": {
"pkg-health-mcp": {
"command": "npx",
"args": [
"-y",
"pkg-health-mcp"
],
"env": {
"GITHUB_TOKEN": "<GITHUB_TOKEN>"
}
}
}
}Use .cursor/mcp.json in a project to share it with the project.
Add to ~/.copilot/mcp-config.json
{
"mcpServers": {
"pkg-health-mcp": {
"type": "stdio",
"command": "npx",
"args": [
"-y",
"pkg-health-mcp"
],
"env": {
"GITHUB_TOKEN": "<GITHUB_TOKEN>"
}
}
}
}Or put the same entry in .mcp.json at your workspace root to share it.
Add with the CLI
Run in a terminal
codex mcp add pkg-health-mcp --env GITHUB_TOKEN='<GITHUB_TOKEN>' -- npx -y pkg-health-mcpOr add to config.toml
Add to ~/.codex/config.toml
[mcp_servers.pkg-health-mcp]
command = "npx"
args = ["-y", "pkg-health-mcp"]
env = { GITHUB_TOKEN = "<GITHUB_TOKEN>" }Add to your client's MCP settings (most use this shape)
{
"mcpServers": {
"pkg-health-mcp": {
"command": "npx",
"args": [
"-y",
"pkg-health-mcp"
],
"env": {
"GITHUB_TOKEN": "<GITHUB_TOKEN>"
}
}
}
}Gemini CLI and Antigravity
Gemini CLI
Add to ~/.gemini/settings.json
{ "mcpServers": { "pkg-health-mcp": { "command": "npx", "args": [ "-y", "pkg-health-mcp" ], "env": { "GITHUB_TOKEN": "<GITHUB_TOKEN>" } } } }Or run: gemini mcp add -s user -e GITHUB_TOKEN='<GITHUB_TOKEN>' pkg-health-mcp npx -- -y pkg-health-mcp
Antigravity
Add to ~/.gemini/config/mcp_config.json
{ "mcpServers": { "pkg-health-mcp": { "command": "npx", "args": [ "-y", "pkg-health-mcp" ], "env": { "GITHUB_TOKEN": "<GITHUB_TOKEN>" } } } }Use .agents/mcp_config.json to add it to one workspace only.
Devin Desktop (formerly Windsurf)
Add to ~/.config/devin/mcp_config.json
{ "mcpServers": { "pkg-health-mcp": { "command": "npx", "args": [ "-y", "pkg-health-mcp" ], "env": { "GITHUB_TOKEN": "<GITHUB_TOKEN>" } } } }On Windows the file is %APPDATA%\devin\mcp_config.json. Use .devin/mcp_config.json to share it with a project.
Cline
Add to cline_mcp_settings.json
{ "mcpServers": { "pkg-health-mcp": { "command": "npx", "args": [ "-y", "pkg-health-mcp" ], "env": { "GITHUB_TOKEN": "<GITHUB_TOKEN>" } } } }Open it from the MCP Servers icon → Configure → Configure MCP Servers.
Zed
Add to Zed settings.json
{ "context_servers": { "pkg-health-mcp": { "command": "npx", "args": [ "-y", "pkg-health-mcp" ], "env": { "GITHUB_TOKEN": "<GITHUB_TOKEN>" } } } }Open it with zed: open settings file. Merge context_servers into the settings you already have.
JetBrains AI Assistant and Junie
AI Assistant
Add to Settings → Tools → AI Assistant → Model Context Protocol (MCP) → Add
{ "mcpServers": { "pkg-health-mcp": { "command": "npx", "args": [ "-y", "pkg-health-mcp" ], "env": { "GITHUB_TOKEN": "<GITHUB_TOKEN>" } } } }The AI Assistant docs only show command and args. If the env block is ignored, use Junie for this server.
Junie
Add to ~/.junie/mcp/mcp.json
{ "mcpServers": { "pkg-health-mcp": { "command": "npx", "args": [ "-y", "pkg-health-mcp" ], "env": { "GITHUB_TOKEN": "<GITHUB_TOKEN>" } } } }Use .junie/mcp/mcp.json to share it with a project.
Kiro
Add to ~/.kiro/settings/mcp.json
{ "mcpServers": { "pkg-health-mcp": { "command": "npx", "args": [ "-y", "pkg-health-mcp" ], "env": { "GITHUB_TOKEN": "<GITHUB_TOKEN>" } } } }Use .kiro/settings/mcp.json to add it to one workspace only.
Using several servers? Build one config file with the MCP config generator.
Configuration
GITHUB_TOKENOptional. Raises the GitHub API limit and enables the time-to-first-response signal. Read-only access to public repositories is enough.
About Package Health
Package Health runs on your machine over stdio and turns six signals into an A to F grade and a plain list of risks: release and commit recency, active committers, time to first maintainer response, download trend, OpenSSF Scorecard and license. Its README shows request scoring 10 out of 100 with a deprecation warning while express scores 99.
The same engine also ships as a command-line scanner that reads package.json, requirements.txt, pyproject.toml and lock files for transitive dependencies, and as a GitHub Action that can fail a build below a score. Results are cached on disk for 12 hours. When a data source is unreachable it lowers a confidence value rather than the score.
No account or key is needed. An optional GITHUB_TOKEN lifts GitHub's limit from 60 to 5,000 requests an hour and enables the response-time signal. The README says it runs locally with no backend and no telemetry.
Tools this server provides (1)
Taken from the project documentation; the running server may differ.
From the tool list in its README, going by the names, all 1 tool only read data.
From the server's own tool labels and tool names; not verified by us.
- check_packageName suggests: reads
- Score one npm or PyPI package or GitHub repository for maintenance health.
What it does
- Six-signal score
- Combines activity, maintainers, issue response, downloads, Scorecard and license.
- Plain-language risks
- Each result lists concrete risks, such as deprecation or no recent releases.
- Manifest and lock scans
- Reads package.json, requirements.txt, pyproject.toml and common lock files.
- CI gating
- A threshold flag and GitHub Action fail builds on weak dependencies.
- Local operation
- Runs on your machine with no backend and no telemetry.
- Disk cache
- Reuses results for 12 hours to save API calls.
Good for
- Stop an assistant suggesting abandoned libraries
- Audit a project's dependencies, including transitive ones
- Fail pull requests whose dependencies fall below a score
- Compare alternative packages before choosing one
- Add a maintenance signal alongside vulnerability scanners
Pricing
Open source
Free; optional GitHub token raises rate limits
Package Health FAQ
Do I need a GitHub token?
It is optional but raises the limit from 60 to 5,000 requests an hour and enables response-time measurement.
Which ecosystems are covered?
npm packages, PyPI packages and any GitHub repository.
Does Package Health send data to a backend?
No. The README says it talks directly to public APIs from your machine with no telemetry.
What runtime does Package Health need?
Node.js 20 or later, started with npx.
Is Package Health free?
Yes. Package Health is open source, so you can use and self-host it for free.
How do I add Package Health to Claude Code?
Run this command in your terminal: claude mcp add pkg-health-mcp --env GITHUB_TOKEN='<GITHUB_TOKEN>' -- npx -y pkg-health-mcp
What are the best alternatives to Package Health?
The closest alternatives to Package Health are REA, Context7, Chrome DevTools MCP, Codebase Memory and GitHub.
Where this comes from
- Description: written from the project's README.
- Install steps: from the official MCP Registry entry.


