SearchHub for LangChain
io.github.woodcoal/searchhub
Aggregate Serper, Tavily, Exa and AnySearch behind one MCP-ready API with key rotation and quotas.
client:LangChain
transport:stdio
runtime:npm
Install SearchHub in LangChain
pip install langchain-mcp-adapters
from langchain_mcp_adapters.client import MultiServerMCPClient
client = MultiServerMCPClient({
"searchhub": {
"transport": "stdio",
"command": "npx",
"args": ["-y", "searchhub"],
}
})
tools = await client.get_tools()
get_tools() returns the server's tools as LangChain tools, ready for an agent. LangChain docs