tariff-resolver
tariff-resolver
Un servidor MCP que convierte a tu asistente de IA en una herramienta de investigación de aranceles de importación de EE. UU. — construido sobre los datos oficiales del Harmonized Tariff Schedule de USITC (dominio público del Gobierno de EE. UU., más de 35 000 líneas arancelarias).
🔍 Candidatos de código HTS a partir de descripciones de producto en lenguaje natural, con enlaces a resoluciones CBP CROSS
🧮 Componentes del coste total: tipos base MFN/FTA + aranceles adicionales del Chapter 99 (IEEPA / Section 301 / 232) + tasas MPF/HMF
📡 Seguimiento de cambios arancelarios: añade tus códigos HTS a una lista de seguimiento y compara los tipos entre revisiones del HTS
🤖 Optimizado para IA, resistente a alucinaciones: devuelve el texto real de las reglas del Chapter 99 con los tipos analizados, para que tu LLM razone sobre cadenas de excepciones reales en lugar de inventarse cifras de la era 2024

Por qué ahora: desde que terminó la exención de minimis (29 de agosto de 2025), todo envío con destino a EE. UU. necesita un código HTS y el pago de aranceles — y los tipos de 2025–26 siguen cambiando por orden ejecutiva.
Sin afiliación con ninguna agencia gubernamental. Los resultados son candidatos/estimaciones para una evaluación previa al agente de aduanas — no constituyen asesoramiento aduanero, legal ni fiscal. Las estimaciones excluyen los derechos AD/CVD.
Instalación
Requiere Node.js ≥ 18.
claude mcp add tariff-resolver -- npx -y tariff-resolverO en la configuración de cualquier cliente MCP:
{ "mcpServers": { "tariff-resolver": { "command": "npx", "args": ["-y", "tariff-resolver"] } } }Related MCP server: tariffmonitor-mcp
💡 Prueba estos prompts
Búsqueda básica: "Encuentra el código HTS para una camiseta de algodón 100 % para hombre."
Escenario completo: "Calcula el escenario arancelario para el HTS 6109.10.00, origen China, valor en aduana 5000 $, flete marítimo."
Decisión de aprovisionamiento: "Voy a importar termos de acero inoxidable por valor de 10 000 $. Compara el coste total si me abastezco desde China frente a Vietnam."
Mantente al día: "Vigila los cambios arancelarios de mi catálogo: 6109.10.00, 8507.60.00, 9617.00.10."
Herramientas
Herramienta | Qué hace |
| Descripción de producto → mejores candidatos HTS con tipos + enlaces a resoluciones CBP CROSS |
| Código HTS + origen + valor (+ peso) → JSON estructurado: tipo base MFN/FTA, reglas del Chapter 99 activas (vinculadas por nota al pie / coincidentes por origen / universales, reglas terminadas filtradas), MPF/HMF |
| Registra códigos HTS en una lista de seguimiento local |
| Compara la revisión actual del HTS con la anterior — ve exactamente qué tipos han cambiado |
| Fecha de revisión de los datos, número de filas, fuente, licencia |
Diseño
El servidor hace la recuperación; tu LLM hace el razonamiento. Las reglas del Chapter 99 se devuelven textualmente (con el adder_pct analizado cuando corresponde) para que el modelo lea las cadenas de excepciones reales en lugar de fiarse de un cálculo de caja negra. Los tipos de los sufijos estadísticos de 10 dígitos se heredan de su línea arancelaria principal. Las disposiciones terminadas se filtran y se cuentan.
Datos
Incluye una instantánea completa del HTS, obtenida de la API JSON oficial de USITC (dominio público del Gobierno de EE. UU.). Actualízala cuando quieras:
python3 scripts/fetch_hts.py # ~2 min, fails hard rather than write a partial datasetdataset_info indica la fecha de revisión contra la que se ejecutan tus consultas.
Licencia
MIT. Los datos arancelarios son una obra del Gobierno de EE. UU. (dominio público).
Available Tools
5 toolscalculate_tariff_scenarioCalculate tariff scenarioARead-only
Returns the HTS code's MFN/FTA base rate, ALL active chapter 99 rules (IEEPA/301/232 additional duties) matching the origin as verbatim text, and MPF/HMF fees. The LLM should walk the chapter-99 exception chains itself to stack the right duty layers, explain each step to the user, and always note this is an estimate.
Inputs: hts_code (required), origin_country (required), customs_value_usd (required), quantity, +2 more.
check_tariff_updatesCheck tariff changes between revisionsDRead-only
Compares the current HTS snapshot with the previously fetched one. Call without codes to check the whole watchlist. Returns each change: code, column (general/special/other/additionalDuties), old → new value.
Inputs: hts_codes.
dataset_infoDataset infoARead-only
Fetch date, source, license, row counts — use to check data freshness.
Inputs: no named parameters.
search_hs_candidatesSearch HTS code candidatesARead-only
Returns top 8-10 digit HTS code candidates (with MFN/FTA rates and CBP CROSS ruling links) for a product description. Results are CANDIDATES for pre-broker screening, not a classification ruling. IMPORTANT: the HTS uses legal terminology, not trade names — BEFORE CALLING, rewrite the product description into HTS-style material + use nouns (e.g. 'pink kids backpack' → 'travel bags of man-made fibers'; 'water bottle' → 'vacuum flask' or 'bottle of plastics'). If you get 0 results, retry with 2-3 different phrasings.
Inputs: product_description (required), limit.
watch_tariff_changesWatch HTS codes for tariff changesAIdempotent
Saves HTS codes (with optional origin) to a local watchlist. After each dataset refresh, call check_tariff_updates to see whether the rates on these codes changed. This is how you track 2025-2026 tariff volatility without manual re-checking.
Inputs: hts_codes (required), origin_country.
Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections.
Loading tool schema changelog…
TDQS
Scored across 5 tools
Each tool has a clearly distinct role: candidate search, detailed scenario calculation, watchlist management, update checking, and dataset metadata. Even the paired watch/check tools are unambiguous because one saves codes and the other compares snapshots.
Four tools follow a consistent verb_noun pattern: search_hs_candidates, calculate_tariff_scenario, watch_tariff_changes, check_tariff_updates. dataset_info breaks the pattern as a noun-only name, which is a minor deviation but not confusing.
Five tools is well-scoped for a focused tariff-resolution server. Each tool covers a distinct part of the workflow without redundancy or unnecessary breadth.
The core workflow is covered: search candidates, calculate duty scenarios, track changes, and verify data freshness. A minor gap is that watch_tariff_changes has no corresponding unwatch or list-watchlist tool, so watchlist management is slightly incomplete.
Maintenance
Related MCP Connectors
US import duty and HTS codes from the official USITC schedule, plus Section 301 China status. Free.
US import tariff lookup against the official USITC Harmonized Tariff Schedule
Find US import tariff codes and duty rates from the current Harmonized Tariff Schedule.
Search USITC tariff schedules, inspect heading trees, and look up published duty rates.
Related MCP Servers
- AlicenseNot gradedqualityCmaintenanceEnables AI agents to search EU/French customs codes, get duty rates, and monitor tariff changes via natural language, using the DouaneCode API.MIT
- AlicenseAqualityCmaintenanceLive US import tariff calculator covering 19,856 HTS codes, allowing AI to look up stacked tariff rates and project the November 10, 2026 cliff impact on any product.2563 npmMIT
- AlicenseNot gradedqualityCmaintenanceProvides access to US import tariff rates via the USITC Harmonized Tariff Schedule, enabling natural language queries for tariff data.62 npmMIT
- AlicenseNot gradedqualityCmaintenanceEnables US import compliance by providing CBP customs ruling letter searches and antidumping/countervailing duty order lookups, answering how Customs has classified products and whether trade-remedy duties apply.57 npmMIT