Labsco
icraft2170 logo

Stophy

from icraft2170

YouTube data MCP server for AI agents to search videos, fetch transcripts, read comments, and inspect channels, playlists, and video details.

πŸ”₯πŸ”₯πŸ”₯βœ“ VerifiedAccount requiredNeeds API keys

MCP Server

Use Stophy as hosted MCP tools for YouTube search, transcripts, comments, channels, playlists, suggestions, and credits.

Copy MarkdownOpen

Stophy exposes YouTube search, transcripts, comments, channels, playlists, suggestions, and credits as MCP tools.

You can connect in two ways:

  • Hosted HTTP MCP: connect directly to Stophy's hosted Streamable HTTP endpoint.

  • Local npm server: run @stophy/mcp locally with your API key in the environment.

Hosted HTTP MCP

Recommended: header-based auth

Connect to the base hosted MCP endpoint and pass your API key in a standard Authorization header:

https://api.stophy.dev/v1/mcp
Authorization: Bearer $STOPHY_API_KEY

This keeps your key out of the URL. Use this method whenever your MCP client can send custom request headers.

Fallback: path-based auth (compatibility only)

For MCP clients that cannot send custom headers, Stophy also accepts the API key in the URL path:

https://api.stophy.dev/v1/mcp/st_YOUR_API_KEY

This puts your API key directly in the URL, where it can leak through browser history, Referer headers, screenshots, and server, proxy, or CDN access logs. Only use path-based auth when header auth is impossible. Prefer a key reserved for this purpose and rotate it regularly.

Local npm MCP server

env STOPHY_API_KEY=st_YOUR_API_KEY npx -y @stophy/mcp

Get your API key from stophy.dev/dashboard.

Tools

Tool What it does stophy_search_videos Search YouTube by keyword with filters for type, date, duration, and sort order stophy_get_video Get details, transcript, comments, replies, or live chat for a video URL stophy_get_channel Browse a channel's videos, Shorts, playlists, or about page stophy_get_playlist Fetch videos in a playlist with metadata stophy_get_suggestions Get autocomplete suggestions for a partial query stophy_get_credits Check your remaining credit balance

Each tool call costs one credit. stophy_get_credits is free.

What changed on the hosted server

The hosted Stophy API now includes a Streamable HTTP MCP route at /v1/mcp.

  • Tool execution uses the same credit metering, refunds, request logging, and normalized response shapes as the REST API.

  • The REST API and MCP tools now share the same validation schemas, so accepted parameters stay aligned across both surfaces.

  • Path-based MCP auth is supported for clients that cannot send Authorization headers.

  • Concurrency limiting keys hosted MCP path-auth requests by API key instead of grouping them under a shared IP bucket.

Environment variables

Variable Required Description STOPHY_API_KEY Yes Your Stophy API key from stophy.dev/dashboard

Python SDK

The stophy package for Python: a client for search, video details, transcripts, comments, channels, and playlists.

CLI

Use Stophy from the terminal for YouTube search, transcripts, comments, channels, and playlists.