npm package discovery and stats viewer.

Discover Tips

  • General search

    [free text search, go nuts!]

  • Package details

    pkg:[package-name]

  • User packages

    @[username]

Sponsor

Optimize Toolset

I’ve always been into building performant and accessible sites, but lately I’ve been taking it extremely seriously. So much so that I’ve been building a tool to help me optimize and monitor the sites that I build to make sure that I’m making an attempt to offer the best experience to those who visit them. If you’re into performant, accessible and SEO friendly sites, you might like it too! You can check it out at Optimize Toolset.

About

Hi, 👋, I’m Ryan Hefner  and I built this site for me, and you! The goal of this site was to provide an easy way for me to check the stats on my npm packages, both for prioritizing issues and updates, and to give me a little kick in the pants to keep up on stuff.

As I was building it, I realized that I was actually using the tool to build the tool, and figured I might as well put this out there and hopefully others will find it to be a fast and useful way to search and browse npm packages as I have.

If you’re interested in other things I’m working on, follow me on Twitter or check out the open source projects I’ve been publishing on GitHub.

I am also working on a Twitter bot for this site to tweet the most popular, newest, random packages from npm. Please follow that account now and it will start sending out packages soon–ish.

Open Software & Tools

This site wouldn’t be possible without the immense generosity and tireless efforts from the people who make contributions to the world and share their work via open source initiatives. Thank you 🙏

© 2026 – Pkg Stats / Ryan Hefner

package-guard-mcp

v1.0.1

Published

MCP server: the pre-install supply-chain guard for AI coding agents: verify a package exists (catch slopsquat/hallucinations), check vulnerabilities & malware (OSV), detect typosquats, audit a whole dependency list. Deterministic, free, no LLM.

Downloads

255

Readme

package-guard-mcp

An MCP server that vets a package before your agent installs it. It checks that the package actually exists, isn't known to be malicious, and is the one the agent meant. Deterministic, no LLM, free.

LLMs regularly suggest package names that don't exist, and attackers register those hallucinated names to slip malware into agent-run installs. People call it slopsquatting. One call to verify_package catches that, along with known vulnerabilities and typosquats.

Install

{ "mcpServers": { "package-guard": { "command": "npx", "args": ["-y", "package-guard-mcp"] } } }

Tools

  • verify_package: the main guard. Returns safe, caution, or danger, based on whether the package exists (if not, it's likely a hallucination or slopsquat, and you get suggested real names), known vulnerabilities and malware, typosquat risk, deprecation, and license.
  • check_vulns: known vulnerabilities and malware advisories for a name and version, from OSV.
  • package_info: registry metadata, including latest version, deprecation, license, repository, weekly downloads, and age.
  • audit_deps: check a whole list at once, or a package.json, or a requirements.txt.
  • typosquat_scan: generate likely lookalike names and flag the ones that are registered or look suspicious.

Ecosystems: npm, PyPI, Go, crates.io, RubyGems, Maven, NuGet. Vulnerability data comes from OSV.dev across all of them, with registry metadata from npm and PyPI. It calls https://package-guard.vercel.app (set PACKAGE_GUARD_API to override). One of six agent guards in this repo. MIT.