How to Use San José contractor permit activity in Codex
Returns contractors ranked by permit count or total permit valuation in San José's published records. Use it to compare firms' recorded activity before examining their individual projects.
Prompts to try with San José contractor permit activity in Codex
Copy an example into Codex, or ask in your own words.
Use San José contractor permit activity to compare Devcon's recorded permits issued in 2026 and add a table of permit counts and valuations to the report.
Use San José contractor permit activity to compare solar contractors in ZIP code 95131 for permits issued in 2026 and add the results to the market analysis.
Use San José contractor permit activity to look this up and give me the result as a table. Save the result in ./assets.
Pull the latest numbers from San José contractor permit activity and tell me what changed since last week.
Check San José contractor permit activity and summarize what you find in three bullet points.
How to set up San José contractor permit activity in Codex
Pick the way that suits you. Each takes about two minutes.
Use Spiral's MCP server
- Add the hosted server
codex mcp add spiral --url https://api.spiral.ai/mcp
- Sign in
Codex opens the browser: sign in to Spiral and click Authorize. No API key. codex mcp list then shows Spiral.
codex mcp login spiral
Use the Spiral skill
- Send Codex 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 San José contractor permit activity
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-sanjoseca-gov/building-permits/contractor_activity", "input": { "issued_since": "<issued_since>" } }'
Then paste one of the prompts above: Codex finds San José contractor permit activity on Spiral, shows the price and runs it.
San José contractor permit activity providers and prices
Spiral runs San José contractor permit activity through Alexandria. Open a card for today's price, with every fee included.
$0.00873 per call.
Settings you can ask for
Ask Codex for any of these in your prompt.
| Setting | Allowed values | Default | Description |
|---|---|---|---|
| Sort | permits_desc or valuation_desc | permits_desc | permits_desc: most permits first; valuation_desc: largest total declared valuation first. |
| Limit | 1 to 100 | 25 | Rows per page. |
| Status | any, active, under_inspection, expired, or issued_last_30_days | any | Which published list to read. any (default): Active, Expired and permits issued in the last 30 days, each permit once, in one request. active: issued and not finaled or expired (includes under inspection); under_inspection: active permits with inspections under way; expired; issued_last_30_days: every permit issued in the last 30 days whatever its state, the list to poll for new permits. Finaled permits older than 30 days are not published. |
Every API field of San José Open Data: building and planning permits (data.sanjoseca.gov) · Contractor activity is on its tool page: open its card above.
What can you do with San José contractor permit activity in Codex?
Build a San José construction report that connects contractor totals to individual permit records. A coding agent can add those results to project files while labeling the gaps in completed permit history.
Compare commercial contractors
Rank firms by recorded permit activity, identify their commercial projects, and examine selected permits. Keep the comparison limited to work present in the published lists.
Research solar installation activity
Compare solar contractors' recorded activity, find the underlying permits, and review individual records for projects of interest.
Assess tenant improvement demand
Find tenant improvement permits, compare the contractors associated with that work, and inspect selected commercial project records for a market brief.
Review expired commercial permits
Compare firms' recorded expired permit activity, locate the commercial projects behind the totals, and examine individual records before requesting clarification from the city.
More on San José contractor permit activity and Codex
Overview
San José contractor permit activity in other agents
Questions about San José contractor permit activity in Codex
Can Codex use San José contractor permit activity?
Yes. Add Spiral to Codex as an MCP server, and Codex can find and run San José contractor permit activity like any built-in tool.
How much does San José contractor permit activity cost in Codex?
$0.00873 per call. You pay from your Spiral balance as you go, with no subscription, and a failed run is not charged. Your Codex plan is separate.
Do I need an Alexandria account to use San José contractor permit activity in Codex?
No. Spiral runs San José contractor permit activity on its own Alexandria account. You sign in to Spiral once and never paste a key.
How long does it take to set up San José contractor permit activity in Codex?
About two minutes: add the hosted server, then sign in.
Does Codex wait while San José contractor permit activity runs?
San José contractor permit activity runs in the background. Codex starts the run, checks on it and gives you the json when it's ready.
Does this cover all of Santa Clara County?
The source covers City of San José permits. It does not provide a countywide inventory of permits from other jurisdictions.
How often does the permit data change?
The building permit files update daily. Searches and contractor totals reflect those daily snapshots rather than a continuous record of changes.
Can I get a complete historical permit record?
Completed building permits issued more than 30 days ago are not published in these lists. Historical searches and contractor totals therefore omit completed work outside that window.
Can these records tell me how long permit approval took?
The building permit files have no application date. They cannot establish the elapsed time between application and issuance.
Can I reuse the published permit data commercially?
The building permit datasets are published under CCZero. CC0 allows copying, modification and distribution, including commercial reuse, without requesting permission.
Start using San José contractor permit activity in Codex
One Spiral account for every tool your agent needs. No subscription; you pay per run.
Paste this into Codex:
set up https://spiral.ai/SKILL.md


