How to Use NHTSA batch VIN decoder in Claude Code
Returns decoded vehicle records for up to 50 VINs per batch, using the same flat output as individual decoding. Use it to enrich an inventory export or compare vehicle descriptions across multiple records.
Prompts to try with NHTSA batch VIN decoder in Claude Code
Copy an example into Claude Code, or ask in your own words.
Use NHTSA batch VIN decoder to look this up and give me the result as a table. Save the result in ./assets.
Pull the latest numbers from NHTSA batch VIN decoder and tell me what changed since last week.
Check NHTSA batch VIN decoder and summarize what you find in three bullet points.
Pull the newest data from NHTSA batch VIN decoder and give me the result as a table.
Check NHTSA batch VIN decoder every morning and tell me only when something changed.
How to set up NHTSA batch VIN decoder in Claude Code
Pick the way that suits you. Each takes about two minutes.
Use Spiral's MCP server
- 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
- 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
- Send Claude Code this message
Your agent reads Spiral's skill and sets itself up.
set up https://spiral.ai/SKILL.md
- Sign in or paste a key
Approve Spiral in the browser, or give the agent a key from the console.
Use the Spiral CLI
- 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
- Create an API key
In the console, under API keys.
- Run NHTSA batch VIN decoder
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": "vpic-nhtsa-dot-gov/vehicles/decode_vin_batch", "input": { "vins": [ {} ] } }'
Then paste one of the prompts above: Claude Code finds NHTSA batch VIN decoder on Spiral, shows the price and runs it.
NHTSA batch VIN decoder providers and prices
Spiral runs NHTSA batch VIN decoder through Alexandria. Open a card for today's price, with every fee included.
What can you do with NHTSA batch VIN decoder in Claude Code?
Build vehicle reference tables and inventory checks from NHTSA's manufacturer records and VIN data. A coding agent can map the returned identifiers and attribute definitions into the project's existing data structures.
Check dealer inventory descriptions
Decode inventory VINs individually or in batches, compare reported vehicle identity with listing descriptions, and explain attributes through the dictionary. Resolve unfamiliar prefixes, manufacturers, makes, and models before flagging a mismatch.
Standardize fleet vehicle records
Enrich a business fleet's VIN records with available vehicle specifications. Reconcile manufacturer entities, prefixes, make names, and model names, then use attribute definitions to build consistent reporting categories.
Build a vehicle research reference database
Create reference tables for manufacturers, makes, models, VIN prefixes, and attribute definitions. Use single and batch VIN decoding to attach vehicle characteristics to research records and investigate inconsistent identifiers.
Reconcile commercial trailer intake
Research trailer manufacturers and their makes, models, and WMI prefixes before matching incoming business inventory. Decode individual VIN exceptions or intake batches, using dictionary definitions to interpret trailer attributes.
Explain vehicle identification results
Turn individual or batch decode results into readable vehicle summaries. Explain manufacturer prefixes, compare model names, and translate attribute definitions and decode errors for inventory reviewers.
More on NHTSA batch VIN decoder and Claude Code
Overview
NHTSA batch VIN decoder in other agents
Questions about NHTSA batch VIN decoder in Claude Code
Can Claude Code use NHTSA batch VIN decoder?
Yes. Add Spiral to Claude Code as an MCP server, and Claude Code can find and run NHTSA batch VIN decoder like any built-in tool.
How much does NHTSA batch VIN decoder 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 NHTSA batch VIN decoder in Claude Code?
No. Spiral runs NHTSA batch VIN decoder on its own Alexandria account. You sign in to Spiral once and never paste a key.
How long does it take to set up NHTSA batch VIN decoder in Claude Code?
About two minutes: add the hosted server, then sign in.
Does Claude Code wait while NHTSA batch VIN decoder runs?
NHTSA batch VIN decoder runs in the background. Claude Code starts the run, checks on it and gives you the json when it's ready.
Where does NHTSA get vPIC's information?
NHTSA codes manufacturer submissions into vPIC after reviewing them. The vehicle descriptions reflect manufacturer-reported information.
Does vPIC cover vehicles worldwide?
Its scope is vehicles intended for sale or importation into the United States. Foreign manufacturers can appear, but that does not make vPIC a complete catalog of their vehicles in other markets.
How far back does vPIC's vehicle coverage go?
NHTSA states that vPIC is intended for model years 1981 onward. Its API FAQ reports approximately 99% decoding confidence from 1995 onward for most major brands, which is a coverage estimate rather than a guarantee for every attribute.
How does new information reach vPIC?
Manufacturer submissions enter the data after NHTSA review. Freshness follows that submission and review process; a newly announced vehicle is not proof that its information has already been processed.
Does vPIC provide complete equipment information?
NHTSA explicitly says that missing decoded values do not mean a feature or technology is unavailable on the vehicle. Its records can therefore support an equipment check without establishing a complete installed-equipment list.
Start using NHTSA batch VIN decoder 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 https://spiral.ai/SKILL.md


