Skip to content

Global Trade Codes and Countries MCP for LangChain

io.github.theluckystrike/restcountries-global-trade-codes-mcp

ISO-3166 country codes, ISO-4217 currencies, regions, calling codes, and World Bank trade profiles.

client:LangChain transport:streamable-http tools:5

Install Global Trade Codes and Countries MCP in LangChain

pip install langchain-mcp-adapters

from langchain_mcp_adapters.client import MultiServerMCPClient

client = MultiServerMCPClient({
        "restcountries-global-trade-codes-mcp": {
            "transport": "streamable_http",
            "url": "https://restcountries-global-trade-codes-mcp.lipmichal.workers.dev/mcp",
        }
})

tools = await client.get_tools()

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

What LangChain can do once it is connected

Global Trade Codes and Countries MCP in other clients