Skip to content
LangChain

npm registry mcp for LangChain

io.github.mrfentmen/npm-registry-mcp

Live npm registry data: package detail with weekly downloads, search and version history

client:LangChain transport:stdio runtime:npm

Install npm registry mcp in LangChain

pip install langchain-mcp-adapters

from langchain_mcp_adapters.client import MultiServerMCPClient

client = MultiServerMCPClient({
        "npm-registry-mcp": {
            "transport": "stdio",
            "command": "npx",
            "args": ["-y", "@mrfentmen/npm-registry-mcp"],
        }
})

tools = await client.get_tools()

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

npm registry mcp in other clients