[Integrations](https://spiral.ai/integrations) › [Factory Droid](https://spiral.ai/integrations/factory-droid) › [CSLB contractors by location](https://spiral.ai/integrations/factory-droid/cslb-contractors-by-location)

# How to Use CSLB contractors by location in Factory Droid

Find currently licensed California contractors by city or ZIP code. Use the results to build a local shortlist before checking individual license records.

|  |  |
| --- | --- |
| Model | CSLB contractors by location |
| 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 CSLB contractors by location in Factory Droid

- Use CSLB contractors by location to retrieve licensed contractors in Sacramento and add the returned business results to a CSV in this project.
- Use CSLB contractors by location to look this up and give me the result as a table. Save the result in ./assets.
- Pull the latest numbers from CSLB contractors by location and tell me what changed since last week.
- Check CSLB contractors by location and summarize what you find in three bullet points.
- Pull the newest data from CSLB contractors by location and give me the result as a table.

## How to set up CSLB contractors by location in Factory Droid

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

### Use Spiral's MCP server

1. **Add the server**: Droid saves it to your user config, `~/.factory/mcp.json`, so it works in every project.

```bash
droid mcp add spiral https://api.spiral.ai/mcp --type http
```

2. **Sign in**: Start `droid`, type `/mcp`, select spiral and authenticate it. Sign in to Spiral in the browser and click Authorize. No API key.

3. **Check it**: Spiral shows as connected. needs authentication means the sign-in did not finish: run `/mcp` again.

```bash
droid mcp list
```

### Use the Spiral skill

1. **Send Factory Droid 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 CSLB contractors by location**: 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": "cslb-ca-gov/licenses/find_contractors_by_location",
    "input": {
      "classification": "<classification>",
      "zip_code": "<zip_code>"
    }
  }'
```

Then paste one of the prompts above: Factory Droid finds CSLB contractors by location on Spiral, shows the price and runs it.

Setup guide in the docs: https://spiral.ai/docs/quickstarts/factory-droid

## CSLB contractors by location tools and prices

- [California CSLB contractor license lookup · Find contractors by location](https://spiral.ai/tools/alexandria/cslb-ca-gov/licenses/find_contractors_by_location) (Alexandria): $0.00873 per call.

## Settings you can ask for

| Setting | Allowed values | Default | Description |
| --- | --- | --- | --- |
| city |  | — | California city name (at least 4 characters, as the form requires). Exactly one of zip_code or city. |
| zip_code |  | — | Five-digit ZIP code. Exactly one of zip_code or city. Pattern: ^[0-9]{5}$. |

## What can you do with CSLB contractors by location in Factory Droid?

Add CSLB contractor records to a procurement dashboard or vendor review report. A coding agent can turn license details, search results, public personnel affiliations, or complaint disclosures into reviewable tables in your project.

### Build a local contractor shortlist

Find licensed businesses in Sacramento, inspect their license classifications, and review public complaint disclosures before requesting bids.

### Find replacement maintenance vendors

Search the property's California city for alternatives, resolve business names, and compare license status, personnel affiliations, and disclosed complaints before replacing a vendor.

### Compare remodel contractor candidates

Find businesses in San Diego and compare their recorded classifications, public license personnel, and complaint disclosures for a commercial remodeling bid list.

### Clean a contractor business directory

Reconcile directory names against CSLB name matches and geographic results. Inspect detailed records and public personnel affiliations to review ambiguous business entries.

### Prepare procurement research across cities

Build separate contractor candidate lists for Fresno and Sacramento, resolve named bidders, and assemble license, personnel, and complaint records for each city's procurement review.

## Overview

- [Alexandria](https://spiral.ai/providers/alexandria)
- [All Factory Droid guides](https://spiral.ai/integrations/factory-droid)

## CSLB contractors by location in other agents

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

## More Factory Droid guides

- [CSLB contractor license personnel](https://spiral.ai/integrations/factory-droid/cslb-contractor-license-personnel)
- [Canadian patent details](https://spiral.ai/integrations/factory-droid/canadian-patent-details)
- [CSLB contractor license details](https://spiral.ai/integrations/factory-droid/cslb-contractor-license-details)
- [Canadian patent search](https://spiral.ai/integrations/factory-droid/canadian-patent-search)
- [CSLB contractor complaint disclosure](https://spiral.ai/integrations/factory-droid/cslb-contractor-complaint-disclosure)
- [Colorado business entity details](https://spiral.ai/integrations/factory-droid/colorado-business-entity-details)

## Questions about CSLB contractors by location in Factory Droid

**Can Factory Droid use CSLB contractors by location?**

Yes. Add Spiral to Factory Droid as an MCP server, and Factory Droid can find and run CSLB contractors by location like any built-in tool.

**How much does CSLB contractors by location cost in Factory Droid?**

$0.00873 per call. You pay from your Spiral balance as you go, with no subscription, and a failed run is not charged. Your Factory Droid plan is separate.

**Do I need an Alexandria account to use CSLB contractors by location in Factory Droid?**

No. Spiral runs CSLB contractors by location on its own Alexandria account. You sign in to Spiral once and never paste a key.

**How long does it take to set up CSLB contractors by location in Factory Droid?**

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

**Does Factory Droid wait while CSLB contractors by location runs?**

CSLB contractors by location runs in the background. Factory Droid starts the run, checks on it and gives you the json when it's ready.

**What geographic area do CSLB contractor records cover?**

These records concern California contractor licenses. CSLB's geographic search finds licensed contractors by California city or ZIP code.

**How current are CSLB records?**

License status can change at any time. CSLB also warns that workload can delay database entry, so a current lookup can still lack recently received information.

**Does CSLB publish every complaint?**

No. Public disclosure covers specified cases, including citations, accusation referrals, and qualifying serious investigations; disclosed allegations are not necessarily established findings.

**Can a CSLB business name search have more results than the first page?**

Yes. CSLB displays up to 50 business names at a time and provides another page when more matches exist.

**Why might a full business name fail to find a CSLB record?**

CSLB recommends starting with only the first 10 to 15 letters of the business name. If that finds nothing, its guidance is to try again with one or two fewer characters.

