captapi for LangChain
io.github.cdcstream/captapi
Social media data: 85 tools across 11 platforms (YouTube, TikTok, Instagram, X & more), one key.
client:LangChain
transport:streamable-http
runtime:npm
tools:178
Install captapi in LangChain
pip install langchain-mcp-adapters
from langchain_mcp_adapters.client import MultiServerMCPClient
client = MultiServerMCPClient({
"captapi": {
"transport": "streamable_http",
"url": "https://api.captapi.com/mcp",
}
})
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
- youtube_transcript
- youtube_audio_transcript
- youtube_summarize
- youtube_video_details
- youtube_comments
- youtube_channel_details
- youtube_search
- youtube_channel_videos
- youtube_playlist_videos
- youtube_playlist
- youtube_shorts_transcript
- youtube_shorts_summarize
- youtube_shorts_details
- youtube_shorts_comments
- youtube_channel_shorts
- youtube_trending_shorts
- youtube_channel_streams
- youtube_hashtag_search
- youtube_comment_replies
- youtube_channel_playlists
- youtube_community_posts
- youtube_community_post_details
- youtube_video_sponsors
- tiktok_transcript