Skip to content
LangChain

Instagram MCP for LangChain

io.github.laptimehq/instagram-mcp

Instagram profiles, reels with exact views, hashtags, comments and reel transcripts for AI agents.

client:LangChain transport:streamable-http

Install Instagram MCP in LangChain

pip install langchain-mcp-adapters

from langchain_mcp_adapters.client import MultiServerMCPClient

client = MultiServerMCPClient({
        "instagram-mcp": {
            "transport": "streamable_http",
            "url": "https://mcp.apify.com/?tools=fetch-actor-details,get-actor-run,get-dataset-items,laptime/instagram-profile-scraper,laptime/instagram-reels-scraper,laptime/instagram-hashtag-scraper,laptime/instagram-comments-scraper,laptime/instagram-reels-transcript-scraper",
        }
})

tools = await client.get_tools()

get_tools() returns the server's tools as LangChain tools, ready for an agent. LangChain docs

Instagram MCP in other clients