How to Use CSLB contractors by location in Gemini CLI
Find currently licensed California contractors by city or ZIP code. Use the results to build a local shortlist before checking individual license records.
Prompts to try with CSLB contractors by location in Gemini CLI
Copy an example into Gemini CLI, or ask in your own words.
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 Gemini CLI
Pick the way that suits you. Each takes about two minutes.
Use Spiral's MCP server
- Add the server
Or add it to ~/.gemini/settings.json yourself:
gemini mcp add --scope user --transport http spiral https://api.spiral.ai/mcp
- Sign in
Start gemini and run:
/mcp auth spiral
- Check it
In Gemini CLI, run /mcp. From your shell:
gemini mcp list
Use the Spiral skill
- Send Gemini CLI this message
Your agent reads Spiral's skill and sets itself up.
set up https://spiral.ai/SKILL.md
- Sign in or paste a key
Approve Spiral in the browser, or give the agent a key from the console.
Use the Spiral CLI
- 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
- Create an API key
In the console, under API keys.
- Run CSLB contractors by location
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": "cslb-ca-gov/licenses/find_contractors_by_location", "input": { "classification": "<classification>", "zip_code": "<zip_code>" } }'
Then paste one of the prompts above: Gemini CLI finds CSLB contractors by location on Spiral, shows the price and runs it.
CSLB contractors by location providers and prices
Spiral runs CSLB contractors by location through Alexandria. Open a card for today's price, with every fee included.
What can you do with CSLB contractors by location in Gemini CLI?
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.
More on CSLB contractors by location and Gemini CLI
Overview
CSLB contractors by location in other agents
Questions about CSLB contractors by location in Gemini CLI
Can Gemini CLI use CSLB contractors by location?
Yes. Add Spiral to Gemini CLI as an MCP server, and Gemini CLI can find and run CSLB contractors by location like any built-in tool.
How much does CSLB contractors by location cost in Gemini CLI?
$0.00873 per call. You pay from your Spiral balance as you go, with no subscription, and a failed run is not charged. Your Gemini CLI plan is separate.
Do I need an Alexandria account to use CSLB contractors by location in Gemini CLI?
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 Gemini CLI?
About two minutes: add the server, then sign in, then check it.
Does Gemini CLI wait while CSLB contractors by location runs?
CSLB contractors by location runs in the background. Gemini CLI 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.
Start using CSLB contractors by location in Gemini CLI
One Spiral account for every tool your agent needs. No subscription; you pay per run.
Paste this into Gemini CLI:
set up https://spiral.ai/SKILL.md


