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

Muse Code · Lead Gen

How to Use Arizona ROC contractor search in Muse Code

Returns matching contractors from Arizona's public license register. Use it to find businesses by name or locate a trade in an Arizona city, then examine the individual license records.

Prompts to try with Arizona ROC contractor search in Muse Code

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

Use Arizona ROC contractor search to find electrical contractors in Phoenix and add the returned businesses to a review table in this project.

Arizona ROC contractor searchMuse Code
Try asking
  • Use Arizona ROC contractor search to find roofing businesses in Mesa and export the returned matches into a CSV for our procurement review.

  • Use Arizona ROC contractor search to look this up and give me the result as a table. Save the result in ./assets.

  • Pull the latest numbers from Arizona ROC contractor search and tell me what changed since last week.

  • Check Arizona ROC contractor search and summarize what you find in three bullet points.

How to set up Arizona ROC contractor search in Muse Code

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

Use Spiral's MCP server

  1. Install Muse Code
    curl -fsSL https://dev.meta.ai/install.sh | bash
  2. Ask Muse to add the server

    Start muse and ask:

    Add the Spiral MCP server at https://api.spiral.ai/mcp
  3. Sign in

    In your terminal, run:

    muse mcp login spiral

Use the Spiral skill

  1. Send Muse 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.

    npx -y spiral-cli@latest init

Call the Spiral API

  1. Create an API key

    In the console, under API keys.

  2. Run Arizona ROC contractor search

    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": "azroc-my-site-com/licenses/search_contractors",
        "input": {
          "city": "<city>"
        }
      }'

Then paste one of the prompts above: Muse Code finds Arizona ROC contractor search on Spiral, shows the price and runs it.

Arizona ROC contractor search providers and prices

Spiral runs Arizona ROC contractor search through Alexandria. Open a card for today's price, with every fee included.

AlexandriaLead Gen

Settings you can ask for

Ask Muse Code for any of these in your prompt.

SettingAllowed valuesDefaultDescription
Page size1 to 10025

Accounts per page (client-side paging over the full server result).

Every API field of Arizona Registrar of Contractors license register (azroc.my.site.com) · Search contractors is on its tool page: open its card above.

What can you do with Arizona ROC contractor search in Muse Code?

Build an Arizona contractor review feature that connects trade categories with license evidence and permitted work. Use the ROC classification labels, license records, and scope descriptions to populate project screens with source data.

Build a shortlist for a commercial project

Choose the relevant commercial trade classifications, find contractors in Phoenix, examine their license records, and compare the official scope descriptions with the bid requirements.

Review vendors for residential maintenance

Identify residential trade categories, find businesses in Tucson, and assemble license details alongside the permitted work for each proposed maintenance assignment.

Prepare a subcontractor review

Use the classification list to organize required trades, locate candidate businesses, and collect their license status, bonds, public complaint information, and scope descriptions for review.

Compare trade coverage across cities

Apply consistent classification labels to searches in Flagstaff and Prescott, inspect the returned licenses, and use scope descriptions to explain differences in the work represented.

Recheck an approved vendor roster

Find the businesses on an Arizona vendor roster and compare their current license status and public complaint information with earlier checks.

Explain a contractor's permitted work

Locate a contractor's license and turn its official classification scope into a project-specific explanation, identifying work that needs further review.

Questions about Arizona ROC contractor search in Muse Code

Can Muse Code use Arizona ROC contractor search?

Yes. Add Spiral to Muse Code as an MCP server, and Muse Code can find and run Arizona ROC contractor search like any built-in tool.

How much does Arizona ROC contractor search cost in Muse 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 Muse Code plan is separate.

Do I need an Alexandria account to use Arizona ROC contractor search in Muse Code?

No. Spiral runs Arizona ROC contractor search on its own Alexandria account. You sign in to Spiral once and never paste a key.

How long does it take to set up Arizona ROC contractor search in Muse Code?

About two minutes: install Muse Code, then ask Muse to add the server, then sign in.

Does Muse Code wait while Arizona ROC contractor search runs?

Arizona ROC contractor search runs in the background. Muse Code starts the run, checks on it and gives you the json when it's ready.

Does the register distinguish residential and commercial work?

Yes. Arizona ROC issues separate residential and commercial licenses, while dual licenses cover both categories. Check the classification's scope against the proposed work.

How fresh is Arizona ROC license information?

ROC says its license data can change daily. That statement does not establish a fixed refresh time or promise that every change appears immediately.

How far back does the online complaint history go?

ROC says closed complaints remain on its website for two years after closure. Complaint and license files can also be requested through its public records process.

Does an empty complaint section prove a contractor has never had complaints?

No. The search excludes canceled and dismissed complaints, plus complaints resolved or settled without a corrective work order.

Can I look for a particular trade in my area?

Yes. ROC describes Contractor Search as a way to find a specific contractor or a certain type of contractor in an area. The classification list supplies the trade labels used by the register.

Get started

Start using Arizona ROC contractor search in Muse Code

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

Paste this into Muse Code:

Set up Muse Code

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