US tariff data as of 2026-10-09Tariffs dataset 1.0.0Entry dates 2025-01-01 to 2026-10-09
Calculator Beta Get a free key

Tariff MCP server

Live

Duty stacks, HTS lookups, measures, refunds and the change feed as tools for AI agents.

A Model Context Protocol server with the same tools as the REST API. Results carry citations and the dataset version, and the server tells agents that it calculates from codes the user supplies and never classifies goods.

At a glance

Status
Live
Endpoint
POST /mcp
Cost
same units as REST
MCP tools
11 tools
Data
Tariffs dataset 1.0.0, built 2026-10-10.

Connect a client

POST JSON-RPC 2.0 to /mcp with your key in X-API-Key; each tool has the input schema of its REST endpoint and the same units.

MCP client config
{
  "mcpServers": {
    "htscalculator": {
      "type": "http",
      "url": "https://api.htscalculator.com/mcp",
      "headers": { "X-API-Key": "YOUR_KEY" }
    }
  }
}

Tools

11 tools, the same as the REST endpoints
ToolWhat it does
tariffs_duty_stackDuty stack for an HTS code, origin and date
tariffs_duty_stack_batchDuty stacks for many lines
tariffs_compare_originsCompare origins for one HTS code
tariffs_hts_searchSearch the tariff schedule's text
tariffs_hts_lookupHTS line lookup
tariffs_hts_historyRevision history of an HTS line
tariffs_revisionsHTS revisions
tariffs_measureA Chapter 99 measure
tariffs_measures_for_htsMeasures that reach an HTS code
tariffs_changesTariff change feed
tariffs_ieepa_refundIEEPA refund calculation for entry lines

What is included

  • Streamable HTTP, JSON responses, one key for REST and MCP
  • Same input schemas and metering as the REST endpoints
  • Refund lines and citations included

How it differs

  • The full tool set, with citations an agent can quote.
  • Clear about what it does not do: no classification.
  • The dataset version on every result.

Plans

One key and one plan cover every HTS Calculator product, this one included. Free: 2,500 units a month. Developer $49 and Pro $249 a month. Caching inside your product is allowed, and so is use by AI agents. Plans and units.

Status: Live. All products.