youtube for LangChain
com.jojapi/youtube
YouTube: YouTube Data API, you can add various YouTube features to your app. Use the API for.
client:LangChain
transport:streamable-http
tools:20
Install youtube in LangChain
pip install langchain-mcp-adapters
from langchain_mcp_adapters.client import MultiServerMCPClient
client = MultiServerMCPClient({
"youtube": {
"transport": "streamable_http",
"url": "https://mcp.jojapi.com/youtube",
}
})
tools = await client.get_tools()
get_tools() returns the server's tools as LangChain tools, ready for an agent. LangChain docs
What LangChain can do once it is connected
- get_v1_auto_complete
- get_v1_search
- get_v2_trending
- get_v1_home
- get_v1_channel_details
- get_v1_channel_videos
- post_channel_videos
- get_v1_channel_playlists
- get_v1_channel_community
- get_v1_channel_channels
- get_v1_channel_search
- get_v1_video_details
- get_v2_video_details
- get_v1_video_comments
- get_v1_video_streaming_data
- get_v1_video_related_contents
- get_v1_playlist_details
- get_v1_playlist_videos
- get_v1_community_post_details
- get_v1_community_post_comments