PK

pkgtruth MCP Server

Published by hxckya

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

CATEGORY
More to explore
DEPLOYMENT
Local package
LATEST SOURCE VERSION
0.2.2
SOURCE CHECKED
Dec 2, 2026

Quick answers

How do I add pkgtruth MCP Server to Claude Code, Cursor or Codex?

Claude CodeCommand

Run this in your terminal:

claude mcp add --transport stdio pkgtruth -- npx -y pkgtruth
Claude Code setup guide
CursorConfig

Add this to ~/.cursor/mcp.json, or to .cursor/mcp.json in a project:

{
  "mcpServers": {
    "pkgtruth": {
      "command": "npx",
      "args": [
        "-y",
        "pkgtruth"
      ]
    }
  }
}
Cursor setup guide
CodexCommand

Run this in your terminal:

codex mcp add pkgtruth -- npx -y pkgtruth
Codex setup guide
VS CodeConfig

Add this to .mcp.json at the root of your workspace:

{
  "mcpServers": {
    "pkgtruth": {
      "type": "stdio",
      "command": "npx",
      "args": [
        "-y",
        "pkgtruth"
      ]
    }
  }
}
VS Code setup guide
Claude DesktopConfig

Add this to claude_desktop_config.json, then restart Claude:

{
  "mcpServers": {
    "pkgtruth": {
      "command": "npx",
      "args": [
        "-y",
        "pkgtruth"
      ]
    }
  }
}
Claude Desktop setup guide
ChatGPTNot available

ChatGPT can't add it from its published details: it connects from the cloud and needs a public address, and this server runs on your computer.

ChatGPT setup guide

Which apps can use pkgtruth MCP Server?

Claude Code, Cursor, Codex, VS Code and Claude Desktop can add it from its published details. ChatGPT can't: it connects from the cloud and needs a public address, and this server runs on your computer.

Does pkgtruth MCP Server need an API key?

Its listing declares no key or settings needed to run it.

Is pkgtruth MCP Server official?

It's published by hxckya. The Official MCP Registry accepts names under io.github.hxckya only from the GitHub account or organisation hxckya. We last checked its listing on Dec 2, 2026. A listing shows where a server comes from; it isn't a security review.

Published packages

npm · pkgtruth@0.2.2
View source repository