Search / dev.htsapi/mcp
htsapi.dev
R0· no sign-inHTS with its legal notes, 222,000+ CBP rulings with status, what they quote on a heading. Keyless.
v1.0.0 · active · repository · website · descriptor JSON · versions
Search / dev.htsapi/mcp
R0· no sign-inHTS with its legal notes, 222,000+ CBP rulings with status, what they quote on a heading. Keyless.
v1.0.0 · active · repository · website · descriptor JSON · versions
{
"mcpServers": {
"htsapi": {
"type": "http",
"url": "https://htsapi.dev/mcp",
"headers": {
"X-API-Key": "${X_API_KEY}"
}
}
}
}claude mcp add --transport http htsapi https://htsapi.dev/mcp --header "X-API-Key: ${X_API_KEY}"[mcp_servers.htsapi]
url = "https://htsapi.dev/mcp"
env_http_headers = { "X-API-Key" = "X_API_KEY" }
{
"$schema": "https://opencode.ai/config.json",
"mcp": {
"htsapi": {
"type": "remote",
"url": "https://htsapi.dev/mcp",
"enabled": true,
"headers": {
"X-API-Key": "{env:X_API_KEY}"
}
}
}
}{
"mcpServers": {
"htsapi": {
"type": "http",
"url": "https://htsapi.dev/mcp",
"headers": {
"X-API-Key": "${X_API_KEY}"
}
}
},
"deeplink": "cursor://anysphere.cursor-deeplink/mcp/install?name=htsapi&config=eyJ0eXBlIjoiaHR0cCIsInVybCI6Imh0dHBzOi8vaHRzYXBpLmRldi9tY3AiLCJoZWFkZXJzIjp7IlgtQVBJLUtleSI6IiR7WF9BUElfS0VZfSJ9fQ%3D%3D"
}{
"servers": {
"htsapi": {
"type": "http",
"url": "https://htsapi.dev/mcp",
"headers": {
"X-API-Key": "${X_API_KEY}"
}
}
},
"deeplink": "vscode:mcp/install?%7B%22name%22%3A%22htsapi%22%2C%22type%22%3A%22http%22%2C%22url%22%3A%22https%3A%2F%2Fhtsapi.dev%2Fmcp%22%2C%22headers%22%3A%7B%22X-API-Key%22%3A%22%24%7BX_API_KEY%7D%22%7D%7D"
}{
"mcpServers": {
"htsapi": {
"httpUrl": "https://htsapi.dev/mcp",
"headers": {
"X-API-Key": "${X_API_KEY}"
}
}
}
}extensions:
"htsapi":
enabled: true
name: "htsapi"
type: streamable_http
uri: "https://htsapi.dev/mcp"
headers:
"X-API-Key": "${X_API_KEY}"
timeout: 300
Placeholders to fill from your own secret store: ${X_API_KEY}. The registry never accepts secret values.
protocol.modernprotocol.statelessprotocol.transportprotocol.list_ttlauth.prm, auth.as_metadata, auth.cimdauth.secret_in_urltools.descriptionstools.description_lengthtools.schemastools.annotationstools.directory_hintstools.token_costtools.api_dumptools.hidden_texttools.poisoningstability.changesstability.rug_pullstability.new_linksdeps.known_vulns, deps.mcp_sdk_version, deps.resolvableNo changes to tool, prompt or resource template definitions recorded. A server's first observation is its baseline; later probes record what changes.
Checks run on what our credential-free, read-only probes observe; tools are never called and no code audit is performed. How it is computed.
+repository +dns-namespace +website +reachable +uptime-98% +updated-10d-ago
Derived from observable signals (official registry feed and our own credential-free probes); no code audit performed. How it is computed.
| remote | auth | reachable | uptime 30d | p50 | p95 | protocol | last ok |
|---|---|---|---|---|---|---|---|
https://htsapi.dev/mcp streamable-http | none | yes | 98% | 406 ms | 1577 ms | 2025-11-25 | 2026-11-29 |
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 and `importers_paid`, and `answer.question` is the fact that decides: ask the user, then call again with the answer added to the description (a new call, 1 credit). `candidates` carry the reasoning and the CBP rulings behind each code. |
get_notesread-only | 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 cover...") and define terms. Without a code: the General Rules of Interpretation and the Additional U.S. Rules of Interpretation. The WCO Explanatory Notes are not included (copyrighted); heading_scope gives the passages CBP rulings quote from them. |
get_rulingread-only | 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 GRIs it relies on (heading_scope shows what rulings say a heading covers). |
heading_scoperead-only | 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), each with the rulings that quote it: their goods, HQ or NY, date, status and what CBP concluded; `exclusion` marks text on what the heading does not cover. `notes_applied`: the legal notes rulings applied to the heading. `cited_without_quote`: rulings that relied on its explanatory note without quoting it. Each passage is as a ruling quotes it. |
importers_paidread-only | 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 change), and anti-dumping/countervailing duties are not included. For "what will this cost", not for classifying. |
lookup_hts_coderead-only | 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 from the heading (an "Other" line says what it is not), base rates with the special-rate programs named, the 10-digit lines under it and the newest current CBP rulings under it. A code no longer in the schedule falls back to the nearest level that is. What importers paid is a separate tool, importers_paid. |
rulings_under_coderead-only | 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 ruling put the goods under. If similar goods were moved away, the code is in doubt. |
search_rulingsread-only | 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 rulings, newest ruling and `lines`: the full codes under it with the rulings for each, which is where the facts that decide between lines show. |
Schemas: list_tools.
classification_file2 arguments | Classification file. Classify one product for US import the way a broker documents it, and write the classification file: facts, headings considered, notes, GRIs, code, rulings, open points. |
Definitions only, never their content. Full lists: prompts, resources.
{
"name": "dev.htsapi/mcp",
"title": "htsapi.dev",
"$schema": "https://static.modelcontextprotocol.io/schemas/2025-12-11/server.schema.json",
"remotes": [
{
"url": "https://htsapi.dev/mcp",
"type": "streamable-http",
"headers": [
{
"name": "X-API-Key",
"isSecret": true,
"description": "Optional. Without a key the seven read tools run 50 calls a day per IP. A key (from https://htsapi.dev) adds classify_product, our classifier as a second opinion, at 1 credit a call."
}
]
}
],
"version": "1.0.0",
"repository": {
"url": "https://github.com/rozetyp/htsapi-mcp",
"source": "github"
},
"websiteUrl": "https://htsapi.dev/developer-guide",
"description": "HTS with its legal notes, 222,000+ CBP rulings with status, what they quote on a heading. Keyless."
}