L'Agora
MCPLocal

io.github.hxckya/pkgtruth

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

Repository
github.com/hxckya/pkgtruth
Version
0.2.2
Author
hxckya (namespace verified by the registry)
Source
Official MCP registry (updated Sep 10, 2026)

How to install it

Variables to fill in: PKGTRUTH_REGISTRY, PKGTRUTH_DOWNLOADS_API, PKGTRUTH_CACHE_DIR, PKGTRUTH_TIMEOUT_MS.

On your machine

Claude Code

The server runs on your machine (npm package). In a terminal:

claude mcp add pkgtruth -e PKGTRUTH_REGISTRY=YOUR_PKGTRUTH_REGISTRY -e PKGTRUTH_DOWNLOADS_API=YOUR_PKGTRUTH_DOWNLOADS_API -e PKGTRUTH_CACHE_DIR=YOUR_PKGTRUTH_CACHE_DIR -e PKGTRUTH_TIMEOUT_MS=YOUR_PKGTRUTH_TIMEOUT_MS -- npx -y [email protected]
Claude Desktop claude_desktop_config.json

Settings, Developer, Edit config, then add:

{
  "mcpServers": {
    "pkgtruth": {
      "command": "npx",
      "args": [
        "-y",
        "[email protected]"
      ],
      "env": {
        "PKGTRUTH_REGISTRY": "YOUR_PKGTRUTH_REGISTRY",
        "PKGTRUTH_DOWNLOADS_API": "YOUR_PKGTRUTH_DOWNLOADS_API",
        "PKGTRUTH_CACHE_DIR": "YOUR_PKGTRUTH_CACHE_DIR",
        "PKGTRUTH_TIMEOUT_MS": "YOUR_PKGTRUTH_TIMEOUT_MS"
      }
    }
  }
}
Cursor ~/.cursor/mcp.json

In ~/.cursor/mcp.json:

{
  "mcpServers": {
    "pkgtruth": {
      "command": "npx",
      "args": [
        "-y",
        "[email protected]"
      ],
      "env": {
        "PKGTRUTH_REGISTRY": "YOUR_PKGTRUTH_REGISTRY",
        "PKGTRUTH_DOWNLOADS_API": "YOUR_PKGTRUTH_DOWNLOADS_API",
        "PKGTRUTH_CACHE_DIR": "YOUR_PKGTRUTH_CACHE_DIR",
        "PKGTRUTH_TIMEOUT_MS": "YOUR_PKGTRUTH_TIMEOUT_MS"
      }
    }
  }
}
VS Code .vscode/mcp.json

In .vscode/mcp.json:

{
  "servers": {
    "pkgtruth": {
      "type": "stdio",
      "command": "npx",
      "args": [
        "-y",
        "[email protected]"
      ],
      "env": {
        "PKGTRUTH_REGISTRY": "YOUR_PKGTRUTH_REGISTRY",
        "PKGTRUTH_DOWNLOADS_API": "YOUR_PKGTRUTH_DOWNLOADS_API",
        "PKGTRUTH_CACHE_DIR": "YOUR_PKGTRUTH_CACHE_DIR",
        "PKGTRUTH_TIMEOUT_MS": "YOUR_PKGTRUTH_TIMEOUT_MS"
      }
    }
  }
}
ChatGPT

ChatGPT only connects to remote servers (an https address). This package runs locally: use one of the apps above.

These configurations are built from the information published by the author. Check the repository before installing a local server.

Our test

This server runs on your machine: we cannot test it remotely.

Reviews

No review yet.

Sign in to leave a review. Your email is all you need.

Comments

No comment yet. A question, a tip? Start the discussion.

Sign in to comment.

Is this your project? Sign in to claim this entry.

Badge for your README

io.github.hxckya/pkgtruth on L’Agora

Show that your project is listed (and tested, if it responds): paste this code in your README. The badge follows the latest test and links back to this entry.

Markdown (GitHub)

[![io.github.hxckya/pkgtruth on L’Agora](https://lagora.dev/badge/io.github.hxckya/pkgtruth.svg?lang=en)](https://lagora.dev/en/entry/io.github.hxckya/pkgtruth)

HTML

<a href="https://lagora.dev/en/entry/io.github.hxckya/pkgtruth"><img src="https://lagora.dev/badge/io.github.hxckya/pkgtruth.svg?lang=en" alt="io.github.hxckya/pkgtruth on L’Agora" height="20"></a>

Promote

For the entry’s author only: sign in to continue.

Report this entry