Skip to content
LangChain

CityBotMagic for LangChain

com.citybotmagic/local-business-data

US local businesses, services and source-cited prices, city by city. Free, no API key.

client:LangChain transport:streamable-http tools:5

Install CityBotMagic in LangChain

pip install langchain-mcp-adapters

from langchain_mcp_adapters.client import MultiServerMCPClient

client = MultiServerMCPClient({
        "local-business-data": {
            "transport": "streamable_http",
            "url": "https://citybotmagic.com/mcp",
        }
})

tools = await client.get_tools()

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

What LangChain can do once it is connected

CityBotMagic in other clients