directrate: hotel rates for LangChain
io.github.directrate/hotel-rates-mcp
Live hotel rates, member rates and award points from 11 chains, beside 5 booking sites.
client:LangChain
transport:streamable-http
Install directrate: hotel rates in LangChain
pip install langchain-mcp-adapters
from langchain_mcp_adapters.client import MultiServerMCPClient
client = MultiServerMCPClient({
"hotel-rates-mcp": {
"transport": "streamable_http",
"url": "https://api.directrate.dev/mcp",
}
})
tools = await client.get_tools()
get_tools() returns the server's tools as LangChain tools, ready for an agent. LangChain docs