How to Use USDOT NAD address points in VS Code
Returns address points with coordinates, jurisdictions, source details, and record dates from USDOT's published text release. Use it to build an address reference or inspect records, with geographic filtering after retrieval.
Prompts to try with USDOT NAD address points in VS Code
Copy an example into VS Code, or ask in your own words.
Use USDOT NAD address points to retrieve 100 records and add a parser to this project's import code that preserves address components, coordinates, jurisdiction, and source details.
Use USDOT NAD address points to fetch a small sample for our Massachusetts mapping project. Show which jurisdictions the sample actually contains before adding any geographic filter.
Use USDOT NAD address points to retrieve 200 rows and implement a report of how often address type and placement are populated. Report only the retrieved sample.
Use USDOT NAD address points to look this up and give me the result as a table. Save the result in ./assets.
Pull the latest numbers from USDOT NAD address points and tell me what changed since last week.
How to set up USDOT NAD address points in VS Code
Pick the way that suits you. Each takes about two minutes.
Use Spiral's MCP server
- Add the hosted server
Use Add to VS Code on the console's Agents & MCP page, or run:
code --add-mcp '{"name":"spiral","type":"http","url":"https://api.spiral.ai/mcp"}' - Sign in
VS Code asks you to sign in when it first starts the server: sign in to Spiral and click Authorize. No API key. Run MCP: List Servers from the Command Palette to check that Spiral is running.
Use the Spiral skill
- Send VS 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 USDOT NAD address points
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": "data-transportation-gov/addresses/records_list", "input": { "cursor": "<cursor>" } }'
Then paste one of the prompts above: VS Code finds USDOT NAD address points on Spiral, shows the price and runs it.
USDOT NAD address points providers and prices
Spiral runs USDOT NAD address points through Alexandria. Open a card for today's price, with every fee included.
Settings you can ask for
Ask VS Code for any of these in your prompt.
| Setting | Allowed values | Default | Description |
|---|---|---|---|
| Page size | 1 to 5000 | 1000 | Rows per page. |
Every API field of USDOT National Address Database (NAD) · Records list is on its tool page: open its card above.
What can you do with USDOT NAD address points in VS Code?
Build a municipal address reference with a documented NAD publication. A coding agent can add release checks and address imports to a project, then apply jurisdiction filters to the retrieved records.
Refresh a municipal address reference
Check the NAD publication before refreshing an address reference for a permitting or public-facility project. Import address points from that publication and select the relevant jurisdiction after retrieval.
Document the source behind a planning map
Pair a map's address points with the NAD release metadata used to obtain them. This gives reviewers a specific publication to inspect alongside the mapped coordinates and jurisdictions.
Compare published address inventories
Identify a new NAD publication, then compare its imported address inventory with a previously retained copy. Report differences as changes between releases rather than assuming every added row represents new construction.
Review an address import
Use release metadata to document the expected publication and reported row count. Inspect imported address points for coordinates, jurisdiction values, and source information before using the reference in a public-service application.
Check public-facility address matches
Compare a city's published library or municipal-office addresses with an imported NAD reference. Flag disagreements for review without treating absence from the NAD as proof that a facility address is invalid.
Measure available address detail
Summarize which imported records include subaddresses, ZIP codes, address types, and placement descriptions. Use the results to decide which NAD attributes a jurisdiction's mapping project can support.
More on USDOT NAD address points and VS Code
Overview
USDOT NAD address points in other agents
Questions about USDOT NAD address points in VS Code
Can VS Code use USDOT NAD address points?
Yes. Add Spiral to VS Code as an MCP server, and VS Code can find and run USDOT NAD address points like any built-in tool.
How much does USDOT NAD address points cost in VS 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 VS Code plan is separate.
Do I need an Alexandria account to use USDOT NAD address points in VS Code?
No. Spiral runs USDOT NAD address points on its own Alexandria account. You sign in to Spiral once and never paste a key.
How long does it take to set up USDOT NAD address points in VS Code?
About two minutes: add the hosted server, then sign in.
Does VS Code wait while USDOT NAD address points runs?
USDOT NAD address points runs in the background. VS Code starts the run, checks on it and gives you the json when it's ready.
Does the NAD cover every address in a participating state?
No. USDOT explicitly says some states that contribute data do not have complete coverage, so a missing address does not establish that the location lacks an address.
How often does the NAD change?
The federal Address Theme report describes quarterly NAD updates. It also calls for coverage maps and data-age statistics to be revised after each update.
Where do NAD addresses come from?
USDOT compiles authoritative address data from state, local, and tribal government programs. Coverage therefore depends on the address programs contributing to the database.
Does the NAD describe buildings only?
Its scope includes structures, some subunits within structures, and landmarks. The published data also includes coordinates, jurisdictions, and metadata about addressable locations.
Will every address include its use type and point placement?
No. USDOT's content requirements allow submissions without address type or address placement, so those details are not available uniformly.
Start using USDOT NAD address points in VS Code
One Spiral account for every tool your agent needs. No subscription; you pay per run.
Paste this into VS Code:
set up https://spiral.ai/SKILL.md


