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

Cursor · Listings

How to Use San Francisco contractor permit activity in Cursor

Returns contractor rankings by permit count and valuation from San Francisco building permit records. Use it to identify firms with relevant recorded activity before reviewing their individual projects.

Prompts to try with San Francisco contractor permit activity in Cursor

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

Use San Francisco contractor permit activity to identify active firms in ZIP code 94107, then add the returned rankings to our construction research page.

San Francisco contractor permit activityCursor
Try asking
  • Use San Francisco contractor permit activity for new construction in ZIP code 94103 and generate a comparison table from the returned permit counts and valuations.

  • Use San Francisco 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 Francisco contractor permit activity and tell me what changed since last week.

  • Check San Francisco contractor permit activity and summarize what you find in three bullet points.

How to set up San Francisco contractor permit activity in Cursor

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

Use Spiral's MCP server

  1. Add the hosted server

    Use Add to Cursor on the console's Agents & MCP page, or add this to .cursor/mcp.json (one project) or ~/.cursor/mcp.json (every project):

    {
      "mcpServers": {
        "spiral": { "url": "https://api.spiral.ai/mcp" }
      }
    }
  2. Sign in

    Open Cursor Settings › MCP, click Connect next to spiral, sign in to Spiral and click Authorize. No API key. Spiral then shows as connected, with its tools listed.

Use the Spiral skill

  1. Send Cursor 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 San Francisco 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-sf-gov/building-permits/contractor_activity",
        "input": {
          "issued_since": "<issued_since>"
        }
      }'

Then paste one of the prompts above: Cursor finds San Francisco contractor permit activity on Spiral, shows the price and runs it.

San Francisco contractor permit activity providers and prices

Spiral runs San Francisco contractor permit activity through Alexandria. Open a card for today's price, with every fee included.

AlexandriaListings
DataSF open data portal · Contractor activity
data-sf-gov/building-permits/contractor_activity

Settings you can ask for

Ask Cursor for any of these in your prompt.

SettingAllowed valuesDefaultDescription
Limit1 to 10025

Records per page.

Every API field of DataSF open data portal · Contractor activity is on its tool page: open its card above.

What can you do with San Francisco contractor permit activity in Cursor?

Build a San Francisco construction report that connects permit records with the professional firms associated with them. A coding agent can turn the results into project tables and keep repeated addresses or contacts from inflating permit totals.

Build a contractor shortlist

Identify firms with recorded activity for the intended work, find their permits, and examine project descriptions and associated businesses before requesting proposals.

Write a neighborhood construction brief

Summarize permits in a San Francisco ZIP code, identify active contracting firms, and inspect notable records for the descriptions and dates behind the brief.

Research commercial renovation examples

Find office or retail work, identify firms associated with those permits, and review individual records to assemble examples relevant to a planned renovation.

Compare construction market activity

Combine contractor rankings with permit searches and selected record reviews to compare recorded work across San Francisco ZIP codes. Keep permit counts separate from address and contact counts.

Check a firm's recorded project experience

Use contractor activity to identify firms worth examining, search their published permit associations, and inspect selected projects for evidence of relevant work.

Questions about San Francisco contractor permit activity in Cursor

Can Cursor use San Francisco contractor permit activity?

Yes. Add Spiral to Cursor as an MCP server, and Cursor can find and run San Francisco contractor permit activity like any built-in tool.

How much does San Francisco contractor permit activity cost in Cursor?

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

Do I need an Alexandria account to use San Francisco contractor permit activity in Cursor?

No. Spiral runs San Francisco 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 Francisco contractor permit activity in Cursor?

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

Does Cursor wait while San Francisco contractor permit activity runs?

San Francisco contractor permit activity runs in the background. Cursor starts the run, checks on it and gives you the json when it's ready.

What area and permit records does this source cover?

These records cover building permit applications filed with San Francisco's Department of Building Inspection. That coverage boundary is city building permits, rather than a statewide construction database.

How fresh are the building permit records?

DBI says it uploads the building permit dataset nightly. A permit filed or changed during the day may therefore appear after the next overnight upload.

Can I count each published row as a separate project?

A single permit can have several contacts or addresses, creating repeated permit applications in combined records. Count distinct permit numbers when measuring permits, and keep addresses and contacts as separate related records.

What business contact information is public?

The city publishes permit contact records that can contain a contact name, address, license number, and firm or company. The provider can return contractors, architects, and engineers associated with a permit.

How should I interpret a permit's current status?

The city's column documentation says to read current status together with the approved, issued, and completed dates. Use those dates when distinguishing application activity from issued or completed work.

Get started

Start using San Francisco contractor permit activity in Cursor

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

Paste this into Cursor:

Set up Cursor

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