LockTrip Hotels for LangChain
com.locktrip/hotels
Search hotels worldwide, compare rooms, prices and cancellation terms, then get a link to book.
client:LangChain
transport:streamable-http
tools:17
Install LockTrip Hotels in LangChain
pip install langchain-mcp-adapters
from langchain_mcp_adapters.client import MultiServerMCPClient
client = MultiServerMCPClient({
"hotels": {
"transport": "streamable_http",
"url": "https://locktrip.com/mcp/rpc",
}
})
tools = await client.get_tools()
get_tools() returns the server's tools as LangChain tools, ready for an agent. LangChain docs