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

@watchdog-sec/mcp

v1.0.2

Published

watchdog's MCP server: query the published Threat feed and Scan a repo's dependencies from a coding agent.

Readme

@watchdog-sec/mcp

npm Node CI License: MIT MCP

An MCP server for watchdog, the free feed of critical, exploited vulnerabilities (Threats) merged from many Sources three times a day. A coding agent can look up a Threat, search the feed, and Scan a repo's dependency files for what to upgrade, Exploited first. In Claude Desktop, VS Code and Cursor, the Scan and the Threat detail also show as interactive views.

It runs on your machine over stdio, reads only watchdog's published JSON (from https://tinesoft.github.io/watchdog/data/), and stores nothing.

You can point the server at your own deployment with WATCHDOG_FEED_URL env variable, the absolute URL of its data/ folder.

For example, claude mcp add --scope user --env WATCHDOG_FEED_URL=https://<your.deployed.watchdog.URL>/data/ --transport stdio watchdog -- npx -y @watchdog-sec/mcp.


📦 Installation

Every coding agent below launches the same local server with npx -y @watchdog-sec/mcp (Node 22 or later). Pass your Stack terms on each call (stack), because it can't see the web app's browser-held state.

claude mcp add --scope user watchdog -- npx -y @watchdog-sec/mcp

In claude_desktop_config.json (Settings → Developer → Edit Config; ~/Library/Application Support/Claude/ on macOS, %APPDATA%\Claude\ on Windows), then restart it:

{
  "mcpServers": {
    "watchdog": { "command": "npx", "args": ["-y", "@watchdog-sec/mcp"] }
  }
}

Claude Desktop doesn't start the server in your project folder, so ask it to Scan absolute paths, or paste the file's contents.


Run codex mcp add watchdog -- npx -y @watchdog-sec/mcp, or in ~/.codex/config.toml:

[mcp_servers.watchdog]
command = "npx"
args = ["-y", "@watchdog-sec/mcp"]

Run copilot mcp add watchdog -- npx -y @watchdog-sec/mcp, or in ~/.copilot/mcp-config.json:

{
  "mcpServers": {
    "watchdog": {
      "type": "local",
      "command": "npx",
      "args": ["-y", "@watchdog-sec/mcp"],
      "tools": ["*"]
    }
  }
}

Install in VS Code, or in .vscode/mcp.json:

{
  "servers": {
    "watchdog": { "type": "stdio", "command": "npx", "args": ["-y", "@watchdog-sec/mcp"] }
  }
}

Run opencode mcp add watchdog -- npx -y @watchdog-sec/mcp, or in opencode.jsonc:

{
  "$schema": "https://opencode.ai/config.json",
  "mcp": {
    "servers": {
      "watchdog": { "type": "local", "command": ["npx", "-y", "@watchdog-sec/mcp"] },
    },
  },
}

Open cursor://anysphere.cursor-deeplink/mcp/install?name=watchdog&config=eyJjb21tYW5kIjoibnB4IiwiYXJncyI6WyIteSIsIkB3YXRjaGRvZy1zZWMvbWNwIl19 in a browser, or add to ~/.cursor/mcp.json:

{
  "mcpServers": {
    "watchdog": { "type": "stdio", "command": "npx", "args": ["-y", "@watchdog-sec/mcp"] }
  }
}

Any other agent that runs stdio MCP servers: the command npx with the arguments -y @watchdog-sec/mcp.

🧰 Tools

All four are read-only. Each answer says how fresh it is: collectedAt (when the Sweep behind it ran), stale (the last refresh failed, so this is the last good copy), overdue (the last two scheduled Sweeps didn't run) and sample (seed data, before the first Sweep).

| Tool | What it answers | Inputs | | ------------------- | ------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------- | | get_threat | One Threat: severity, CVSS, Exploited and the KEV required action, what is affected, fix commands, Advisories and Field reports | id (a CVE or alias), stack | | search_threats | The feed, filtered and in Risk order: Exploited first, then Mine, then CVSS. Pages of up to 100 | query, package, ecosystem, category, severity, exploited, mine, publishedSince, stack, limit, offset | | scan_dependencies | A fix plan: each vulnerable dependency, the version to upgrade to (the lowest fix on its major) and the command, in Risk order | paths or inline contents, checkOsv | | sweep_status | When the last Sweep ran, when the next is due, and which Sources failed | none |

scan_dependencies reads package.json, package-lock.json, yarn.lock, pnpm-lock.yaml, bun.lock, requirements.txt, poetry.lock, uv.lock, Pipfile.lock, go.mod, Cargo.lock, Gemfile.lock, composer.lock, pom.xml, gradle.lockfile, packages.lock.json and *.csproj, and CycloneDX or SPDX 2.x JSON SBOMs named bom.json, sbom.json, *.cdx.json, *.spdx.json or *.sbom.json, and skips any other file unread. SBOM components outside the eight supported ecosystems are counted as not checked, by reason. checkOsv also asks OSV.dev about every dependency, which sends package names, ecosystems and versions to api.osv.dev. It's off by default.

stack is your list of products and packages. Pass it to rank and mark the Threats that are Mine; the server keeps nothing between calls.

💬 Prompts

check_repo (optional path, default .): Scan this repo's dependency files and report what to upgrade, Exploited first.

🖼️ App views

In hosts with MCP Apps support (Claude Desktop, VS Code and Cursor), two tools also show an interactive view in the chat. Other hosts get the same answer as text. The views follow the host's dark or light theme, and nothing in them changes state.

Threat detail

Shown by get_threat.

  • Severity, CVSS, the Exploited marker with its KEV required action, and the summary.
  • How to fix: the package, what is affected and what fixes it, then one command for each release line that has a fix, each with Copy.
  • Sources: the Advisories and Field reports that cover it.
  • Open on watchdog and Copy link.

Scan results

Shown by scan_dependencies.

  • A numbered fix plan in Risk order, headed "N upgrades fix M Threats, K Exploited". Exploited steps are drawn in red.
  • Each step: its command with Copy, name version → target, the file it came from, and a chip for each Threat.
  • A chip opens that Threat's detail in place; Back to Scan results returns to where you were. A step with no known fix links to its Advisories the same way.
  • Copy all for each ecosystem with more than one step, such as Copy all npm commands.
  • The files scanned and skipped, what only OSV.dev knows (with checkOsv), and banners when the data is stale, overdue or sample.

🧪 Testing

Run pnpm nx inspect mcp to build the server and test it in the MCP Inspector.


📄 License

MIT. Source: https://github.com/tinesoft/watchdog