How to Use NHTSA vehicle makes in opencode
Returns make names and identifiers from vPIC, with manufacturer or vehicle-type discovery where requested. Use it to resolve the source's make names before building a model catalog.
Prompts to try with NHTSA vehicle makes in opencode
Copy an example into opencode, or ask in your own words.
Use NHTSA vehicle makes to find Honda and Toyota. Create a reference table in this project with their returned make names and IDs.
Use NHTSA vehicle makes to look this up and give me the result as a table. Save the result in ./assets.
Pull the latest numbers from NHTSA vehicle makes and tell me what changed since last week.
Check NHTSA vehicle makes and summarize what you find in three bullet points.
Pull the newest data from NHTSA vehicle makes and give me the result as a table.
How to set up NHTSA vehicle makes in opencode
Pick the way that suits you. Each takes about two minutes.
Use Spiral's MCP server
- Add the server
Leave out --global to add Spiral to the current project only. No header and no client ID or secret: opencode registers itself with Spiral.
opencode mcp add spiral --global --url https://api.spiral.ai/mcp
- Sign in
Your browser opens. Sign in to Spiral, pick the organization and click Authorize, then return to the terminal. No API key. Inside opencode, /mcps starts the same sign-in.
opencode mcp auth spiral
- Check it
Spiral shows as connected.
opencode mcp list
Use the Spiral skill
- Send opencode 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 vehicle makes
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/list_makes", "input": { "manufacturer": "<manufacturer>" } }'
Then paste one of the prompts above: opencode finds NHTSA vehicle makes on Spiral, shows the price and runs it.
NHTSA vehicle makes providers and prices
Spiral runs NHTSA vehicle makes through Alexandria. Open a card for today's price, with every fee included.
Settings you can ask for
Ask opencode for any of these in your prompt.
| Setting | Allowed values | Default | Description |
|---|---|---|---|
| Limit | 1 to 500 | 100 | Only with |
| Model year | 1900 to 2100 | Only with |
Every API field of NHTSA vPIC vehicle decoder · List makes is on its tool page: open its card above.
What can you do with NHTSA vehicle makes in opencode?
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.
Build vehicle catalog selection lists
Start with manufacturer records, resolve their business identities and makes, and populate model selections. Add manufacturer prefix references and dictionary definitions so catalog editors can interpret vehicle categories consistently.
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.
Resolve manufacturer names in supplier records
Compare a supplier's manufacturing identity with the public registry. Use business details, make associations, and WMI records to distinguish similarly named entities and explain unfamiliar VIN prefixes.
Maintain vehicle reference tables
Compare successive retrievals of manufacturer, make, model, prefix, and dictionary records. Review changed business details and reference values before updating a vehicle catalog.
More on NHTSA vehicle makes and opencode
Overview
NHTSA vehicle makes in other agents
Questions about NHTSA vehicle makes in opencode
Can opencode use NHTSA vehicle makes?
Yes. Add Spiral to opencode as an MCP server, and opencode can find and run NHTSA vehicle makes like any built-in tool.
How much does NHTSA vehicle makes cost in opencode?
$0.00873 per call. You pay from your Spiral balance as you go, with no subscription, and a failed run is not charged. Your opencode plan is separate.
Do I need an Alexandria account to use NHTSA vehicle makes in opencode?
No. Spiral runs NHTSA vehicle makes 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 vehicle makes in opencode?
About two minutes: add the server, then sign in, then check it.
Does opencode wait while NHTSA vehicle makes runs?
NHTSA vehicle makes runs in the background. opencode 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 vehicle makes in opencode
One Spiral account for every tool your agent needs. No subscription; you pay per run.
Paste this into opencode:
set up https://spiral.ai/SKILL.md


