Instagram Post Scraper for LangChain
io.github.sumitrmardy/instagram-post-scraper
Instagram post and reel likes, comments, views, caption, date and author from post URLs.
client:LangChain
transport:streamable-http
Install Instagram Post Scraper in LangChain
pip install langchain-mcp-adapters
from langchain_mcp_adapters.client import MultiServerMCPClient
client = MultiServerMCPClient({
"instagram-post-scraper": {
"transport": "streamable_http",
"url": "https://mcp.apify.com/?tools=sumitr_mardy/instagram-post-scraper",
}
})
tools = await client.get_tools()
get_tools() returns the server's tools as LangChain tools, ready for an agent. LangChain docs