youtube shorts for LangChain
io.github.johnisanerd/youtube-shorts
YouTube Shorts from a channel with views, likes and hashtags. Paid, on Apify's hosted MCP.
client:LangChain
transport:streamable-http
Install youtube shorts in LangChain
pip install langchain-mcp-adapters
from langchain_mcp_adapters.client import MultiServerMCPClient
client = MultiServerMCPClient({
"youtube-shorts": {
"transport": "streamable_http",
"url": "https://mcp.apify.com/?tools=johnvc/youtube-shorts-api",
}
})
tools = await client.get_tools()
get_tools() returns the server's tools as LangChain tools, ready for an agent. LangChain docs