YouTube Scraper with Transcripts for LangChain
io.github.saulius876-lgtm/youtube-scraper
YouTube videos, channels, playlists, search to JSON: views, likes, dates and full transcripts.
client:LangChain
transport:streamable-http
Install YouTube Scraper with Transcripts in LangChain
pip install langchain-mcp-adapters
from langchain_mcp_adapters.client import MultiServerMCPClient
client = MultiServerMCPClient({
"youtube-scraper": {
"transport": "streamable_http",
"url": "https://mcp.apify.com/?tools=sauliusautomatesit/youtube-scraper-api",
}
})
tools = await client.get_tools()
get_tools() returns the server's tools as LangChain tools, ready for an agent. LangChain docs