Skip to content
LangChain

REST Countries MCP by UnClick for LangChain

io.github.malamutemayhem/restcountries

Country data: flags, currencies, languages, regions, capitals, and more. No API key. By UnClick.

client:LangChain transport:stdio runtime:npm

Install REST Countries MCP by UnClick in LangChain

pip install langchain-mcp-adapters

from langchain_mcp_adapters.client import MultiServerMCPClient

client = MultiServerMCPClient({
        "restcountries": {
            "transport": "stdio",
            "command": "npx",
            "args": ["-y", "@unclick/restcountries-mcp"],
        }
})

tools = await client.get_tools()

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

REST Countries MCP by UnClick in other clients