Skip to content
LangChain

YouTube Transcript Scraper: video captions and subtitles for LangChain

io.github.bepolabs/youtube-transcripts

Feed links or IDs and receive spoken words with timings as JSON for summaries, LLMs and AI agents.

client:LangChain transport:streamable-http

Install YouTube Transcript Scraper: video captions and subtitles in LangChain

pip install langchain-mcp-adapters

from langchain_mcp_adapters.client import MultiServerMCPClient

client = MultiServerMCPClient({
        "youtube-transcripts": {
            "transport": "streamable_http",
            "url": "https://mcp.apify.com?tools=bepolabs/youtube-transcripts",
        }
})

tools = await client.get_tools()

get_tools() returns the server's tools as LangChain tools, ready for an agent. LangChain docs

YouTube Transcript Scraper: video captions and subtitles in other clients