MCP SERVER

HTS tools inside your agent.

Connect the remote MCP server and let an agent search HTS codes, fetch exact rates, and estimate duty or landed cost. Paid calls surface the x402 challenge instead of failing with a signup wall.

Connect

{
  "mcpServers": {
    "hts-lookup": {
      "type": "streamable-http",
      "url": "https://hts.epi.me/mcp"
    }
  }
}

Tools

search_hts

Free. Candidate codes and descriptions; rates locked.

get_hts_code

Paid. Exact MFN/special/other rates and units.

estimate_duty

Paid. Percent duty for a customs value.

estimate_landed_cost

Paid. Duty + MPF/HMF + freight + insurance, total and per unit.

Agent flow

Search

Agent gets candidate lines without paying.

Challenge

Paid tool returns HTTP 402 terms: price, network, asset, pay-to.

Pay and retry

x402 host signs, retries, receives JSON with source and warnings.

Live payments. USDC on Base. Landed cost adds Section 301 China for origin CN; excludes Section 232, IEEPA, AD/CVD, quotas, and FTAs.