Skip to content
LangChain

bharatlas mcp for LangChain

io.github.urbanmorph/bharatlas-mcp

Query India's open geo data. Locate, filter, nearby search across layers.

client:LangChain transport:stdio runtime:npm

Install bharatlas mcp in LangChain

pip install langchain-mcp-adapters

from langchain_mcp_adapters.client import MultiServerMCPClient

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

tools = await client.get_tools()

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

bharatlas mcp in other clients