Skip to content
LangChain

Customs Tariff Lookup (UK Trade Tariff + US HTS) for LangChain

io.github.pcp183/hs-tariff

UK Trade Tariff and US HTS duty rates by HS code or keyword, with UK preferences. x402.

client:LangChain transport:streamable-http tools:1

Install Customs Tariff Lookup (UK Trade Tariff + US HTS) in LangChain

pip install langchain-mcp-adapters

from langchain_mcp_adapters.client import MultiServerMCPClient

client = MultiServerMCPClient({
        "hs-tariff": {
            "transport": "streamable_http",
            "url": "https://hs-tariff-production.up.railway.app/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

Customs Tariff Lookup (UK Trade Tariff + US HTS) in other clients