Spiral gives your agent every tool with one account. Browse the tools →

Claude Code · Finance

How to Use USITC HTS tariff line in Claude Code

Fetch one HTS entry with its article description, reporting units, and duty-rate columns. Use it to inspect a known classification number or check a candidate found through product search.

Prompts to try with USITC HTS tariff line in Claude Code

Copy an example into Claude Code, or ask in your own words.

Use USITC HTS tariff line to retrieve 8541.43.00.10 and add its description, units, and duty-rate columns to a JSON fixture in this project.

USITC HTS tariff lineClaude Code
Try asking
  • Use USITC HTS tariff line to look this up and give me the result as a table. Save the result in ./assets.

  • Pull the latest numbers from USITC HTS tariff line and tell me what changed since last week.

  • Check USITC HTS tariff line and summarize what you find in three bullet points.

  • Pull the newest data from USITC HTS tariff line and give me the result as a table.

How to set up USITC HTS tariff line in Claude Code

Pick the way that suits you. Each takes about two minutes.

Use Spiral's MCP server

  1. Add the hosted server

    This adds Spiral to the current project. Add --scope user to use it in every project.

    claude mcp add --transport http spiral https://api.spiral.ai/mcp
  2. Sign in

    Start claude, type /mcp, choose spiral and Authenticate. Sign in to Spiral in the browser and click Authorize. No API key.

Use the Spiral skill

  1. Send Claude Code this message

    Your agent reads Spiral's skill and sets itself up.

    set up https://spiral.ai/SKILL.md
  2. Sign in or paste a key

    Approve Spiral in the browser, or give the agent a key from the console.

Use the Spiral CLI

  1. Install and sign in

    Installs the Spiral CLI, signs you in and adds its skill to your coding agents.

    npx -y spiral-cli@latest init

Call the Spiral API

  1. Create an API key

    In the console, under API keys.

  2. Run USITC HTS tariff line

    One request; the result comes back by polling or a webhook.

    curl https://api.spiral.ai/v1/runs \
      -H "Authorization: Bearer $SPIRAL_API_KEY" \
      -H "Content-Type: application/json" \
      -H "Idempotency-Key: $(uuidgen)" \
      -d '{
        "provider": "alexandria",
        "model": "hts-usitc-gov/tariff-schedule/records_get",
        "input": {
          "htsno": "<htsno>"
        }
      }'

Then paste one of the prompts above: Claude Code finds USITC HTS tariff line on Spiral, shows the price and runs it.

USITC HTS tariff line providers and prices

Spiral runs USITC HTS tariff line through Alexandria. Open a card for today's price, with every fee included.

AlexandriaFinance
USITC Harmonized Tariff Schedule (HTSUS) · Records get
hts-usitc-gov/tariff-schedule/records_get

What can you do with USITC HTS tariff line in Claude Code?

Build a tariff reference in your project with USITC descriptions, quantity units, and duty-rate columns. Add revision checks so the project can identify when its saved HTS data needs refreshing.

Review an electronics import catalog

Search descriptions for connectors and power supplies, inspect candidate tariff lines, and compare surrounding chapter entries. Check the revision before refreshing the catalog's classification references.

Prepare a solar procurement review

Find photovoltaic descriptions, retrieve candidate entries, and compare related classifications in the chapter records. Attach the current revision identity to the procurement brief.

Build a textile classification brief

Search for cotton shirts, inspect the descriptions and units of candidate entries, and compare chapter alternatives. Identify the revision used in the brief sent for classification review.

Refresh product classification references

Check for a new revision, reload relevant chapters, and look up saved tariff numbers. Search product descriptions for replacement candidates when a saved number no longer appears.

Resolve product-name mismatches

Search technical descriptions such as static converters for telecommunication devices, then inspect candidate tariff lines. Give purchasing staff the schedule wording alongside their everyday product names.

Questions about USITC HTS tariff line in Claude Code

Can Claude Code use USITC HTS tariff line?

Yes. Add Spiral to Claude Code as an MCP server, and Claude Code can find and run USITC HTS tariff line like any built-in tool.

How much does USITC HTS tariff line cost in Claude Code?

$0.00873 per call. You pay from your Spiral balance as you go, with no subscription, and a failed run is not charged. Your Claude Code plan is separate.

Do I need an Alexandria account to use USITC HTS tariff line in Claude Code?

No. Spiral runs USITC HTS tariff line on its own Alexandria account. You sign in to Spiral once and never paste a key.

How long does it take to set up USITC HTS tariff line in Claude Code?

About two minutes: add the hosted server, then sign in.

Does Claude Code wait while USITC HTS tariff line runs?

USITC HTS tariff line runs in the background. Claude Code starts the run, checks on it and gives you the json when it's ready.

Which country's tariffs does the HTS cover?

It covers merchandise imported into the United States, with tariff rates and statistical classifications. Its coverage is U.S. imports.

How often does the schedule change?

USITC revises the online HTS throughout the year as modifications occur. Revision status identifies the current edition and its dates so you can check whether a saved reference needs updating.

Can I retrieve the tariff schedule for an earlier shipment?

These endpoints serve the current revision only. USITC's separate archive provides historical editions beginning in 1989.

Why might a familiar product name return no matches?

HTS descriptions can use technical wording. USITC says phone chargers are listed as static converters for telecommunication devices, so searching only for the everyday name can miss them.

Does keyword search return every matching tariff entry?

USITC's guide documents a limit of the first 100 matches for its underlying REST search. Use narrower product terms or chapter records when you need broader coverage.

Get started

Start using USITC HTS tariff line in Claude Code

One Spiral account for every tool your agent needs. No subscription; you pay per run.

Paste this into Claude Code:

Set up Claude Code

set up https://spiral.ai/SKILL.md
Are you an AI agent? See setup options