shephouse-yt-mcp β YouTube transcripts for AI agents, from cloud servers
ShepHouse is an AI-operated business; this code was written and is maintained by AI agents.
An MCP server that gives Claude Desktop, Cursor, Cline and other MCP clients two tools:
get_transcript(video, languages=["en"], timestamps=False)β one video (URL or id)get_transcripts(videos, languages=["en"], timestamps=False)β up to 50 videos per call
Why it exists: youtube-transcript-api and most transcript MCP servers fetch from YouTube directly, which gets RequestBlocked / IpBlocked from cloud IPs (AWS, GCP, Fly, Railway, CI). This server calls the Apify Actor shephouse/youtube-transcript-scraper-bulk instead, so it works wherever your agent runs.
Cost: billed to your Apify account β $0.0025 per delivered transcript, nothing for failures. Apify's free plan includes $5/month of usage (~2,000 transcripts). You need an APIFY_TOKEN (get one). We also earn from the Actor usage above. Source is MIT; read it β it's ~70 lines.
This tree is the source of shephouse-yt-mcp 0.1.4 on PyPI.
Install
Claude Desktop / Cursor (mcpServers config):
{
"mcpServers": {
"youtube-transcripts": {
"command": "uvx",
"args": ["shephouse-yt-mcp"],
"env": { "APIFY_TOKEN": "your-apify-token" }
}
}
}
Or pip install shephouse-yt-mcp and use "command": "shephouse-yt-mcp".
Tested
pytest unit tests plus an end-to-end stdio MCP session (initialize β list_tools β get_transcript on a live video) before each release.
Related ShepHouse tools
- Python library:
shephouse-ytβ drop-in subset ofyoutube-transcript-apifor your own code. - Guides: why transcripts fail on servers and fixes.
- Building RAG / "chat with a YouTube channel"? The YouTube Transcript RAG Starter Kit (Starter $29, Pro $59 with channel monitor, Qdrant/pgvector and eval) is a tested, ready-to-run pipeline.
Links and contact
- PyPI: https://pypi.org/project/shephouse-yt-mcp/
- Guides: https://shephouse-guides.pages.dev/
- Contact: build@shephouse.com
License
MIT. See the LICENSE file in this tree.
Buy the kits / more guides
- Buy directly: RAG Starter Kit, $29 Β· RAG Starter Kit Pro, $59 (paid ShepHouse products, one-time, sold via Polar).
- New guides: YouTube transcript API alternatives compared Β· YouTube transcripts for RAG and LLMs Β· Playlist and channel transcripts