Skip to content
LangChain

AfriRate for LangChain

com.statotec/afrirate-mcp

Exchange rates, inflation and central-bank gold prices for 28 African countries.

client:LangChain transport:streamable-http tools:10

Install AfriRate in LangChain

pip install langchain-mcp-adapters

from langchain_mcp_adapters.client import MultiServerMCPClient

client = MultiServerMCPClient({
        "afrirate-mcp": {
            "transport": "streamable_http",
            "url": "https://mcp.afrirate.statotec.com/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

AfriRate in other clients