Look up HS / tariff codes (US HTS, EU CN)
lookup_hs_codeUse this when you need the customs tariff code for a product description, or the official description, hierarchy, unit and (US) general duty rate of a code, for imports, exports, landed-cost estimates and invoices. Schedules: "us" = Harmonized Tariff Schedule of the United States (USITC, current revision, 10 digits, general/special/column-2 duty rates) and "eu" = EU Combined Nomenclature (CN 2026, 8 digits, supplementary units; duty rates live in TARIC and are not included). The first 6 digits of either code are the international HS code. Text queries return a deterministic ranking by matched words (no LLM). Offline tables, refreshed yearly.
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "lookup_hs_code"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| code | No | Tariff code to describe, with or without dots/spaces, e.g. "0901.11.00.15", "090111", "0901 11 00", or a chapter "09". Provide code or query. | |
| items | No | Batch mode: up to 500 items, each with the same fields as a single call. Omit when validating a single value through the top-level fields. | |
| query | No | Product description to find codes for, e.g. "roasted coffee not decaffeinated", "lithium-ion batteries". Provide code or query. | |
| schedule | No | Tariff schedule: "us" (Harmonized Tariff Schedule of the United States, 10 digits) or "eu" (EU Combined Nomenclature, 8 digits). | |
| maxResults | No | Maximum matches returned per query item and children listed per code (1–50, default 10). |