Skip to content
LangChain

search-rotation for LangChain

io.github.robin-bially/search-rotation

MCP server for web search and page extraction across the free tiers of several providers

client:LangChain transport:stdio runtime:npm

Install search-rotation in LangChain

pip install langchain-mcp-adapters

from langchain_mcp_adapters.client import MultiServerMCPClient

client = MultiServerMCPClient({
        "search-rotation": {
            "transport": "stdio",
            "command": "npx",
            "args": ["-y", "search-rotation"],
        }
})

tools = await client.get_tools()

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

search-rotation in other clients