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

opencode · Lead Gen

How to Use FMCSA SMS carrier safety records in opencode

Get the inspection, violation, or crash records behind a carrier’s SMS results. Use it to investigate specific events and recurring violations behind the summary totals.

Prompts to try with FMCSA SMS carrier safety records in opencode

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

Use FMCSA SMS carrier safety records for Schneider National Carriers, USDOT 264184, and create a report of recurring vehicle maintenance violations from the returned records.

FMCSA SMS carrier safety recordsopencode
Try asking
  • Use FMCSA SMS carrier safety records to look this up and give me the result as a table. Save the result in ./assets.

  • Pull the latest numbers from FMCSA SMS carrier safety records and tell me what changed since last week.

  • Check FMCSA SMS carrier safety records and summarize what you find in three bullet points.

  • Pull the newest data from FMCSA SMS carrier safety records and give me the result as a table.

How to set up FMCSA SMS carrier safety records in opencode

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

Use Spiral's MCP server

  1. 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
  2. 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
  3. Check it

    Spiral shows as connected.

    opencode mcp list

Use the Spiral skill

  1. Send opencode 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 FMCSA SMS carrier safety records

    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": "safer-fmcsa-dot-gov/carriers/get_sms_safety_records",
        "input": {
          "usdot_number": "<usdot_number>"
        }
      }'

Then paste one of the prompts above: opencode finds FMCSA SMS carrier safety records on Spiral, shows the price and runs it.

FMCSA SMS carrier safety records providers and prices

Spiral runs FMCSA SMS carrier safety records through Alexandria. Open a card for today's price, with every fee included.

AlexandriaLead Gen
FMCSA SAFER and SMS carrier registry · Get sms safety records
safer-fmcsa-dot-gov/carriers/get_sms_safety_records

Settings you can ask for

Ask opencode for any of these in your prompt.

SettingAllowed valuesDefaultDescription
Basicall, unsafe_driving, hos_compliance, driver_fitness, drugs_alcohol, vehicle_maintenance, hm_compliance, or crash_indicator

Restrict the export to one BASIC (the site's Download focus). Default all. crash_indicator exports crashes only.

Every API field of FMCSA SAFER and SMS carrier registry · Get sms safety records is on its tool page: open its card above.

What can you do with FMCSA SMS carrier safety records in opencode?

Build a carrier review table that connects company identity, fleet size, and public safety evidence by USDOT number. Use name lookups to resolve business records before adding SAFER snapshots and SMS summaries to the project.

Prepare a carrier onboarding review

Resolve a proposed carrier’s name with SMS suggestions and SAFER search, compare the SMS listing, and assemble its registration snapshot, safety overview, and supporting records for review.

Compare carriers bidding for freight

Match bidder names to registered businesses, compare fleet sizes and public safety summaries, and examine records behind questions raised during the bid review.

Separate similarly named transportation companies

Collect recognized name spellings and search matches, distinguish businesses by location and USDOT identifier, and prepare separate registration and safety reviews for each candidate.

Review a changing carrier shortlist

Resolve names as businesses enter a procurement shortlist, then refresh their registration and public safety reviews. Inspect underlying events when a carrier’s summary changes.

Find recurring vehicle maintenance violations

Review a carrier’s public maintenance results, examine the underlying inspection and violation records, and summarize recurring issues for a company-level maintenance discussion.

Explain the evidence behind a carrier review

Pair the registration and safety summaries with supporting inspection, violation, and crash records so a reviewer can see which events prompted follow-up questions.

Questions about FMCSA SMS carrier safety records in opencode

Can opencode use FMCSA SMS carrier safety records?

Yes. Add Spiral to opencode as an MCP server, and opencode can find and run FMCSA SMS carrier safety records like any built-in tool.

How much does FMCSA SMS carrier safety records 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 FMCSA SMS carrier safety records in opencode?

No. Spiral runs FMCSA SMS carrier safety records on its own Alexandria account. You sign in to Spiral once and never paste a key.

How long does it take to set up FMCSA SMS carrier safety records in opencode?

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

Does opencode wait while FMCSA SMS carrier safety records runs?

FMCSA SMS carrier safety records runs in the background. opencode starts the run, checks on it and gives you the json when it's ready.

How often does FMCSA update the data?

FMCSA documents daily updates for the SAFER Company Snapshot and monthly updates for SMS. SMS search results and safety summaries therefore reflect a monthly snapshot.

How much safety history does SMS summarize?

The SMS overview summarizes 24 months of inspections and crash history. It also lists the five most recent investigations.

Are all property-carrier safety results public?

No. The Crash Indicator and Hazardous Materials Compliance BASICs remain hidden from the public property-carrier view.

Why might a broad carrier-name search miss a company?

SAFER returns a maximum of 500 name matches. If results are truncated, narrow the company name and search again.

Do listed crashes establish that the carrier was responsible?

No. SAFER reports a carrier’s involvement in reportable crashes without determining responsibility.

Get started

Start using FMCSA SMS carrier safety records in opencode

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

Paste this into opencode:

Set up opencode

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