Skip to content
LangChain

linkedin posts for LangChain

io.github.johnisanerd/linkedin-posts

Scrape and analyze public LinkedIn posts as structured JSON via the Apify LinkedIn Posts API.

client:LangChain transport:streamable-http

Install linkedin posts in LangChain

pip install langchain-mcp-adapters

from langchain_mcp_adapters.client import MultiServerMCPClient

client = MultiServerMCPClient({
        "linkedin-posts": {
            "transport": "streamable_http",
            "url": "https://mcp.apify.com/?tools=johnvc/linkedin-posts-api",
        }
})

tools = await client.get_tools()

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

linkedin posts in other clients