Skip to content
LangChain

Currency Exchange for LangChain

pro.publifye/currency

Norges Bank exchange rates for AI: 38 currencies against NOK since ~1980, plus buying power

client:LangChain transport:streamable-http

Install Currency Exchange in LangChain

pip install langchain-mcp-adapters

from langchain_mcp_adapters.client import MultiServerMCPClient

client = MultiServerMCPClient({
        "currency": {
            "transport": "streamable_http",
            "url": "https://currency.publifye.com/mcp",
        }
})

tools = await client.get_tools()

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

Currency Exchange in other clients