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

adtest-mcp

v1.1.0

Published

AI-only ad scoring for Claude: score image, video or text ads on 13 dimensions before you spend.

Readme

AdTest.AI MCP server

npm · Registry name: ai.adtest/adtest-mcp · License: MIT

Adds a single analyze_advert tool to Claude (Desktop, Code, or any MCP client) that runs AdTest.AI's AI-only 13-dimension analysis of an advert — image, video, or text — and returns a detailed scoring report. (Human-panel validation is available in the web app only, not through this server.)

Quick add for Claude Code:

claude mcp add adtest -e ADTEST_API_KEY=adk_your_key_here -- npx -y adtest-mcp

Setup

  1. Get an API key: sign in at https://app.adtest.ai → the Developer (gear) icon → Generate key. Make sure your wallet has funds — each successful analysis costs $1.

  2. Add the server to your Claude config (Claude Desktop: claude_desktop_config.json; Claude Code: .mcp.json):

    {
      "mcpServers": {
        "adtest": {
          "command": "npx",
          "args": ["-y", "adtest-mcp"],
          "env": { "ADTEST_API_KEY": "adk_your_key_here" }
        }
      }
    }

    Or run it from a local checkout (after npm install in this folder):

    {
      "mcpServers": {
        "adtest": {
          "command": "node",
          "args": ["/absolute/path/to/mcp-server/index.js"],
          "env": { "ADTEST_API_KEY": "adk_your_key_here" }
        }
      }
    }
  3. Restart Claude, then just ask:

    • “Analyze this advert: https://example.com/ad.jpg”
    • “Analyze this ad video file: /Users/me/promo.mp4”
    • “Score this ad copy: 50% off all shoes this weekend — shop now.”

The tool

analyze_advert — provide one of:

| arg | meaning | |-----|---------| | url | public URL of an image or video advert (we download it) | | file_path | local image/video file to upload | | text | ad copy to analyze | | brand_url (optional) | advertiser website — improves brand/logo detection |

Returns the AI analysis text plus the amount charged and your remaining balance.

How it works (async — so video works)

The server submits the job to POST /developer/ai-analysis/jobs, gets a job_id back immediately, then polls GET /developer/ai-analysis/jobs/{job_id} every few seconds until it's complete or failed. This is why video works: a single synchronous request would be cut off by the CDN edge timeout (~100s), but video analysis can take several minutes. You're charged once, on success, when the job completes — a failed job is never billed.

Notes

  • Registered in the official MCP Registry as ai.adtest/adtest-mcp.

  • Auth is the x-api-key header, set from ADTEST_API_KEY.

  • Endpoint defaults to https://app.adtest.ai/adtest-api; override with ADTEST_API_BASE for staging.

  • Poll ceiling defaults to 15 min; override with ADTEST_POLL_TIMEOUT_MS (milliseconds) for very long video.

  • Rate limits: 30 submits/min and 2000/day per key (60/min per IP); polling is generous (240/min) and handled for you.

  • Errors come back as readable text: invalid_api_key, insufficient_funds, no_creative, invalid_url, unsupported_media_type, too_many_requests, analysis_failed (the last is not charged).

  • Requires Node ≥ 18.

Links

License

MIT — see LICENSE.