---
name: tariff-digest
description: Use when you need to find recent US Federal Register notices whose text names given HTS codes (tariff changes, exclusions, chapter 99 actions).
---

# Check HTS codes for new Federal Register notices

The results are text matches in public documents. They are information, not customs or legal advice; read each linked notice.

## Option 1: the MCP endpoint

Endpoint: https://tariffdigest.duewright.com/mcp (Streamable HTTP, stateless, no login; `initialize` is optional). One tool: `search_tariff_notices`. Replies come as one SSE `data:` line.
Input: `codes` (1 to 10 HTS codes, 6, 8 or 10 digits, dots allowed) and optional `since` (YYYY-MM-DD, default 30 days ago).
Output: JSON text with `searched` (codes, since, terms, skippedTerms, truncatedTerms, errors) and `notices` (title, publicationDate, documentUrl, documentNumber, matchedCodes, matchedTerms), newest first, at most 50.

```sh
curl -s -X POST https://tariffdigest.duewright.com/mcp -H 'content-type: application/json' -H 'accept: application/json, text/event-stream' \
  -d '{"jsonrpc":"2.0","id":1,"method":"initialize","params":{"protocolVersion":"2025-06-18","capabilities":{},"clientInfo":{"name":"curl","version":"1"}}}'
curl -s -X POST https://tariffdigest.duewright.com/mcp -H 'content-type: application/json' -H 'accept: application/json, text/event-stream' -H 'mcp-protocol-version: 2025-06-18' \
  -d '{"jsonrpc":"2.0","id":2,"method":"tools/call","params":{"name":"search_tariff_notices","arguments":{"codes":["8516.60.4070"]}}}'
```

## Option 2: the Federal Register API directly

No key needed. For each code, search these terms, most exact first:

- 10-digit code: the quoted dotted form, for example `"8516.60.4070"`.
- 8-digit prefix with a wildcard, unquoted: `8516.60.40*`.
- 6-digit prefix with a wildcard, unquoted: `8516.60*`.

A quoted wildcard returns no documents. Do not search a 4-digit heading alone.

```sh
curl -s -G https://www.federalregister.gov/api/v1/documents.json \
  --data-urlencode 'conditions[term]="8516.60.4070"' \
  --data-urlencode 'conditions[publication_date][gte]=2026-10-27' \
  --data-urlencode 'order=newest' --data-urlencode 'per_page=100' \
  --data-urlencode 'fields[]=title' --data-urlencode 'fields[]=html_url' \
  --data-urlencode 'fields[]=publication_date' --data-urlencode 'fields[]=document_number'
```

A count of 0 comes with no `results` key. Merge results by `document_number`.

## Limits

The MCP endpoint is free with no account: 50 tool calls per IP per UTC day and 2000 per day for all callers together. Over a limit, the tool returns an error that says when to try again.

## Paid key

After payment, the /welcome page shows one API key, once. Send it as `Authorization: Bearer <key>`, never in a URL. `GET https://tariffdigest.duewright.com/api/entitlement` returns 200 while the subscription is active, 401 for a missing or unknown key and 402 when the subscription is not active.

## More

Pricing and the paid weekly digest: https://tariffdigest.duewright.com/pricing?ref=agent
