Opsloft/tariff-resolver

MCP server · Claude / Cursor / any MCP client

US import duties, resolved inside your AI workflow.

Since the de minimis exemption ended, every US-bound shipment needs an HTS code and a duty calculation — and the rates keep moving by executive order. tariff-resolver gives your AI assistant the actual tariff schedule: 35,000+ HTS lines, Chapter 99 additional-duty rules, MPF/HMF fees. No scraping. No stale training data.

claude mcp add tariff-resolver -- npx -y tariff-resolver
View on GitHub

Free & open source, MITWorks offlineNo API key

tariff-resolver — live demo· runs in your browser

Tools

What your assistant can do with it

Plain description HTS candidates

Top matching tariff lines with MFN/FTA rates and links to CBP CROSS classification rulings. Screen a catalog before your broker sees it.

search_hs_candidates

Code + origin + value the full duty stack

Base rate, active Chapter 99 additional duties — terminated provisions filtered — plus MPF/HMF. Structured JSON, ready to reason over.

calculate_tariff_scenario

Your codes, tracked across revisions

Watchlist your catalog's HTS codes and diff rates between schedule revisions — know when an executive order moves your margins.

watch_tariff_changes

Install

Free and open source (MIT).

Ships with a full HTS snapshot — works offline, no API key needed.

MIT licenseFull HTS snapshot includedNode.js ≥ 18

  1. Copy the command

    claude mcp add tariff-resolver -- npx -y tariff-resolver
  2. Paste it in your terminal

    Paste into the terminal where you use Claude and press Enter — it sets itself up.

  3. Ask your first question

    Your assistant now has the tariff schedule.

    Try the example prompts ↓
Other MCP clients
{"command":"npx","args":["-y","tariff-resolver"]}npmGitHub

Prompts

Try these first

SEARCH
"Find the HTS code for a men's 100% cotton t-shirt."
SCENARIO
"Calculate the tariff scenario for HTS 6109.10.00, origin China, customs value $5,000, ocean freight."
SOURCING
"Compare landed cost for $10k of vacuum flasks sourced from China vs Vietnam."
MONITOR
"Watch tariff changes for my catalog: 6109.10.00, 8507.60.00, 9617.00.10."

Early access

Hosted version

A remote MCP endpoint with an always-current schedule, tariff-change alerts to your inbox, and bulk catalog runs — no local setup. Free while in beta: email us one line about how many SKUs you import and from where.

Or open in your mail app.

Install

US import duties, resolved inside your AI workflow.

Free and open source (MIT). Works offline, no API key needed.

claude mcp add tariff-resolver -- npx -y tariff-resolver