[Integrations](https://spiral.ai/integrations) › [Claude Code](https://spiral.ai/integrations/claude-code) › [Oregon contractor license details](https://spiral.ai/integrations/claude-code/oregon-contractor-license-details)

# How to Use Oregon contractor license details in Claude Code

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.

|  |  |
| --- | --- |
| Model | Oregon contractor license details |
| Available through | Alexandria |
| Category | Listings |
| Price | $0.00873 per call. |
| Returns | json |
| Runs | In the background |
| Setup | About 2 minutes, no API key |

## Prompts to try with Oregon contractor license details in Claude Code

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

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

### Use Spiral's MCP server

1. **Add the hosted server**: This adds Spiral to the current project. Add `--scope user` to use it in every project.

```bash
claude mcp add --transport http spiral https://api.spiral.ai/mcp
```

2. **Sign in**: Start `claude`, type `/mcp`, choose spiral and Authenticate. Sign in to Spiral in the browser and click Authorize. No API key.

### Use the Spiral skill

1. **Send Claude Code 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 Oregon contractor license details**: 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": "data-oregon-gov/licenses/get_license",
    "input": {
      "license_number": "<license_number>"
    }
  }'
```

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

Setup guide in the docs: https://spiral.ai/docs/quickstarts/claude-code

## Oregon contractor license details tools and prices

- [Oregon Open Data Portal · Get license](https://spiral.ai/tools/alexandria/data-oregon-gov/licenses/get_license) (Alexandria): $0.00873 per call.

## Settings you can ask for

| Setting | Allowed values | Default | Description |
| --- | --- | --- | --- |
| source | ccb, bcd | ccb | `ccb`: Construction Contractors Board active licences (g77e-6bhs, daily). `bcd`: Building Codes Division active trade licences and certifications (vhbr-cuaq, monthly). |
| license_type |  | — | ccb only. `OCHI` reads the Oregon Certified Home Inspector certificate that can share its number with a contractor licence; any other value, such as a record's license_type, reads the contractor licence. Default: the contractor licence when both exist. |

## What can you do with Oregon contractor license details in Claude Code?

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.

## Overview

- [Alexandria](https://spiral.ai/providers/alexandria)
- [All Claude Code guides](https://spiral.ai/integrations/claude-code)

## Oregon contractor license details in other agents

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

## More Claude Code guides

- [OpenAddresses source status](https://spiral.ai/integrations/claude-code/openaddresses-source-status)
- [Oregon contractor search](https://spiral.ai/integrations/claude-code/oregon-contractor-search)
- [OpenAddresses source history](https://spiral.ai/integrations/claude-code/openaddresses-source-history)
- [Pittsburgh code violations](https://spiral.ai/integrations/claude-code/pittsburgh-code-violations)
- [OpenAddresses source catalog](https://spiral.ai/integrations/claude-code/openaddresses-source-catalog)
- [Pittsburgh condemned properties](https://spiral.ai/integrations/claude-code/pittsburgh-condemned-properties)

## Questions about Oregon contractor license details in Claude Code

**Can Claude Code use Oregon contractor license details?**

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

**How much does Oregon contractor license details cost in Claude 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 Claude Code plan is separate.

**Do I need an Alexandria account to use Oregon contractor license details in Claude Code?**

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 Claude Code?**

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

**Does Claude Code wait while Oregon contractor license details runs?**

Oregon contractor license details runs in the background. Claude Code 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.

