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

unwatched-mcp

v0.1.0

Published

MCP server + CLI for UNWATCHED — video URL in, validated runbook out

Readme

unwatched-mcp

Video URL in → validated runbook out. MCP server + CLI for UNWATCHED. Any AI agent (Claude Code, Cursor, any MCP client) can decode a video into a validated, structured runbook by calling the UNWATCHED API.

Requires Node.js ≥ 18 and an API key from https://unwatched.cloud/app/settings → API Keys.

60-second quickstart

# 1. Install
npm i -g unwatched-mcp        # or use npx below without installing

# 2. Set your key
export UNWATCHED_API_KEY=uk_live_...     # or: ~/.config/unwatched/config

# 3. Decode a video (starts the job, waits, writes the runbook)
unwatched decode "https://www.youtube.com/watch?v=VIDEO_ID" --format yaml -o runbook.yaml

That's it: runbook.yaml now holds the validated runbook.

CLI

unwatched decode <url> [--profile agent] [--format md|yaml|json] [-o file] [--timeout 600]
unwatched library [query] [--json]
unwatched status <job_id> [--wait] [--timeout 600]
  • decode starts a job, polls until it completes, fetches the runbook and writes it to -o <file> (or stdout).
  • library lists your tenant's previous decodes; query filters client-side.
  • status shows job status + artifact list.

API key resolution

  1. UNWATCHED_API_KEY environment variable
  2. ~/.config/unwatched/config — a file containing either UNWATCHED_API_KEY=uk_live_... or the bare key on one line

UNWATCHED_BASE_URL overrides the API base URL (default https://unwatched.cloud/api/v1).

MCP server

The package ships an MCP server (stdio transport) with these tools:

| Tool | What it does | |---|---| | decode_video(url, profiles?) | start a decode job → returns job_id | | get_job(job_id) | status + artifact list | | get_runbook(job_id, video_id, format: md\|yaml\|json) | runbook content | | list_library(query?) | previous decodes of your tenant | | wait_for_job(job_id, timeout_s=600) | poll until completed/partial/failed |

Typical agent flow: decode_videowait_for_jobget_job (find the video_id) → get_runbook.

Errors are mapped to actionable messages: 401 → check your API key, 402 → quota exhausted, upgrade at https://unwatched.cloud/app/settings, 429 → rate limited (respects Retry-After).

Claude Code

claude mcp add unwatched --env UNWATCHED_API_KEY=uk_live_... -- npx -y unwatched-mcp

Claude Desktop

Add to claude_desktop_config.json:

{
  "mcpServers": {
    "unwatched": {
      "command": "npx",
      "args": ["-y", "unwatched-mcp"],
      "env": { "UNWATCHED_API_KEY": "uk_live_..." }
    }
  }
}

Cursor

Add to .cursor/mcp.json (project) or ~/.cursor/mcp.json (global):

{
  "mcpServers": {
    "unwatched": {
      "command": "npx",
      "args": ["-y", "unwatched-mcp"],
      "env": { "UNWATCHED_API_KEY": "uk_live_..." }
    }
  }
}

Any other MCP client

Run the server directly over stdio:

UNWATCHED_API_KEY=uk_live_... npx -y unwatched-mcp
# or, when installed globally:
unwatched-mcp

Development

npm install
npm run build
npm test          # smoke tests of the API client with mocked HTTP

Layout: src/api-client.ts (REST wrapper + error mapping), src/cli.ts (commander CLI), src/mcp-server.ts (stdio MCP server), src/config.ts (key/base-URL resolution).

License

MIT