Skip to content
LangChain

YouTube Transcripts & Subtitles for LangChain

io.github.saulius876-lgtm/youtube-transcripts

Bulk YouTube transcripts from videos, channels, playlists or search: text, RAG chunks, SRT, VTT.

client:LangChain transport:streamable-http

Install YouTube Transcripts & 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=sauliusautomatesit/youtube-transcript-scraper",
        }
})

tools = await client.get_tools()

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

YouTube Transcripts & Subtitles in other clients