Skip to content
LangChain

HostelMate for LangChain

io.github.hostelmate/hostelmate

Read-only access to your HostelMate hostel PMS: arrivals, bookings, payments and revenue.

client:LangChain transport:streamable-http

Install HostelMate in LangChain

pip install langchain-mcp-adapters

from langchain_mcp_adapters.client import MultiServerMCPClient

client = MultiServerMCPClient({
        "hostelmate": {
            "transport": "streamable_http",
            "url": "https://mcp.hostelmate.co/mcp",
        }
})

tools = await client.get_tools()

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

HostelMate in other clients