Skip to content
LangChain

swisstopo mcp for LangChain

io.github.malkreide/swisstopo-mcp

Swiss federal geodata: geocoding, height, STAC, WMTS, OEREB and more

client:LangChain transport:stdio runtime:pypi

Install swisstopo mcp in LangChain

pip install langchain-mcp-adapters

from langchain_mcp_adapters.client import MultiServerMCPClient

client = MultiServerMCPClient({
        "swisstopo-mcp": {
            "transport": "stdio",
            "command": "uvx",
            "args": ["swisstopo-mcp"],
        }
})

tools = await client.get_tools()

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

swisstopo mcp in other clients