Klupt Instagram API for LangChain
io.klupt/instagram
Instagram followers and following in real newest-first order, plus profiles, posts and reels.
client:LangChain
transport:streamable-http
tools:32
Install Klupt Instagram API in LangChain
pip install langchain-mcp-adapters
from langchain_mcp_adapters.client import MultiServerMCPClient
client = MultiServerMCPClient({
"instagram": {
"transport": "streamable_http",
"url": "https://api.klupt.io/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
- get_profile
- get_following
- get_followers
- get_posts
- search_users
- get_reels
- get_tagged_posts
- get_reposts
- get_stories
- get_highlights
- get_account_details
- get_similar_accounts
- get_post_stats
- get_post
- get_comments
- get_post_likers
- get_comment_replies
- get_comment_likers
- get_story
- get_highlight_stories
- search_hashtags
- search_places
- search_audio
- get_hashtag