Skip to main content
Glama

tariff-resolver

npm version CI coverage: ≥95% lines, CI-enforced npm downloads node MCP Registry license: MIT

AI 어시스턴트를 미국 수입 관세 조사 도구로 바꿔주는 MCP 서버 — 공식 USITC 통합관세율표(HTS) 데이터(미국 정부 공개 도메인, 35,000개 이상의 관세 라인)를 기반으로 합니다.

  • 🔍 HTS 코드 후보 — 일반 제품 설명에서 추출, CBP CROSS 유권해석 링크 포함

  • 🧮 착지비용 구성요소: MFN/FTA 기본 세율 + Chapter 99 추가 관세(IEEPA / Section 301 / 232) + MPF/HMF 수수료

  • 📡 관세 변경 추적: HTS 코드를 워치리스트에 등록, HTS 개정판 간 세율 차이 비교

  • 🤖 AI 최적화, 환각 저항성: 실제 Chapter 99 규정 텍스트와 파싱된 세율을 반환하므로, LLM이 2024년식 숫자를 지어내는 대신 실제 예외 체인을 근거로 추론합니다.

데모: 중국산 진공 플라스크에 대한 관세를 계산한 후 제품과 원산지를 전환 — 전체 Chapter 99 스택이 실시간으로 재계산됩니다

왜 지금인가: de minimis 면제가 종료된 이후(2025년 8월 29일), 미국으로 향하는 모든 화물에는 HTS 코드와 관세 납부가 필요하며, 2025~26년 세율은 행정명령으로 계속 변경되고 있습니다.

어떤 정부 기관과도 관련이 없습니다. 출력물은 브로커 사전 검수를 위한 후보/추정치이며 — 세관, 법률, 세무 자문이 아닙니다. 추정치는 AD/CVD 관세를 제외합니다.

설치

Node.js ≥ 18 필요.

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

또는 MCP 클라이언트 설정에서:

{ "mcpServers": { "tariff-resolver": { "command": "npx", "args": ["-y", "tariff-resolver"] } } }

Related MCP server: tariffmonitor-mcp

💡 시도해 볼 프롬프트

  • 기본 검색: "남성용 100% 면 티셔츠의 HTS 코드를 찾아줘."

  • 전체 시나리오: "HTS 6109.10.00, 원산지 중국, 통관가 $5,000, 해상 운송 기준으로 관세 시나리오를 계산해줘."

  • 소싱 결정: "스테인리스 진공 플라스크 $10,000어치를 수입하려고 해. 중국에서 조달할 때와 베트남에서 조달할 때의 착지비용을 비교해줘."

  • 최신 유지: "내 카탈로그의 관세 변경을 추적해줘: 6109.10.00, 8507.60.00, 9617.00.10."

도구

도구

기능

search_hs_candidates

제품 설명 → 세율 및 CBP CROSS 유권해석 링크가 포함된 상위 HTS 후보

calculate_tariff_scenario

HTS 코드 + 원산지 + 금액(+ 중량) → 구조화된 JSON: 기본 MFN/FTA 세율, 활성 Chapter 99 규칙(각주 연결 / 원산지 일치 / 보편적, 종료된 규칙은 필터링), MPF/HMF

watch_tariff_changes

HTS 코드를 로컬 워치리스트에 등록

check_tariff_updates

현재 HTS 개정판과 이전 개정판 비교 — 어떤 세율이 변경되었는지 정확히 확인

dataset_info

데이터 개정일, 행 수, 출처, 라이선스

설계

서버는 검색을 담당하고, LLM이 추론을 담당합니다. Chapter 99 규칙은 (해당되는 경우 파싱된 adder_pct와 함께) 원문 그대로 반환되므로, 모델이 블랙박스 계산을 신뢰하는 대신 실제 예외 체인을 읽습니다. 10자리 통계 접미사의 세율은 상위 세율 라인에서 상속됩니다. 종료된 조항은 필터링되어 집계됩니다.

데이터

USITC 공식 JSON API(미국 정부 공개 도메인)에서 가져온 전체 HTS 스냅샷이 포함되어 있습니다. 언제든 새로고침:

python3 scripts/fetch_hts.py   # ~2 min, fails hard rather than write a partial dataset

dataset_info는 쿼리가 실행되는 개정일을 보고합니다.

라이선스

MIT. 관세 데이터는 미국 정부의 저작물(공개 도메인)입니다.

Available Tools

5 tools
calculate_tariff_scenarioCalculate tariff scenarioA
Read-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 revisionsD
Read-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 infoA
Read-only

Fetch date, source, license, row counts — use to check data freshness.

Inputs: no named parameters.

search_hs_candidatesSearch HTS code candidatesA
Read-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 changesA
Idempotent

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

    B3.2/5.0

    Scored across 5 tools

    Disambiguation5/5

    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.

    Naming Consistency4/5

    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.

    Tool Count5/5

    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.

    Completeness4/5

    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

    ActivityNo data
    ResponsivenessOutdated data

    Related MCP Connectors

    Related MCP Servers

    • A
      license
      Not graded
      quality
      C
      maintenance
      Enables AI agents to search EU/French customs codes, get duty rates, and monitor tariff changes via natural language, using the DouaneCode API.
      MIT
    • A
      license
      A
      quality
      C
      maintenance
      Live 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.
      2
      563 npm
      MIT
    • A
      license
      Not graded
      quality
      C
      maintenance
      Provides access to US import tariff rates via the USITC Harmonized Tariff Schedule, enabling natural language queries for tariff data.
      62 npm
      MIT
    • A
      license
      Not graded
      quality
      C
      maintenance
      Enables 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 npm
      MIT