Skip to main content

Pkgtruth

io.github.hxckya/pkgtruth

v0.2.2Updated Sep 10, 2026stdio · npm

Catches hallucinated and slopsquatted npm and PyPI packages before an agent installs them.

Install

Nothing to fill in: copy and run.

Run in your terminal

claude mcp add pkgtruth -- npx -y [email protected]

Configuration

4 settings.

  • PKGTRUTH_REGISTRY
    Env var· optional
    Alternate npm registry to verify against. Defaults to https://registry.npmjs.org.
  • PKGTRUTH_DOWNLOADS_API
    Env var· optional
    Alternate downloads API used for adoption figures. Defaults to https://api.npmjs.org.
  • PKGTRUTH_CACHE_DIR
    Env var· optional
    Where adoption figures are cached between runs. Defaults to ~/.cache/pkgtruth.
  • PKGTRUTH_TIMEOUT_MS
    Env var· optional
    Per-request timeout in milliseconds. Defaults to 8000.

Listed in the official MCP Registry since Sep 10, 2026. Mirrored daily; last checked Nov 26, 2026.