# io.github.rajanrengasamy/vidlens-mcp (npm · vidlens-mcp)

YouTube intelligence layer for AI agents. 41 tools, 10 modules, zero config.

- Trust score: 59/100 (low)
- Change this week: +22
- Registry status: active
- Liveness: live
- Owner verified: no
- Last scored: 2026-08-03

## Components

- npm · `vidlens-mcp`: 59/100 (this document), [markdown](https://verifymcp.io/servers/rajanrengasamy-vidlens-mcp/vidlens-mcp.md), [page](https://verifymcp.io/servers/rajanrengasamy-vidlens-mcp/vidlens-mcp)

## Channel facts

- Registry: `npm`
- Package: `vidlens-mcp`
- Version: `1.2.6`
- Transport: `stdio`

## Trust breakdown

How this component scores in each security and reliability category. Every signal is checked automatically from public evidence about the published package, including repeated runs of it in an isolated sandbox, and we only credit what we can confirm. Scores are 0–100 per category. Scoring method: https://verifymcp.io/docs/scoring (what has changed: https://verifymcp.io/docs/scoring/changelog)

Scored 2026-08-03.

- **Supply Chain Security**: 87/100
  - No malware found by supply-chain analysis.
  - Only part of the dependency tree could be resolved (151 of 155), so this covers what we could see, not the whole tree.
  - No install/post-install scripts declared.
  - Only part of the dependency tree could be resolved (151 of 155), so this covers what we could see, not the whole tree.
- **Provenance & Transparency**: 19/100
  - Repository check failed: the declared repository URL returned HTTP 404.
  - Provenance check failed: no build-provenance attestation is published.
  - Clear OSI-approved license (MIT).
  - Actively maintained (last published 24 days ago).
  - Security-disclosure policy not yet verified: we couldn't inspect the source repository.
- **Schema Quality & AI Usability**: 67/100
  - AI-judged instruction clarity (good).
  - Tool/resource definitions use about 3697 tokens (~90/item across 41 items; 41 tools + 0 resources), lean.
  - Usage-examples check failed: none of the tools include examples.
- **Stability & Change Management**: 23/100
  - Stability observed for 7 of 30 days with no destabilising changes; credit accrues until the full window elapses.
- **Tool Coverage**: 76/100
  - 100% of tools have a non-trivial description (not blank, and not just the tool's name).
  - 27% of tool parameters carry a description.
- **Capabilities**: 100/100
  - Implements a supported MCP spec version (2025-11-25); the latest is 2026-07-28.

## Install

### Claude

```bash
claude mcp add rajanrengasamy-vidlens-mcp -- npx -y vidlens-mcp
```

### Codex

```bash
codex mcp add rajanrengasamy-vidlens-mcp -- npx -y vidlens-mcp
```

### opencode

```json
{
  "$schema": "https://opencode.ai/config.json",
  "mcp": {
    "rajanrengasamy-vidlens-mcp": {
      "type": "local",
      "command": [
        "npx",
        "-y",
        "vidlens-mcp"
      ],
      "enabled": true
    }
  }
}
```

### OpenClaw

```bash
openclaw mcp add rajanrengasamy-vidlens-mcp --command npx --arg -y --arg vidlens-mcp
```

### Hermes

```yaml
mcp_servers:
  rajanrengasamy-vidlens-mcp:
    command: "npx"
    args: ["-y", "vidlens-mcp"]
```

### Other

```json
{
  "mcpServers": {
    "rajanrengasamy-vidlens-mcp": {
      "command": "npx",
      "args": [
        "-y",
        "vidlens-mcp"
      ]
    }
  }
}
```

## Changelog

Every change recorded for this component, newest first. Days that predate change tracking, or that we cannot explain, say so: "we were watching and nothing happened" and "we were not watching" are different claims.

### 2026-08-03 (score 59, +3)

- [functional improvement] Stability: unverified → 0.23

### 2026-08-02 (score 56, +38)

- [security regression] Provenance: unverified → fail
- [security improvement] Install scripts: unverified → pass
- [security improvement] Known CVEs: unverified → partial
- [security improvement] Malware scan: unverified → pass
- [security] Stability: Stability not yet verified: we do not have a sandbox capture of the MCP schema this version of the package serves yet.
- [functional regression] Capabilities: pass → unverified
- [functional improvement] License: unverified → pass
- [functional improvement] Dependency health: unverified → partial
- [functional improvement] Maintenance: unverified → pass
- [functional improvement] Schema quality: unverified → good
- [functional] Licence: MIT

### 2026-08-01 (score 18, +5)

- [security] Stability: Stability not yet verified: not enough scan history yet (needs a 30-day window).
- [functional improvement] MCP protocol: unverified → pass

### 2026-07-31 (score 13, −24)

- [functional] We updated how we score, so this day's move reflects our rubric, not a change to the server

### 2026-07-27 (score 37)

First indexed and scored.

## MCP tools (41)

### `findVideos` (~96 tokens)

Search YouTube videos by intent. Returns compact ranked results with provenance and engagement hints.

Input parameters:

- `channelId` (string)
- `dryRun` (boolean)
- `duration` (string)
- `maxResults` (number)
- `order` (string)
- `publishedAfter` (string)
- `publishedBefore` (string)
- `query` (string, required): Search query
- `regionCode` (string)

### `inspectVideo` (~61 tokens)

Inspect a single video with compact metadata, normalized ratios, and transcript availability.

Input parameters:

- `dryRun` (boolean)
- `includeEngagementRatios` (boolean)
- `includeTranscriptMeta` (boolean)
- `videoIdOrUrl` (string, required)

### `inspectChannel` (~40 tokens)

Inspect a channel with summary stats and posting cadence heuristics.

Input parameters:

- `channelIdOrHandleOrUrl` (string, required)
- `dryRun` (boolean)

### `listChannelCatalog` (~84 tokens)

List a channel's recent catalog in compact creator-analysis shape.

Input parameters:

- `channelIdOrHandleOrUrl` (string, required)
- `dryRun` (boolean)
- `includeLongForm` (boolean)
- `includeShorts` (boolean)
- `maxResults` (number)
- `publishedWithinDays` (number)
- `sortBy` (string)

### `readTranscript` (~92 tokens)

Read transcript in summary, key moments, chapters, or paginated full mode with long-video safeguards.

Input parameters:

- `chunkWindowSec` (number)
- `dryRun` (boolean)
- `includeTimestamps` (boolean)
- `language` (string)
- `limit` (number)
- `mode` (string)
- `offset` (number)
- `videoIdOrUrl` (string, required)

### `readComments` (~79 tokens)

Read top-level comments with optional replies and structured provenance.

Input parameters:

- `dryRun` (boolean)
- `includeReplies` (boolean)
- `languageHint` (string)
- `maxRepliesPerThread` (number)
- `maxTopLevel` (number)
- `order` (string)
- `videoIdOrUrl` (string, required)

### `measureAudienceSentiment` (~70 tokens)

Heuristic audience sentiment analysis from comments with themes, risk signals, and quote samples.

Input parameters:

- `dryRun` (boolean)
- `includeRepresentativeQuotes` (boolean)
- `includeThemes` (boolean)
- `sampleSize` (number)
- `videoIdOrUrl` (string, required)

### `analyzeVideoSet` (~69 tokens)

Run multiple analyses across a video set with partial success, item-level errors, and provenance.

Input parameters:

- `analyses` (array, required)
- `commentsSampleSize` (number)
- `dryRun` (boolean)
- `transcriptMode` (string)
- `videoIdsOrUrls` (array, required)

### `expandPlaylist` (~56 tokens)

Expand a playlist into individual videos for downstream analysis and batch workflows.

Input parameters:

- `dryRun` (boolean)
- `includeVideoMeta` (boolean)
- `maxVideos` (number)
- `playlistUrlOrId` (string, required)

### `analyzePlaylist` (~73 tokens)

Expand and analyze a playlist in one call with partial success and aggregate benchmarks.

Input parameters:

- `analyses` (array, required)
- `commentsSampleSize` (number)
- `dryRun` (boolean)
- `maxVideos` (number)
- `playlistUrlOrId` (string, required)
- `transcriptMode` (string)

### `importPlaylist` (~139 tokens)

Import a playlist into the local transcript knowledge base for semantic search in Claude Desktop.

Input parameters:

- `activateCollection` (boolean)
- `chunkOverlapSec` (number)
- `chunkSizeSec` (number)
- `chunkStrategy` (string)
- `collectionId` (string)
- `dryRun` (boolean)
- `embeddingDimensions` (number)
- `embeddingModel` (string)
- `embeddingProvider` (string)
- `label` (string)
- `language` (string)
- `maxVideos` (number)
- `playlistUrlOrId` (string, required)
- `reindexExisting` (boolean)

### `importVideos` (~130 tokens)

Import one or more videos into a local transcript collection for later semantic search.

Input parameters:

- `activateCollection` (boolean)
- `chunkOverlapSec` (number)
- `chunkSizeSec` (number)
- `chunkStrategy` (string)
- `collectionId` (string)
- `dryRun` (boolean)
- `embeddingDimensions` (number)
- `embeddingModel` (string)
- `embeddingProvider` (string)
- `label` (string)
- `language` (string)
- `reindexExisting` (boolean)
- `videoIdsOrUrls` (array, required)

### `searchTranscripts` (~77 tokens)

Search imported transcript-text collections with active-collection focus by default and return ranked timestamped chunks.

Input parameters:

- `collectionId` (string)
- `maxResults` (number)
- `minScore` (number)
- `query` (string, required)
- `useActiveCollection` (boolean)
- `videoIdFilter` (array)

### `listCollections` (~33 tokens)

List local transcript collections, active search focus, and indexed video/chunk counts.

Input parameters:

- `includeVideoList` (boolean)

### `setActiveCollection` (~33 tokens)

Set the default collection that transcript search should focus on when collectionId is omitted.

Input parameters:

- `collectionId` (string, required)

### `clearActiveCollection` (~23 tokens)

Clear the active collection so transcript search fans back out across all collections.

### `checkImportReadiness` (~59 tokens)

Diagnose whether a video is importable, including transcript availability, sparse-transcript warnings, and yt-dlp/API issues.

Input parameters:

- `dryRun` (boolean)
- `language` (string)
- `videoIdOrUrl` (string, required)

### `buildVideoDossier` (~86 tokens)

Build a one-shot video dossier with core metadata/transcript readiness, optionally extended with comments, sentiment, and provenance.

Input parameters:

- `commentSampleSize` (number)
- `dryRun` (boolean)
- `includeComments` (boolean)
- `includeSentiment` (boolean)
- `includeTranscriptSummary` (boolean)
- `videoIdOrUrl` (string, required)

### `checkSystemHealth` (~47 tokens)

Check setup and provider health: yt-dlp, YouTube API, Gemini embeddings, and local storage.

Input parameters:

- `dryRun` (boolean)
- `runLiveChecks` (boolean)

### `removeCollection` (~26 tokens)

Delete a local transcript collection and its search index.

Input parameters:

- `collectionId` (string, required)

### `scoreHookPatterns` (~51 tokens)

Heuristically score first-30-second hooks across one or more videos.

Input parameters:

- `dryRun` (boolean)
- `hookWindowSec` (number)
- `videoIdsOrUrls` (array, required)

### `researchTagsAndTitles` (~63 tokens)

Research title structures, keywords, and tag patterns around a seed topic.

Input parameters:

- `dryRun` (boolean)
- `language` (string)
- `maxExamples` (number)
- `regionCode` (string)
- `seedTopic` (string, required)

### `compareShortsVsLong` (~56 tokens)

Compare recent Shorts vs long-form performance for a channel and suggest a format mix.

Input parameters:

- `channelIdOrHandleOrUrl` (string, required)
- `dryRun` (boolean)
- `lookbackDays` (number)

### `recommendUploadWindows` (~67 tokens)

Recommend upload windows from recent publishing history for a given timezone.

Input parameters:

- `channelIdOrHandleOrUrl` (string, required)
- `dryRun` (boolean)
- `lookbackDays` (number)
- `timezone` (string, required): IANA timezone, e.g. Australia/Sydney

### `discoverNicheTrends` (~147 tokens)

Discover what's trending in a niche right now. Returns top-performing and recent videos, momentum signals (accelerating/steady/decelerating), saturation analysis, content gap opportunities, keyword patterns, and format breakdown. Grounded in YouTube search data with honest limitations disclosed.

Input parameters:

- `dryRun` (boolean)
- `lookbackDays` (number)
- `maxResults` (number)
- `niche` (string, required): The niche or topic to explore, e.g. 'AI coding tools', 'home espresso', 'Kubernetes tutorials'
- `regionCode` (string): ISO 3166-1 alpha-2 country code, e.g. US, AU, DE

### `exploreNicheCompetitors` (~111 tokens)

Discover active channels in a niche by analyzing who ranks in YouTube search results. Returns channel-level stats, top videos, and a landscape summary. Useful for competitive reconnaissance before entering a niche.

Input parameters:

- `dryRun` (boolean)
- `maxChannels` (number)
- `niche` (string, required): The niche or topic to explore, e.g. 'home lab networking', 'meal prep for beginners'
- `regionCode` (string): ISO 3166-1 alpha-2 country code

### `downloadAsset` (~117 tokens)

Download a YouTube video, audio track, or thumbnail to local storage. Returns asset manifest entry with file path. Does NOT perform visual indexing — this is honest file storage.

Input parameters:

- `format` (string, required): What to download. best_video = highest quality video+audio, best_audio = audio only, thumbnail = YouTube thumbnail image, worst_video = smallest video for previews
- `maxSizeMb` (number): Max download size in MB (default 500)
- `videoIdOrUrl` (string, required): YouTube video ID or URL

### `listMediaAssets` (~65 tokens)

List locally stored media assets. Filter by video or kind. Shows file paths, sizes, and manifest metadata.

Input parameters:

- `kind` (string): Filter by asset kind
- `limit` (number)
- `videoIdOrUrl` (string): Filter to assets for this video

### `removeMediaAsset` (~79 tokens)

Remove stored media assets. Specify assetId to remove one, or videoIdOrUrl to remove all assets for a video.

Input parameters:

- `assetId` (string): Specific asset ID to remove
- `deleteFiles` (boolean): Also delete files from disk (default true)
- `videoIdOrUrl` (string): Remove all assets for this video

### `extractKeyframes` (~138 tokens)

Extract keyframe images from a locally downloaded video at regular intervals using ffmpeg. Requires the video to be downloaded first via downloadAsset. Does NOT do visual search or classification — produces raw frame images.

Input parameters:

- `imageFormat` (string): Output image format (default jpg)
- `intervalSec` (number): Extract one frame every N seconds (default 30)
- `maxFrames` (number): Maximum frames to extract (default 20)
- `videoIdOrUrl` (string, required): Video ID or URL (must have a local video asset)
- `width` (number): Image width in pixels, height auto-scaled (default 640)

### `mediaStoreHealth` (~31 tokens)

Check health of the local media store: disk usage, asset counts, ffmpeg/yt-dlp availability.

### `indexVisualContent` (~231 tokens)

Build a real visual index for a video using extracted frames, Apple Vision OCR, Apple Vision feature prints, and optional Gemini frame descriptions. Returns frame evidence with local image paths.

Input parameters:

- `autoDownload` (boolean): Automatically download a small local video copy if none exists (default true)
- `downloadFormat` (string): Video format used if auto-download is needed (default worst_video)
- `dryRun` (boolean)
- `forceReindex` (boolean): Re-run OCR/description analysis even if frames are already indexed
- `imageFormat` (string)
- `includeGeminiDescriptions` (boolean): Use Gemini to describe each frame when a Gemini key is configured
- `includeGeminiEmbeddings` (boolean): Generate Gemini embeddings over OCR/description text for semantic retrieval (default true when Gemini key is available)
- `intervalSec` (number): Frame sampling interval in seconds (default 20)
- `maxFrames` (number): Maximum frames to analyze (default 12)
- `videoIdOrUrl` (string, required): Video ID or URL to index visually
- `width` (number)

### `searchVisualContent` (~240 tokens)

Search the actual visual content of a video or your indexed frame library. Uses Apple Vision OCR, optional Gemini frame descriptions, and optional Gemini semantic embeddings. Always returns frame/image evidence with timestamps.

Input parameters:

- `autoDownload` (boolean)
- `autoIndexIfNeeded` (boolean): If scoped to a video and no visual index exists yet, build it automatically (default true)
- `downloadFormat` (string)
- `dryRun` (boolean)
- `imageFormat` (string)
- `includeGeminiDescriptions` (boolean)
- `includeGeminiEmbeddings` (boolean)
- `intervalSec` (number): Frame interval to use if auto-indexing is triggered
- `maxFrames` (number): Frame cap to use if auto-indexing is triggered
- `maxResults` (number)
- `minScore` (number)
- `query` (string, required): Visual search query, e.g. 'whiteboard diagram' or 'slide that says title research checklist'
- `videoIdOrUrl` (string): Optional video scope. If provided, the server can auto-index this video if needed.
- `width` (number)

### `findSimilarFrames` (~108 tokens)

Find frames that visually look like a reference frame using Apple Vision image feature prints. Accepts a frame assetId or a direct framePath and returns image-backed matches.

Input parameters:

- `assetId` (string): Reference keyframe asset ID
- `dryRun` (boolean)
- `framePath` (string): Reference image path on disk
- `maxResults` (number)
- `minSimilarity` (number)
- `videoIdOrUrl` (string): Optional video scope for similarity search

### `importComments` (~154 tokens)

Import a video's comments into the local comment knowledge base for semantic search. Fetches comments via the existing comment pipeline and indexes them for searchComments.

Input parameters:

- `activateCollection` (boolean): Set as active comment collection (default: true)
- `collectionId` (string): Custom collection ID (default: comments-{videoId})
- `dryRun` (boolean)
- `includeReplies` (boolean): Include reply threads (default: true)
- `label` (string): Human-readable collection label
- `maxRepliesPerThread` (number)
- `maxTopLevel` (number): Max top-level comments to fetch
- `order` (string)
- `videoIdOrUrl` (string, required): YouTube video URL or ID

### `searchComments` (~91 tokens)

Search imported comment collections with ranked results. Returns matching comments with author, like count, and relevance score. Uses active comment collection by default.

Input parameters:

- `collectionId` (string): Specific collection to search
- `maxResults` (number)
- `minScore` (number)
- `query` (string, required): Search query
- `useActiveCollection` (boolean)
- `videoIdFilter` (array)

### `listCommentCollections` (~32 tokens)

List local comment collections, active search focus, and indexed comment counts.

Input parameters:

- `includeVideoList` (boolean)

### `setActiveCommentCollection` (~35 tokens)

Set the default comment collection that searchComments should focus on when collectionId is omitted.

Input parameters:

- `collectionId` (string, required)

### `clearActiveCommentCollection` (~26 tokens)

Clear the active comment collection so comment search fans back out across all comment collections.

### `removeCommentCollection` (~27 tokens)

Delete a local comment collection and its search index.

Input parameters:

- `collectionId` (string, required)

### `exploreYouTube` (~455 tokens)

ALWAYS use this tool FIRST when the user wants to find, discover, or explore YouTube videos. Do NOT use web search for YouTube video discovery — use this tool instead. Searches YouTube directly with intelligent multi-query ranking and parallel enrichment. Returns ranked videos with transcript summaries, key moments, and readiness for follow-up. IMPORTANT: When results contain benchmark scores, statistics, or comparisons, ALWAYS create visual charts and infographics (bar charts, comparison tables) from the data immediately — do not wait for the user to ask. Use 'specific' mode to find one best video. Use 'explore' for topic discovery across creators. Depth: 'quick' for metadata, 'standard' for key moments + transcript summaries, 'deep' for background indexing.

Input parameters:

- `creator` (string): Channel name or handle — hard constraint for ranking (e.g. 'MKBHD', '@mkbhd')
- `depth` (string): quick = metadata only, standard = + key moments, deep = + background transcript/visual indexing. Default: standard.
- `dryRun` (boolean)
- `freshness` (string): Time window for results. Default: any.
- `maxResults` (number): Default: 1 for specific, 8 for explore
- `mode` (string): specific = find one best video, explore = discover multiple. Auto-detected from maxResults if omitted.
- `persona` (string): User's role or context (e.g. 'builder', 'marketer', 'PM'). Passed through for response framing.
- `prepareTranscriptSearch` (boolean): Fire background transcript import for selected videos. Default: true for deep, false otherwise.
- `prepareVisualSearch` (boolean): Fire background visual indexing for the top result. Default: false.
- `query` (string): Natural-language search query. Tool constructs 2-3 search variations. Provide this OR 'searches'.
- `searches` (array): 1-5 pre-constructed search queries. Takes precedence over 'query'. Use for precise multi-angle searches.
- `selectionStrategy` (string): best_match = top scores, diverse_set = spread across creators. Default: best_match for specific, diverse_set for explore.

## Diagnostics

Captured diagnostic sections: Provenance, Dependencies. The full working is on the page: https://verifymcp.io/servers/rajanrengasamy-vidlens-mcp/vidlens-mcp#diagnostics

## Score history

- 2026-08-03: 59
- 2026-08-02: 56
- 2026-08-01: 18
- 2026-07-31: 13
- 2026-07-30: 37
- 2026-07-28: 37
- 2026-07-27: 37

## Links

- npm package: https://www.npmjs.com/package/vidlens-mcp
- Socket report: https://socket.dev/npm/package/vidlens-mcp
- Changelog RSS feed: https://verifymcp.io/servers/rajanrengasamy-vidlens-mcp/vidlens-mcp/changelog.xml
- Changelog JSON feed: https://verifymcp.io/servers/rajanrengasamy-vidlens-mcp/vidlens-mcp/changelog.json
- HTML version of this page: https://verifymcp.io/servers/rajanrengasamy-vidlens-mcp/vidlens-mcp
