dev.htsapi/mcp · v1.0.0 · productivity
htsapi.dev is healthy: it completed an MCP handshake in 1100 ms and exposes 8 tools.
HTS with its legal notes, 222,000+ CBP rulings with status, what they quote on a heading. Keyless.
Endpoint: https://htsapi.dev/mcp (streamable-http)
Repository · Website · JSON · Add to my inventory
| Users (last 30 days) | 0 |
| Handshake | Healthy |
| Auth needed | None |
| Tool count | 8 |
| Latency | 1100 ms |
| Last checked (UTC) | 2026-11-30T19:05:19.753Z |
| Checked (UTC) | Status | Latency | Error |
|---|---|---|---|
| 2026-11-30T19:05:19.753Z | Healthy | 1100 | |
| 2026-11-28T09:30:16.165Z | Healthy | 1106 | |
| 2026-11-26T01:45:20.583Z | Healthy | 1527 | |
| 2026-11-23T19:46:00.231Z | Healthy | 1940 | |
| 2026-11-21T15:50:30.582Z | Healthy | 1306 | |
| 2026-11-19T13:05:21.521Z | Healthy | 1721 |
lookup_hts_code | The tariff schedule, one level at a time, the way a classifier reads it. No code: the 22 sections and their chapters, for goods no ruling covers. A chapter (82) lists its headings with their legal text; a heading (8205) lists its subheadings in words; a subheading or line gives its path |
importers_paid | What importers from a country actually paid on a code in the latest 3 months Census has published: base rate plus Chapter 99 duties (Section 301, 232 and the like), as a percent of value, by month. Not the duty a shipment will owe today (Census is about 2 months behind and the rules chan |
get_notes | The legal text that decides between headings, from the official US schedule. With a code: its section's notes and its chapter's notes, subheading notes, Additional U.S. Notes and statistical notes. These have legal force (GRI 1): they exclude goods from a chapter ("this chapter does not |
heading_scope | What CBP's rulings quote and decide on a heading: for deciding whether a product falls in it. Give the product to get what decides for it first. `passages`: the lines rulings quote when deciding (mostly from the WCO Explanatory Notes, not published free; fragments, not the whole note), e |
rulings_under_code | Every CBP ruling that classifies goods under a code: for checking a code someone already has. `rulings` are current (not revoked), newest first, or closest to `product` first, each with what its goods were; `moved_away` are rulings CBP revoked off this code and the codes the revoking rul |
search_rulings | CBP rulings for a product described in plain words, by meaning. Each ruling comes with its HTS codes, its status (current, modified, superseded) and the product facts CBP classified. `by_code` lists the subheadings current rulings point to, in the order of the rulings, each with its HQ r |
get_ruling | One CBP ruling: its full text, HTS codes, status and, when revoked or modified, the ruling that did it, the codes it moved the goods to, and the sentence that says so. Codes the current schedule no longer has are listed in `obsolete_codes`. `cites`: the explanatory notes, legal notes and |
classify_product | Classify a product to a US HTS code. COSTS 1 CREDIT (refunded if it fails). Takes 10-60 s. Read `answer` first. `answer.code` is as deep as the facts given decide (10 digits when they do). When they do not, `answer.options` are the codes it could be, each with its `condition`, base rate |