Skip to content
LangChain

PyPIStats Python Downloads MCP for LangChain

io.github.theluckystrike/pypistats-python-downloads-mcp

Live PyPI Python download velocity, trends, Python version adoption, and OS breakdown.

client:LangChain transport:streamable-http

Install PyPIStats Python Downloads MCP in LangChain

pip install langchain-mcp-adapters

from langchain_mcp_adapters.client import MultiServerMCPClient

client = MultiServerMCPClient({
        "pypistats-python-downloads-mcp": {
            "transport": "streamable_http",
            "url": "https://pypistats-python-downloads-mcp.lipmichal.workers.dev/mcp",
        }
})

tools = await client.get_tools()

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

PyPIStats Python Downloads MCP in other clients