Skip to content
LangChain

KDPTop for LangChain

com.kdptop/kdptop

Amazon KDP book market data: best sellers, rank history, sales estimates, niches, authors.

client:LangChain transport:streamable-http tools:32

Install KDPTop in LangChain

pip install langchain-mcp-adapters

from langchain_mcp_adapters.client import MultiServerMCPClient

client = MultiServerMCPClient({
        "kdptop": {
            "transport": "streamable_http",
            "url": "https://kdptop.com/api/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

All 32 tools →

KDPTop in other clients