Spatial India for LangChain
com.spatialindia/spatial-india
District-level open data for India — Census, NFHS-5, NCRB, RBI and more, joined onto one geography.
client:LangChain
transport:streamable-http
tools:6
Install Spatial India in LangChain
pip install langchain-mcp-adapters
from langchain_mcp_adapters.client import MultiServerMCPClient
client = MultiServerMCPClient({
"spatial-india": {
"transport": "streamable_http",
"url": "https://api.spatialindia.com/mcp",
}
})
tools = await client.get_tools()
get_tools() returns the server's tools as LangChain tools, ready for an agent. LangChain docs