mapsi mcp for LangChain
io.github.algolayertechnologies/mapsi-mcp
Geocoding, routing, isochrone, H3, elevation and 13 more geospatial tools via OpenStreetMap.
client:LangChain
transport:stdio
runtime:npm
Install mapsi mcp in LangChain
pip install langchain-mcp-adapters
from langchain_mcp_adapters.client import MultiServerMCPClient
client = MultiServerMCPClient({
"mapsi-mcp": {
"transport": "stdio",
"command": "npx",
"args": ["-y", "mapsi-mcp"],
}
})
tools = await client.get_tools()
get_tools() returns the server's tools as LangChain tools, ready for an agent. LangChain docs