LocalFree

Pkgtruth MCP server

hxckya/pkgtruth

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

4 GitHub stars204 npm downloads / month

Install Pkgtruth in Claude Code

Claude Code
claude mcp add pkgtruth -- npx -y pkgtruth
mcp.json (Claude Desktop, Cursor, VS Code, Windsurf)
{
  "mcpServers": {
    "pkgtruth": {
      "command": "npx",
      "args": [
        "-y",
        "pkgtruth"
      ]
    }
  }
}

Frequently asked questions

What does the Pkgtruth MCP server do?

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

Is the Pkgtruth MCP server free?

Yes, most likely. Open source and no paid account or API key is mentioned in the listing. Check the provider for current pricing.

Does Pkgtruth run locally or remotely?

Local. Runs on your machine (stdio). You install it with npx, uvx, Docker or from source.

How do I add Pkgtruth to Claude Code?

Run: claude mcp add pkgtruth -- npx -y pkgtruth

More ai agents & coding agents MCP servers

View all