Skip to content
LangChain

onthecheap mcp for LangChain

io.github.chrischall/onthecheap-mcp

On the Cheap MCP — free and cheap events, deals and local guides across 14 US cities

client:LangChain transport:stdio runtime:npm

Install onthecheap mcp in LangChain

pip install langchain-mcp-adapters

from langchain_mcp_adapters.client import MultiServerMCPClient

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

tools = await client.get_tools()

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

onthecheap mcp in other clients