Skip to content
LangChain

MapScale for LangChain

io.github.realtytable/mapscale

Thailand maps, geocoding, autocomplete, routing, and MapLibre quickstarts.

client:LangChain transport:streamable-http tools:27

Install MapScale in LangChain

pip install langchain-mcp-adapters

from langchain_mcp_adapters.client import MultiServerMCPClient

client = MultiServerMCPClient({
        "mapscale": {
            "transport": "streamable_http",
            "url": "https://api.mapscale.io/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

All 27 tools →

MapScale in other clients