[Integrations](https://spiral.ai/integrations) › [opencode](https://spiral.ai/integrations/opencode) › [FMCSA SMS carrier safety records](https://spiral.ai/integrations/opencode/fmcsa-sms-carrier-safety-records)

# 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.

|  |  |
| --- | --- |
| Model | FMCSA SMS carrier safety records |
| Available through | Alexandria |
| Category | Lead Gen |
| Price | $0.00873 per call. |
| Returns | json |
| Runs | In the background |
| Setup | About 2 minutes, no API key |

## Prompts to try with FMCSA SMS carrier safety records in opencode

- 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.
- 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.

```bash
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.

```bash
opencode mcp auth spiral
```

3. **Check it**: Spiral shows as connected.

```bash
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.

```bash
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.

```bash
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.

Setup guide in the docs: https://spiral.ai/docs/quickstarts/opencode

## FMCSA SMS carrier safety records tools and prices

- [FMCSA SAFER and SMS carrier registry · Get sms safety records](https://spiral.ai/tools/alexandria/safer-fmcsa-dot-gov/carriers/get_sms_safety_records) (Alexandria): $0.00873 per call.

## Settings you can ask for

| Setting | Allowed values | Default | Description |
| --- | --- | --- | --- |
| basic | all, unsafe_driving, hos_compliance, driver_fitness, drugs_alcohol, vehicle_maintenance, hm_compliance, crash_indicator | — | Restrict the export to one BASIC (the site's Download focus). Default all. crash_indicator exports crashes only. |
| continuation |  | — | Opaque cursor from a previous call's meta.page.next_cursor (the record offset); omit for the first page. |

## 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.

## Overview

- [Alexandria](https://spiral.ai/providers/alexandria)
- [All opencode guides](https://spiral.ai/integrations/opencode)

## FMCSA SMS carrier safety records in other agents

- [Amp](https://spiral.ai/integrations/amp/fmcsa-sms-carrier-safety-records)
- [ChatGPT](https://spiral.ai/integrations/chatgpt/fmcsa-sms-carrier-safety-records)
- [Claude](https://spiral.ai/integrations/claude-desktop/fmcsa-sms-carrier-safety-records)
- [Claude Code](https://spiral.ai/integrations/claude-code/fmcsa-sms-carrier-safety-records)
- [Cline](https://spiral.ai/integrations/cline/fmcsa-sms-carrier-safety-records)
- [Codex](https://spiral.ai/integrations/codex/fmcsa-sms-carrier-safety-records)
- [Cursor](https://spiral.ai/integrations/cursor/fmcsa-sms-carrier-safety-records)
- [Devin](https://spiral.ai/integrations/devin/fmcsa-sms-carrier-safety-records)
- [dots](https://spiral.ai/integrations/dots/fmcsa-sms-carrier-safety-records)
- [Factory Droid](https://spiral.ai/integrations/factory-droid/fmcsa-sms-carrier-safety-records)
- [Gemini](https://spiral.ai/integrations/gemini/fmcsa-sms-carrier-safety-records)
- [Gemini CLI](https://spiral.ai/integrations/gemini-cli/fmcsa-sms-carrier-safety-records)
- [Google Antigravity](https://spiral.ai/integrations/antigravity/fmcsa-sms-carrier-safety-records)
- [goose](https://spiral.ai/integrations/goose/fmcsa-sms-carrier-safety-records)
- [Grok](https://spiral.ai/integrations/grok/fmcsa-sms-carrier-safety-records)
- [Grok Build](https://spiral.ai/integrations/grok-build/fmcsa-sms-carrier-safety-records)
- [Hermes](https://spiral.ai/integrations/hermes/fmcsa-sms-carrier-safety-records)
- [Instinct](https://spiral.ai/integrations/instinct/fmcsa-sms-carrier-safety-records)
- [Manus](https://spiral.ai/integrations/manus/fmcsa-sms-carrier-safety-records)
- [Muse](https://spiral.ai/integrations/muse/fmcsa-sms-carrier-safety-records)
- [Muse Code](https://spiral.ai/integrations/muse-code/fmcsa-sms-carrier-safety-records)
- [n8n](https://spiral.ai/integrations/n8n/fmcsa-sms-carrier-safety-records)
- [Notion](https://spiral.ai/integrations/notion/fmcsa-sms-carrier-safety-records)
- [OpenClaw](https://spiral.ai/integrations/openclaw/fmcsa-sms-carrier-safety-records)
- [Perplexity](https://spiral.ai/integrations/perplexity/fmcsa-sms-carrier-safety-records)
- [Raycast](https://spiral.ai/integrations/raycast/fmcsa-sms-carrier-safety-records)
- [VS Code](https://spiral.ai/integrations/vscode/fmcsa-sms-carrier-safety-records)
- [Windsurf](https://spiral.ai/integrations/windsurf/fmcsa-sms-carrier-safety-records)
- [Zapier](https://spiral.ai/integrations/zapier/fmcsa-sms-carrier-safety-records)

## More opencode guides

- [FMCSA SMS carrier safety overview](https://spiral.ai/integrations/opencode/fmcsa-sms-carrier-safety-overview)
- [FMCSA SMS carrier search](https://spiral.ai/integrations/opencode/fmcsa-sms-carrier-search)
- [FMCSA SMS carrier name suggestions](https://spiral.ai/integrations/opencode/fmcsa-sms-carrier-name-suggestions)
- [Filtrat LinkedIn email finder](https://spiral.ai/integrations/opencode/filtrat-linkedin-email-finder)
- [FMCSA SAFER carrier snapshot](https://spiral.ai/integrations/opencode/fmcsa-safer-carrier-snapshot)
- [Filtrat email verification](https://spiral.ai/integrations/opencode/filtrat-email-verification)

## 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.

