L'Agora
MCPResponds

htsapi.dev

dev.htsapi/mcp

HTS with its legal notes, 222,000+ CBP rulings with status, what they quote on a heading. Keyless.

Repository
github.com/rozetyp/htsapi-mcp
Website
htsapi.dev/developer-guide
Server address
https://htsapi.dev/mcp (streamable-http)
Version
1.0.0
Author
htsapi.dev (namespace verified by the registry)
Source
Official MCP registry (updated Nov 19, 2026)

How to install it

The server optionally accepts a header: X-API-Key. Replace YOUR_KEY with your key.

Claude Code

In a terminal:

claude mcp add --transport http mcp https://htsapi.dev/mcp \
  --header "X-API-Key: YOUR_KEY"
Claude (app and claude.ai)

Open Settings, then Connectors, and add a custom connector with this address. If the server asks you to sign in, Claude will walk you through it.

https://htsapi.dev/mcp
ChatGPT

In Settings, Apps & Connectors section, turn on developer mode, then create a connector with this address.

https://htsapi.dev/mcp
Cursor ~/.cursor/mcp.json

Add this to ~/.cursor/mcp.json (or .cursor/mcp.json in the project):

{
  "mcpServers": {
    "mcp": {
      "url": "https://htsapi.dev/mcp",
      "headers": {
        "X-API-Key": "YOUR_KEY"
      }
    }
  }
}
VS Code .vscode/mcp.json

Add this to your project’s .vscode/mcp.json:

{
  "servers": {
    "mcp": {
      "type": "http",
      "url": "https://htsapi.dev/mcp",
      "headers": {
        "X-API-Key": "YOUR_KEY"
      }
    }
  }
}

These configurations are built from the information published by the author. Check the repository before installing a local server.

Our test

Responds The server speaks MCP and lists its tools.

Date
Nov 28, 2026, 11:28 (test run by L’Atlas)
Response time
631 ms (whole test)
Tools found
8
Announced name
htsapi 1.0.0
Protocol
MCP 2025-11-25
Next test
Dec 5, 2026
See the tools (8)
  • 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 subheading
  • 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 (Ce
  • 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 exclu
  • 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 p
  • 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 revo
  • 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,
  • 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`.
  • 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

What the test does: it opens an MCP session (initialize) and asks for the tool list (tools/list), with no key or account. No tool is ever called. Learn more

Reviews

No review yet.

Sign in to leave a review. Your email is all you need.

Comments

No comment yet. A question, a tip? Start the discussion.

Sign in to comment.

Is this your project? Sign in to claim this entry.

Badge for your README

dev.htsapi/mcp on L’Agora

Show that your project is listed (and tested, if it responds): paste this code in your README. The badge follows the latest test and links back to this entry.

Markdown (GitHub)

[![dev.htsapi/mcp on L’Agora](https://lagora.dev/badge/dev.htsapi/mcp.svg?lang=en)](https://lagora.dev/en/entry/dev.htsapi/mcp)

HTML

<a href="https://lagora.dev/en/entry/dev.htsapi/mcp"><img src="https://lagora.dev/badge/dev.htsapi/mcp.svg?lang=en" alt="dev.htsapi/mcp on L’Agora" height="20"></a>

Promote

For the entry’s author only: sign in to continue.

Report this entry