Skip to content
MCP server
Registry

package-guard-mcp MCP Server

Supply-chain guard for AI coding agents: verify packages, check vulns/malware, detect typosquats.

package-guard-mcp scores 50 (Fair), with no SPDX license recorded. It installs as a local process. It declares 5 tools. Filed under Security. Package registries report about 107 downloads a week. Install configs are generated for 10 clients. Being listed in the registry is not the same as being vendor-official.

by mlawsonkingNo license
Trust score
50Fair
Trust score 50 of 100, Fair

Fair trust

50 of 100 from six public signals. Nobody can buy a point.

  • Listed in the official MCP registry.
  • No license recorded.
How we score trust
Scorecard

License, quality and maintenance

How grades work
Trust breakdown

Where the 50 comes from

22 + 15 + 0 + 0 + 10 + 3 = 50. Each factor is capped, so no single signal can carry a listing.

Registry22 / 30

Active in the official MCP registry, plus a known vendor namespace.

Registry: 22 of 30 points.
Maintenance15 / 20

How recently the repository saw a commit or release.

Maintenance: 15 of 20 points.
Popularity0 / 20

GitHub stars and weekly downloads, on a log scale.

Popularity: 0 of 20 points.
License0 / 10

A clear, OSI-style open-source license.

License: 0 of 10 points.
Security10 / 10

Not archived, a secure install path, a pinned version.

Security: 10 of 10 points.
Docs3 / 10

A real summary, a README with depth, listed tools.

Docs: 3 of 10 points.

Install

Pick your client, copy the config, paste it in.

Needs Cursor or VS Code installed on this device. The button opens the app and asks you to confirm before it adds the server.

~/Library/Application Support/Claude/claude_desktop_config.json
{  "mcpServers": {    "mlawsonking-package-guard-mcp": {      "command": "npx",      "args": [        "-y",        "package-guard-mcp@1.3.0"      ]    }  }}

Environment variables

This server does not declare environment variables.

Tools5Tool docs quality grade C

All capabilities
  • check a list of names, or the dependencies and devDependencies in a package.json, or a requirements.txt.

  • known vulnerabilities and malware advisories for a name and version, from OSV.

  • registry metadata, including latest version, deprecation, license, repository, weekly downloads, and age.

  • generate ASCII lookalike names and report which are registered.

  • the main guard. Returns safe, caution, or danger, based on whether the registry has the name (if not you get likelyhallucination, plus a "did you mean" list on npm), known vulnerabilities and malware from OSV, age and weekly downloads, w

About

package-guard-mcp

An MCP server that vets a package before your agent installs it. It checks that the name is registered, that OSV has no advisory against it, and how new and how downloaded it is. 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. The check for it is a registry lookup: if npm or PyPI has no package by that name, verify_package returns likely_hallucination: true. That means "not in this registry" and nothing more — it can't separate an invented name from a typo or a rename, and a package that only exists in your private registry will read as missing.

It never fetches or reads package contents. No install scripts, no code, no tarballs. A malicious package with no OSV advisory and healthy download numbers comes back safe.

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 registry has the name (if not you get likely_hallucination, plus a "did you mean" list on npm), known vulnerabilities and malware from OSV, age and weekly downloads, whether the name is within 2 edits of an npm search hit, 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 list of names, or the dependencies and devDependencies in a package.json, or a requirements.txt.
  • typosquat_scan: generate ASCII lookalike names and report which are registered.

Scope and limits

check_vulns is a straight OSV.dev query and covers all seven ecosystems: npm, PyPI, Go, crates.io, RubyGems, Maven, NuGet. Everything else needs a package registry, and there are two clients: npm and PyPI. So verify_package, package_info, audit_deps and typosquat_scan take npm or pypi only. Suggestions and the confusable-name signal use npm's search API, so they are npm only.

audit_deps reads manifests, not lockfiles, and does not resolve the dependency tree. It checks the entries you send and nothing they depend on, up to 40 names. A version range is reduced to the digits inside it, so ^4.17.20 is checked as 4.17.20.

vulnerabilities.checked: false with count: null means the OSV request failed and the package was not checked; verify_package downgrades the verdict to caution instead of calling it safe. count: 0 means OSV answered and had nothing. audit_deps has no such guard yet: if its batch OSV call fails, every package reports 0 vulns.

Rule updates

About once a day this server asks the rules feed whether there is a newer ruleset, and applies it if there is. The request carries two things: which surface asked, which here is facade, and the rules version already installed. No machine id, no user id, no file names, nothing you scanned.

Bundles are signed with Ed25519 and verified against a public key compiled into this package, so it does not matter which mirror served one. A bundle that fails its signature, its schema, or its ReDoS check is discarded and the rules you already had stay in place. --offline turns updates off, as does AGENT_GUARDS_NO_FEED=1 or {"feed": false} in ~/.agent-guards/config.json. The bundle format and how to verify one yourself: https://github.com/mlawsonking/MCP/blob/main/rules/README.md

It calls https://package-guard.vercel.app (set PACKAGE_GUARD_API to override). One of six agent guards in this repo. MIT.

Frequently asked questions

What is package-guard-mcp MCP Server?

Supply-chain guard for AI coding agents: verify packages, check vulns/malware, detect typosquats.

How do I install package-guard-mcp MCP Server in Claude Desktop, Cursor, or VS Code?

Pick your client in the Install section on this page and copy the generated config into the client's config file. Step-by-step guides: Claude Desktop, Cursor, and VS Code. package-guard-mcp MCP Server runs locally from the npm package package-guard-mcp with the command npx -y package-guard-mcp@1.3.0.

Does package-guard-mcp MCP Server support remote (HTTP) connections?

No remote endpoint is listed for package-guard-mcp MCP Server. It runs locally on your machine over stdio, started by your MCP client.

What tools does package-guard-mcp MCP Server provide?

package-guard-mcp MCP Server provides 5 tools, including audit_deps, check_vulns, package_info, and typosquat_scan. See the full tool list for descriptions and parameters.

How is package-guard-mcp MCP Server's trust score calculated?

package-guard-mcp MCP Server scores 50 out of 100 (Fair). The score adds six capped public signals: registry status, maintenance, popularity, license, documentation, and security. Nobody can pay for points. Read the methodology for the full formula.

Reviews

No reviews yet

—Be the first to review

5 star0 reviews at 5 stars
4 star0 reviews at 4 stars
3 star0 reviews at 3 stars
2 star0 reviews at 2 stars
1 star0 reviews at 1 stars

No published reviews yet. Used it? Tell the next person how it went.

Add badge to your README

Paste either snippet into the repository README. The image links to this listing.

Listed on MCPpedia

Top 5 MCP servers

Daily or weekly. Confirm by email, unsubscribe any time.

How often

Manage this listing

Claim this server