Skip to content
LangChain

AffiliateSpy for LangChain

io.github.mattrow/affiliatespy

Find and recruit the creators and sites already promoting your competitors, with proof.

client:LangChain transport:streamable-http

Install AffiliateSpy in LangChain

pip install langchain-mcp-adapters

from langchain_mcp_adapters.client import MultiServerMCPClient

client = MultiServerMCPClient({
        "affiliatespy": {
            "transport": "streamable_http",
            "url": "https://www.affiliatespy.io/api/mcp",
        }
})

tools = await client.get_tools()

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

AffiliateSpy in other clients