Skip to content
LangChain

Un Sdg for LangChain

io.github.pipeworx-io/un-sdg

UN Sustainable Development Goals (SDG) Indicators MCP — UN Statistics Division.

client:LangChain transport:streamable-http

Install Un Sdg in LangChain

pip install langchain-mcp-adapters

from langchain_mcp_adapters.client import MultiServerMCPClient

client = MultiServerMCPClient({
        "un-sdg": {
            "transport": "streamable_http",
            "url": "https://gateway.pipeworx.io/un-sdg/mcp",
        }
})

tools = await client.get_tools()

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

Un Sdg in other clients