L'Agora
MCPRépond

htsapi.dev

dev.htsapi/mcp

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

Description fournie par l’auteur dans le registre officiel MCP (en anglais).

Dépôt
github.com/rozetyp/htsapi-mcp
Site
htsapi.dev/developer-guide
Adresse du serveur
https://htsapi.dev/mcp (streamable-http)
Version
1.0.0
Auteur
htsapi.dev (espace de noms vérifié par le registre)
Source
Registre officiel MCP (mis à jour le 19 nov. 2026)

Comment l’installer

Le serveur accepte en option un en-tête : X-API-Key. Remplacez VOTRE_CLE par votre clé.

Claude Code

Dans un terminal :

claude mcp add --transport http mcp https://htsapi.dev/mcp \
  --header "X-API-Key: VOTRE_CLE"
Claude (application et claude.ai)

Ouvrez Réglages, puis Connecteurs, et ajoutez un connecteur personnalisé avec cette adresse. Si le serveur demande une connexion, Claude vous la proposera.

https://htsapi.dev/mcp
ChatGPT

Dans Réglages, partie Applications et connecteurs, activez le mode développeur, puis créez un connecteur avec cette adresse.

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

Ajoutez ceci au fichier ~/.cursor/mcp.json (ou .cursor/mcp.json dans le projet) :

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

Ajoutez ceci au fichier .vscode/mcp.json de votre projet :

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

Ces configurations sont construites à partir des informations publiées par l’auteur. Vérifiez le dépôt avant d’installer un serveur local.

Notre test

Répond Le serveur répond au protocole MCP et liste ses outils.

Date
28 nov. 2026, 11:28 (test fait par L’Atlas)
Temps de réponse
631 ms (test complet)
Outils trouvés
8
Nom annoncé
htsapi 1.0.0
Protocole
MCP 2025-11-25
Prochain test
5 déc. 2026
Voir les outils (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

Ce que fait le test : il ouvre une session MCP (initialize) et demande la liste des outils (tools/list), sans clé ni compte. Aucun outil n’est appelé. En savoir plus

Avis

Pas encore d’avis.

Connectez-vous pour donner votre avis. Il suffit de votre e-mail.

Commentaires

Pas encore de commentaire. Une question, une astuce ? Lancez la discussion.

Connectez-vous pour commenter.

C’est votre projet ? Connectez-vous pour revendiquer la fiche.

Badge pour votre README

dev.htsapi/mcp sur L’Agora

Montrez que votre projet est référencé (et testé, s’il répond) : collez ce code dans votre README. Le badge suit le dernier test et renvoie vers cette fiche.

Markdown (GitHub)

[![dev.htsapi/mcp sur L’Agora](https://lagora.dev/badge/dev.htsapi/mcp.svg)](https://lagora.dev/fiche/dev.htsapi/mcp)

HTML

<a href="https://lagora.dev/fiche/dev.htsapi/mcp"><img src="https://lagora.dev/badge/dev.htsapi/mcp.svg" alt="dev.htsapi/mcp sur L’Agora" height="20"></a>

Mettre en avant

Réservé à l’auteur de la fiche : connectez-vous pour continuer.

Signaler cette fiche