Prototype · Preview: every server in the official registry, synced every 30 minutes. Sign in with Google to write reviews.Prototype · updated every 30 min
PopNx MCPMCP servers for people who use AI · explained in plain words Sign in

htsapi.dev

✓ service owner · htsapi.dev

by rozetypversion 1.0.0i★ 0iRuns in the cloudOfficial site ↗
Registry namedev.htsapi/mcp

How to install

What it does

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

  • Connects Runs in the cloud
  • Account or key Works without a key · add X-API-Key if you have one (often raises limits)
  • Category Law & government data

Why it ranks here

This one is in the “Apps that connect to AI” tab, which is ordered without stars, in this order

1. In Claude’s connector directoryNo
2. Tried by our teamNo
3. Works for Thai usersNo
4. Usage without stars20/100Popularity 0 · Freshness 12 · Still answering 8 · Likes from users +0
5. Listed on2026-11-19

Likes from users: 0 · Adds at most 5 points to the order (1 per person). It cannot be bought.

Quality: Passed 4/4 basic checks (shown, not used for ordering)

Install

Pick the AI app you use, then copy the settings.

Let your AI install it with one sentence

Please install htsapi.dev. Follow https://mcp.popnx.com/i/htsapi-mcp.md, show me the commands and wait for my OK before running them.

Paste it into an AI that can work on your computer (such as Claude Code or Cursor). It reads our steps, shows you the commands and waits for your OK. No key, no sign-up. · See the full text your AI reads

Passed 4/4 checks · What you ask goes through the maker’s server (htsapi.dev) · ✓ Commands checked Nov 19, 2026

First: which AI do you use?

Pick your app and the steps appear below.

Works with Claude · about 2 min

No key, nothing to install · Set it up once on claude.ai or the desktop app, then use it in chat · free accounts can add 1 · on Team/Enterprise an Owner adds it

  1. Open Claude’s Connectors page

    CustomizeConnectors

    CustomizeConnectors1Add2https://…3Add4
  2. Click “Add” → “Custom” → “Web” and fill in these 2 fields

    Copy each value into the field with the same name in Claude, then click Continue

    Name · Namehtsapi.dev
    Remote MCP server URL · Addresshttps://htsapi.dev/mcp

    Click Continue past the sign-in settings Claude detected · under Authentication choose what the maker says (Sign in now, Sign in when needed or No sign in), then click Add

  3. Turn it on in a chat

    +Connectorshtsapi.dev

  4. Try it

    Use htsapi.dev and tell me what you can do for me, then show me one thing

    ✓ If Claude says it is using htsapi.dev or shows a htsapi.dev tool in the answer, you are connected

Menu names checked against Anthropic’s help page on Nov 11, 2026 · your screen may differ slightly by app version

Works with ChatGPT, depending on your plan

Full MCP: ChatGPT Business, Enterprise or Edu on the web · Pro: connects with read/fetch permissions, so tools that change data may not work · Plus: not confirmed in OpenAI’s docs; if you see an add-custom-MCP option on the Plugins page you can try these steps · web only

  1. Open ChatGPT’s add-MCP page on the web

    Plugins+Add custom MCP server

    ChatGPTPlugins1+2https://…3Create4
  2. Fill in the name and address

    Enter a name, paste the address under Connection, tick the risk warning and click Create as a plugin

    Name · Namehtsapi.dev
    Connection · Addresshttps://htsapi.dev/mcp
  3. Pick htsapi.dev in a chat

    Start a new chat and pick htsapi.dev from your plugins before typing

  4. Try it

    Use htsapi.dev and tell me what you can do for me, then show me one thing

    ✓ If ChatGPT says it is using htsapi.dev or shows a htsapi.dev tool in the answer, you are connected

Menu names checked against OpenAI’s help page on Nov 11, 2026 · your screen may differ slightly by app version

Works with Claude Code · about 2 min

No key, nothing to install

  1. Open Terminal

    Mac: press Command+Space and type Terminal · Windows: open PowerShell

  2. Paste this command and press Enter

    claude mcp add --transport http --scope user htsapi https://htsapi.dev/mcp
  3. Type /mcp in Claude Code

    You should see htsapi.dev listed as connected

  4. Try it

    Use htsapi.dev and tell me what you can do for me, then show me one thing

    ✓ If Claude Code says it is using htsapi.dev or shows a htsapi.dev tool in the answer, you are connected

Menu names checked against Anthropic’s help page on Nov 11, 2026 · your screen may differ slightly by app version

Works with Cursor · about 2 min

No key, nothing to install

  1. Click this button to open Cursor

    Open in Cursor

    Cursor asks you to confirm; click Install

  2. Open the AI chat in Cursor in Agent mode

  3. Try it

    Use htsapi.dev and tell me what you can do for me, then show me one thing

    ✓ If Cursor says it is using htsapi.dev or shows a htsapi.dev tool in the answer, you are connected

Menu names checked against Cursor’s help page on Nov 11, 2026 · your screen may differ slightly by app version

Works with VS Code · about 2 min

No key, nothing to install

  1. Click this button to open VS Code

    Open in VS Code

    VS Code asks you to confirm; click Install

  2. Open the AI chat in VS Code in Agent mode

  3. Try it

    Use htsapi.dev and tell me what you can do for me, then show me one thing

    ✓ If VS Code says it is using htsapi.dev or shows a htsapi.dev tool in the answer, you are connected

Menu names checked against VS Code’s help page on Nov 11, 2026 · your screen may differ slightly by app version

Other apps that use MCP, such as Windsurf, Zed or Gemini CLI, each add servers differently. See how in the app list.

See every app that uses MCP →

Address for apps that connect over the web

Addresshttps://htsapi.dev/mcp

JSON settings are under “For developers” below

Stuck? Ask people who use htsapi.dev💬 Discussion →
For developers: Terminal commands and JSON settings

Over the web

Claude Code

claude mcp add --transport http --scope user htsapi https://htsapi.dev/mcp

Cursor (~/.cursor/mcp.json)

{
  "mcpServers": {
    "htsapi": {
      "url": "https://htsapi.dev/mcp"
    }
  }
}

VS Code (mcp.json)

{
  "servers": {
    "htsapi": {
      "type": "http",
      "url": "https://htsapi.dev/mcp"
    }
  }
}

Values you fill in

  • X-API-Key secret HTTP header
    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.

Descriptions are as written by the maker.

These settings are generated from the maker’s registry entry. If the README says otherwise, follow the README.

At a glance

Downloads per weeki
Not on npm/PyPI
Verified domain
✓ htsapi.dev
Connection
Runs in the cloud
Transport
streamable-http
Latest versioni
1.0.0
Published to registryi
Nov 19, 2026
Code last changedi
Nov 19, 2026
Last checked
Nov 19, 2026
Maker
rozetyp
Website
htsapi.dev
Registry status
Active

Which apps can use it

Based on how this server connects and on each app’s own docs, checked Nov 10, 2026.

Connect over the internet in

ClaudeChatGPTGooseLM StudioMsty StudioCherry StudioCursorVS Code + GitHub CopilotVisual StudioWindsurf (Devin Desktop)ZedKiroClineContinueJetBrains AI AssistantClaude CodeCodex CLIGemini CLIOpenCodenodecodeWarpLibreChatOpen WebUIRaycast

All apps, with pros and cons →

Related guides

What it can do

Tool names and descriptions exactly as the server reported them on Nov 19, 2026. The maker wrote them, not us; we show them as plain text.

  • 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 i

  • 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 ru

  • 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 d

  • 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

  • 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 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, in the order of the rulings, each with

  • 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 n

  • 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`, ba

Basic checksi

We check information anyone can see; we have not read the code. Checks that do not apply are left out of the count. · Checked Nov 20, 2026

  • ✓ Pass

    Maker matches the repo

    The registry name was verified against the domain htsapi.dev (the registry checks domain ownership)

  • ✓ Pass

    Still maintained

    Code last changed yesterday

  • – Not applicable

    Has a licence

    Not applicable: a cloud server run by the owner of htsapi.dev; you don't run code from the repo

  • ✓ Pass

    Endpoint responds

    Responded in 226 ms (HTTP 200)

  • – Not applicable

    Sign-in with OAuth

    No sign-in needed

  • ✓ Pass

    No hidden instructions in tool descriptions

    Read 8 tool descriptions and found no hidden instructions to the AI

What we check → · JSON

Makers: ask for a re-check or report wrong info
For makers: add a badge to your README

If you made this, paste this code into your README. The badge links back to this page.

[![Featured on PopNx MCP](https://mcp.popnx.com/badge/htsapi-mcp.svg)](https://mcp.popnx.com/en/servers/htsapi-mcp)

Discussion

Ask, share a tip or report that it does not work. Sorted by what people marked helpful.

No posts yet. Be the first to ask or share.

Posts here are written by users, not the PopNx team.

Sign in to post

User reviews

No reviews yet

Sign in to write a review

Compared with others in Law & government datai

  • More stars than 0% of the other 1961 servers in this category
  • Published to the registry more recently than 97% of the other 1961 servers in this category
  • Basic checks equal to or better than 99% of the other 1961 servers in this category

Compared with every active server in this category in the registry. Stars count only when the publisher owns the repo.

Common questions

Is htsapi.dev safe?

It passed 4 of 4 applicable basic checks. We have not read the code. Before adding a key or token, see what access the server asks for and use a key with only the permissions you need.

What keys or codes does it need?

The registry does not list a required key, though some servers ask you to sign in on first use.

Does it run on my computer or in the cloud?

It runs in the maker’s cloud. Connect over the internet with nothing to install, but what you send passes through the maker’s servers.

Is it still maintained?

The GitHub repo last changed yesterday, and the latest version (1.0.0) reached the registry yesterday.

Which apps can use it?

Apps that support MCP, such as Claude Desktop, Claude Code, Cursor and VS Code. It connects by URL, so apps that accept remote MCP servers work too, such as ChatGPT on the web (full MCP on Business and above; Pro read-only).

What can I use instead?

In the same category: Global law, Open Legal Data (Germany), LibreJustice, InfraNode, Fedlex Connector

Similar alternatives

Same category, other makers, commands already checked. Official ones first, then by stars.

Reading a card:↓ Downloads per weeki★ GitHub starsiThree pillars: reviews · checks · usageiUpdated = latest version published to the registryi

Global law

The law of nearly every country on earth, any date: read it, see what changed it, check citations.

by lexifinaWidely used★ 2.1KUpdated 10 days ago

Runs in the cloud✓ lexifina.com

LibreJustice

Search French-language and European case law and French legal texts (codes, statutes, treaties).

by librejusticeEarly★ 38Updated 2 months ago

Runs in the cloud✓ service owner · librejustice.fr

InfraNode

Keyless open data for 84 German cities: 12 lean read-only MCP tools covering 67 data types.

by street1983nkEarly★ 18Updated 5 months ago

Runs in the cloud✓ service owner · infranode.dev
Compared with similar ones
This one
htsapi.dev
Global lawOpen Legal Data (Germany)LibreJusticeInfraNodeFedlex Connector
Runs whereRuns in the cloud, nothing to installRuns in the cloud, nothing to installRuns in the cloud, nothing to installRuns in the cloud, nothing to installRuns in the cloud, nothing to installRuns in the cloud, nothing to install
Needs a keyNoNoNoNoNoNo
Add with + in ClaudeNoNoNoNoNoNo
Basic checks4/44/44/44/44/44/4
LicenseMITNOASSERTIONMITApache-2.0Apache-2.0MIT
PriceNo cost listed in the registryNo cost listed in the registryNo cost listed in the registryNo cost listed in the registryNo cost listed in the registryNo cost listed in the registry

README from the maker

Open the README

Copied from the maker’s repo as written. PopNx MCP has not reviewed or endorsed it. HTML, images and scripts are removed. Links lead off this site.

htsapi.dev MCP server

Give your AI agent what a customs classifier reads when it picks a US tariff code:

  • the Harmonized Tariff Schedule (USITC) one level at a time, with its section and chapter notes and the General Rules of Interpretation;
  • over 222,000 CBP rulings (CROSS) in full text, each with its status: revoked or modified, by which ruling, and where the goods went;
  • what CBP's rulings quote and decide on a heading: the Explanatory Note passages and legal notes CBP relied on, grouped across rulings, with what each ruling concluded;
  • what importers paid on a code from a country in the latest 3 months of US Census data.

Your agent classifies; the importer decides. Everything is guidance from public sources, not legal advice or a binding ruling. Why sources rather than a code from us: htsapi.dev/method.

What you can ask

  • *"What HTS code fits a stainless steel vacuum bottle made in China, and what did importers actually pay on it?"*
  • *"Has CBP ruled on silicone baking mats? Are those rulings still in force?"*
  • *"What do CBP's rulings say separates heading 9021 from 6406 for shoe insoles?"*
  • *"Read ruling N046655 and tell me whether anything revoked or modified it."*
  • *"Write a classification file for a battery-powered milk frother from Vietnam."* (the classification_file prompt)

Connect

The hosted server is https://htsapi.dev/mcp (Streamable HTTP). The read tools need no key and no signup.

Claude (claude.ai, desktop, mobile): Add to Claude opens the custom-connector dialog filled in. By hand: Settings, Connectors, Add custom connector, URL https://htsapi.dev/mcp.

Claude Code

claude mcp add --transport http htsapi https://htsapi.dev/mcp

Cursor, Windsurf, Cline and other clients

{

"mcpServers": { "htsapi": { "url": "https://htsapi.dev/mcp" } } }

With a key, add "headers": { "X-API-Key": "YOUR_KEY" } next to "url" (or --header "X-API-Key: YOUR_KEY" in Claude Code).

Clients that only run local servers

This repository is a stdio server that forwards to the hosted one. It has no data or logic of its own, so its tools are always the hosted server's. Requires Node 18+.

{

"mcpServers": { "htsapi": { "command": "npx", "args": ["-y", "github:rozetyp/htsapi-mcp"], "env": { "HTSAPI_KEY": "optional, only for classify_product" } } } }

Tools

ToolReturns
lookup_hts_codeThe schedule one level at a time: sections and chapters, a chapter's headings, a heading's subheadings, a line's rates and the rulings under it.
get_notesA code's section and chapter notes, or, without a code, the General Rules of Interpretation.
heading_scopeWhat CBP's rulings quote and decide on a heading. Give the product to get what decides for it first.
search_rulingsCBP rulings for a product described in plain words, with status and the codes they point to.
rulings_under_codeEvery ruling under a code, and the rulings CBP revoked off it with where the goods went.
get_rulingOne ruling: full text, codes, status, what revoked or modified it, and what it cites.
importers_paidWhat importers from a country paid on a code in the latest 3 Census months: history, not the duty owed.
classify_productOur own classifier's suggestion, a second opinion. Needs a key; 1 credit.

Prompt classification_file: the method and the eight sections of a broker's classification file. The server's instructions walk an agent through the method: facts, GRI 1 with the notes, GRIs 2 to 6, a check against rulings and their status, then the report.

How well it works, measured on 54 CBP cases with each case's own ruling hidden: htsapi.dev/classification-accuracy.

Limits and price

  • No key: the seven read tools, 50 calls a day per IP, 10 a minute.
  • Prices, and what a key adds: htsapi.dev.

Not covered

The duty owed on a shipment, anti-dumping and countervailing duties, other agencies' rules, court opinions, and the full text of the WCO Explanatory Notes (only the passages CBP quotes in its rulings). Counts, freshness and what is missing: htsapi.dev/corpus.

Also

License

MIT for this repository. The data comes from USITC, US Customs and Border Protection and the US Census Bureau; htsapi.dev is independent and not affiliated with them.