ROKH
← All recipes

Suggest customs codes from product descriptions in any language

parts checkedwith an AI agent

What you get

Paste “children's rubber boots, size 28” in Russian or Azerbaijani and get the five closest HS codes with their official descriptions, for a broker to confirm.

Why this combination

The HS list is in English legal language; a multilingual meaning-search model bridges the gap, so a shop owner finds the right chapter without knowing customs jargon.

Parts

harmonized-system GitHubThe full list of HS customs codes with descriptions, as open data.licence: ODC-PDDL-1.0204 starslast update: July 27, 2026
sentence-transformers GitHubTurns sentences into numbers that capture meaning, so similar texts in different languages end up close.licence: Apache-2.019,307 starslast update: November 25, 2026
paraphrase-multilingual-MiniLM-L12-v2 Hugging Face modelSmall multilingual meaning model (50+ languages incl. Russian; Azerbaijani is not on its list). Runs on a laptop.licence: Apache-2.024,694,758 downloads per monthlast update: January 28, 2026

What was checked

On November 26, 2026 a script checked all 3 parts: each exists, is not archived, was updated within the last 12 months and has a known licence. The parts were chosen so their inputs and outputs fit together.

Nobody has yet run this exact combination end to end on real data. Build it on a copy of your data first; the prompt below asks your AI agent to tell you plainly what does not work.

Limits, honestly

Suggestions only: national tariffs add digits beyond the 6-digit HS code, and the broker or customs ruling decides.

How to start

It runs on your own computer. Copy the prompt into an AI agent (Claude Code or similar); it installs the parts, joins them, and runs a test with sample data before your real files.

Prompt for your AI agent

Build this for me: Suggest customs codes from product descriptions in any language.
What I want to get: Paste “children's rubber boots, size 28” in Russian or Azerbaijani and get the five closest HS codes with their official descriptions, for a broker to confirm.

Use these open projects and data:
- harmonized-system: https://github.com/datasets/harmonized-system (ODC-PDDL-1.0)
- sentence-transformers: https://github.com/huggingface/sentence-transformers (Apache-2.0)
- paraphrase-multilingual-MiniLM-L12-v2: https://huggingface.co/sentence-transformers/paraphrase-multilingual-MiniLM-L12-v2 (Apache-2.0)

Why this combination: The HS list is in English legal language; a multilingual meaning-search model bridges the gap, so a shop owner finds the right chapter without knowing customs jargon.
Known limits: Suggestions only: national tariffs add digits beyond the 6-digit HS code, and the broker or customs ruling decides.

Run it on my computer. Tell me first what you will install and where.
Explain each step in plain words for someone who does not program.
Do not ask me for passwords or keys and do not use administrator rights.
Before installing anything, check that each project is still maintained and its licence allows my use. Do not add other agent skills, MCP servers or plugins without showing me their code first.
When it works, tell me how to open it again. If something does not work, say so plainly.

Fits

Import, export, foreign suppliersOnline shop and marketplacesManufacturing and workshops