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

opencode · Listings

How to Use Oregon contractor license details in opencode

Returns one Oregon license record, including CCB endorsements, surety bonds, liability insurance and expiration dates where published. Use it to examine a specific contractor after finding its license number.

Prompts to try with Oregon contractor license details in opencode

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

Use Oregon contractor license details for CCB license 28417 and create a project report showing the returned endorsements, bond companies, insurance carriers and expiration dates.

Oregon contractor license detailsopencode
Try asking
  • Use Oregon contractor license details for CCB license 28417 and compare its returned business name and endorsements with any matching vendor entry in this repository.

  • Use Oregon contractor license details to look this up and give me the result as a table. Save the result in ./assets.

  • Pull the latest numbers from Oregon contractor license details and tell me what changed since last week.

  • Check Oregon contractor license details and summarize what you find in three bullet points.

How to set up Oregon contractor license details 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 Oregon contractor license details

    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-oregon-gov/licenses/get_license",
        "input": {
          "license_number": "<license_number>"
        }
      }'

Then paste one of the prompts above: opencode finds Oregon contractor license details on Spiral, shows the price and runs it.

Oregon contractor license details providers and prices

Spiral runs Oregon contractor license details through Alexandria. Open a card for today's price, with every fee included.

AlexandriaListings
Oregon Open Data Portal · Get license
data-oregon-gov/licenses/get_license

Settings you can ask for

Ask opencode for any of these in your prompt.

SettingAllowed valuesDefaultDescription
Sourceccb or bcdccb

ccb: Construction Contractors Board active licences (g77e-6bhs, daily). bcd: Building Codes Division active trade licences and certifications (vhbr-cuaq, monthly).

Every API field of Oregon Open Data Portal · Get license is on its tool page: open its card above.

What can you do with Oregon contractor license details in opencode?

Build a contractor review table that matches Oregon businesses to published license credentials and expiration dates. A coding agent can add CCB endorsements, bond and insurance information to a project's vendor records while keeping BCD trade credentials separate.

Prepare a contractor shortlist

Find construction businesses in Portland or Bend, then review their published endorsements and license expiration dates before requesting bids.

Review vendor onboarding records

Match a contractor's business name to its Oregon license and prepare a review sheet with the published license, bond and liability insurance information.

Plan renewal follow-ups

Identify upcoming expiration dates in the published records for a contractor roster so procurement staff can request updated documentation.

Review residential and commercial endorsements

Compare the CCB endorsements published for shortlisted businesses and show which records list residential or commercial work.

Check trade contractor credentials

Find electrical or plumbing contractor businesses in BCD records and examine their published license types and expiration dates.

Resolve similar business names

Compare matching business names and locations, then use the selected license number to keep a bid review attached to the intended contractor.

Questions about Oregon contractor license details in opencode

Can opencode use Oregon contractor license details?

Yes. Add Spiral to opencode as an MCP server, and opencode can find and run Oregon contractor license details like any built-in tool.

How much does Oregon contractor license details 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 Oregon contractor license details in opencode?

No. Spiral runs Oregon contractor license details on its own Alexandria account. You sign in to Spiral once and never paste a key.

How long does it take to set up Oregon contractor license details in opencode?

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

Does opencode wait while Oregon contractor license details runs?

Oregon contractor license details runs in the background. opencode starts the run, checks on it and gives you the json when it's ready.

Which Oregon licenses does the source cover?

It covers CCB active contractor licenses and Building Codes Division active trade licenses. BCD includes electrical, plumbing, boiler, elevator, prefab and manufactured dwelling licenses, plus inspector code certifications.

How fresh are the license records?

The provider documents daily updates for CCB and monthly updates for Building Codes Division. BCD records therefore have a longer refresh interval than CCB records.

Can I retrieve an expired or suspended license?

These tools use active-license datasets. The provider states that an expired or suspended Oregon license comes back as not found, so the results are not a complete licensing history.

Does an old registration date prove continuous licensing?

No. CCB defines its original registration date as the first license term regardless of subsequent activity, so that date alone cannot establish uninterrupted licensing.

Why might a contractor's business name return no match?

CCB specifically warns that spelling and punctuation differences can hide a name match. It recommends using the CCB license number for the most accurate lookup or trying a shorter business name.

Get started

Start using Oregon contractor license details 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