npm package discovery and stats viewer.

Discover Tips

  • General search

    [free text search, go nuts!]

  • Package details

    pkg:[package-name]

  • User packages

    @[username]

Sponsor

Optimize Toolset

I’ve always been into building performant and accessible sites, but lately I’ve been taking it extremely seriously. So much so that I’ve been building a tool to help me optimize and monitor the sites that I build to make sure that I’m making an attempt to offer the best experience to those who visit them. If you’re into performant, accessible and SEO friendly sites, you might like it too! You can check it out at Optimize Toolset.

About

Hi, 👋, I’m Ryan Hefner  and I built this site for me, and you! The goal of this site was to provide an easy way for me to check the stats on my npm packages, both for prioritizing issues and updates, and to give me a little kick in the pants to keep up on stuff.

As I was building it, I realized that I was actually using the tool to build the tool, and figured I might as well put this out there and hopefully others will find it to be a fast and useful way to search and browse npm packages as I have.

If you’re interested in other things I’m working on, follow me on Twitter or check out the open source projects I’ve been publishing on GitHub.

I am also working on a Twitter bot for this site to tweet the most popular, newest, random packages from npm. Please follow that account now and it will start sending out packages soon–ish.

Open Software & Tools

This site wouldn’t be possible without the immense generosity and tireless efforts from the people who make contributions to the world and share their work via open source initiatives. Thank you 🙏

© 2026 – Pkg Stats / Ryan Hefner

@veracityapi/mcp

v0.1.0

Published

Content trust scoring tools for MCP-compatible agents

Readme

@veracityapi/mcp

MCP server for VeracityAPI content trust scoring.

It exposes VeracityAPI's live HTTP API as thin MCP tools for Claude Desktop, Cursor, Windsurf, Continue, Goose, Hermes, and other MCP-compatible agents. The server does not implement scoring locally; VeracityAPI remains the source of truth for validation, billing, privacy handling, and scoring.

Tools

  • analyze_textPOST /v1/analyze with type: "text"
    • Scores text for content trust, specificity/slop risk, weak provenance, evidence, recommended fixes, and workflow action.
  • analyze_imagePOST /v1/analyze with type: "image"
    • Scores an HTTPS image URL for visible synthetic-image artifact risk and workflow action.
  • analyze_audioPOST /v1/analyze with type: "audio"
    • Scores a short HTTPS audio URL for synthetic-audio workflow triage with transcript return.
    • Optional caller transcript/context can be supplied.
    • The MCP server does not download, transcode, or store audio.
  • check_balanceGET /v1/balance
    • Returns account credit balance and recent usage windows.

VeracityAPI results are workflow risk signals. They are not proof of authorship, truth, AI generation, voice cloning, speaker identity, or forensic determination.

Install / run

VERACITY_API_KEY=vap_... npx -y @veracityapi/mcp

Optional:

VERACITY_API_BASE_URL=https://api.veracityapi.com

Claude Desktop config

{
  "mcpServers": {
    "veracityapi": {
      "command": "npx",
      "args": ["-y", "@veracityapi/mcp"],
      "env": {
        "VERACITY_API_KEY": "vap_..."
      }
    }
  }
}

Cursor / Windsurf / Continue / Goose

Use the same stdio command:

npx -y @veracityapi/mcp

with environment:

VERACITY_API_KEY=vap_...

Tool examples

analyze_text

{
  "text": "Travelers should always be careful in tourist areas because scams can happen anywhere. Keep your belongings close and avoid strangers.",
  "context": { "format": "article", "intended_use": "publish", "domain": "travel safety" },
  "store_content": false
}

analyze_image

{
  "image_url": "https://veracityapi.com/demo/influencer-beauty-tonic.jpg",
  "context": { "format": "social_post", "intended_use": "publish", "domain": "influencer product post" },
  "store_content": false
}

analyze_audio

{
  "audio_url": "https://veracityapi.com/assets/demo-voice-message.mp3",
  "transcript": "Optional caller-supplied transcript or context.",
  "context": { "format": "social_post", "intended_use": "moderate", "domain": "voice-message authenticity triage" },
  "store_content": false
}

Privacy notes

  • Text: when store_content=false, raw text is not stored in D1 analysis logs.
  • Image/audio media storage: the MCP client sends store_content=false; VeracityAPI stores no media bytes, base64 payloads, or full media URLs, only URL hash plus hostname.
  • Image: VeracityAPI stores no image bytes and logs only URL hash + hostname.
  • Audio: VeracityAPI fetches capped HTTPS audio transiently, stores no audio bytes/base64/full URL, and logs only URL hash + hostname.
  • Local MCP server only proxies JSON to VeracityAPI and returns JSON responses to the calling agent.

Errors

The MCP server maps VeracityAPI HTTP errors into readable tool errors:

  • 401 missing/invalid API key
  • 402 insufficient balance
  • 429 rate limited
  • 503 model unavailable

Run check_balance before autonomous loops.

Text auto-revise: set auto_revise: true on text requests to bill Analyze + revise at $0.010 / 1k characters and receive revised_text when recommended_action is revise. Evidence type values are strict enums for deterministic agent branching.