Skip to main content
Glama
daleweaver1981

tariffmonitor-mcp

README.md
# tariffmonitor-mcp

MCP server for the **Tariff Exposure Monitor** — a live US import tariff calculator covering 19,856 HTS codes.

Give Claude (or any MCP-compatible AI) the ability to look up real stacked tariff rates and project the **November 10, 2026 cliff** impact on any product.

## What it does

Two tools:

| Tool | What it does |
|---|---|
| `lookup_hts_code` | Search 19,856 HTS codes by description or numeric prefix |
| `calculate_tariff` | Returns an estimated stacked rate (MFN base + Section 301 + Section 232) and flags the Nov 10, 2026 Section 301 exclusion expiry. Optional: annual import volume → dollar impact |

Example exchange — a real capture from the live API on 2026-09-11, not a mock-up:

```
You: What's the tariff on athletic footwear from China, and what does it cost me at $800k/year?

Claude: [calls lookup_hts_code query="athletic footwear", then calculate_tariff
         hts_code="6404110000", origin_country="CN", annual_import_value_usd=800000]

Note: 6404110000 is not in the schedule. This rate is for heading 640411, resolved to 6404112030.

HTS 6404112030 - For men
Origin: CN

Rate stack:
  MFN base rate: +0.00%
  Section 301 (China trade enforcement): +7.50%
Total current rate: 7.50%

No cliff change projected for this code/country combination.

Dollar impact at $800,000/yr import value:
  Current annual duties: $60,000
```

Rates change, and a rate is per HTS code and origin country - treat the numbers above as the shape
of the answer, not as a quote for your shipment. The tool never invents a rate: if the upstream is
unreachable or the code is not in the schedule, it says so instead of estimating.

## Install (Claude Desktop)

Add to your `claude_desktop_config.json`:

```json
{
  "mcpServers": {
    "tariffmonitor": {
      "command": "npx",
      "args": ["-y", "tariffmonitor-mcp"]
    }
  }
}
```

Restart Claude Desktop. The `lookup_hts_code` and `calculate_tariff` tools appear automatically.

## Install (Cursor / other MCP clients)

```json
{
  "mcp": {
    "servers": {
      "tariffmonitor": {
        "command": "npx",
        "args": ["-y", "tariffmonitor-mcp"]
      }
    }
  }
}
```

## No API key required

The tool calls the free public API at adcreator-ai.com. No signup, no rate limits for reasonable use.

## Related

- [Free tariff calculator](https://adcreator-ai.com/tariffs/calculator) — browser version
- [Official US Harmonized Tariff Schedule](https://hts.usitc.gov/) — the authoritative rates

Built by [Dale Weaver / 0xpi](https://0xpi.com).

TDQS

A4.4/5.0

Scored across 2 tools

Disambiguation5/5

The two tools have clearly distinct purposes: one for searching HTS codes by description, the other for calculating tariffs for a given code and origin country. There is no ambiguity.

Naming Consistency5/5

Both tool names follow a consistent verb_noun pattern (lookup_hts_code, calculate_tariff), making them predictable and easy to understand.

Tool Count4/5

With only 2 tools, the set is minimal but appropriate for its focused purpose of looking up tariffs. It could benefit from a couple more tools (e.g., list countries, get tariff history), but the count is not excessive.

Completeness4/5

The core workflow of finding an HTS code and calculating the tariff rate is covered. The calculations include multiple tariff layers and projected rates. Minor gaps exist, like lacking a tool to list supported origin countries or to update tariff data, but the essentials are present.

Maintenance

ActivityMaintained
ResponsivenessNo issues