How to Use NYC contractor permit activity in Muse Code
Returns contractor rankings by permits issued and estimated job cost. Use it to compare firms working in an NYC market before reviewing their individual permits.
Prompts to try with NYC contractor permit activity in Muse Code
Copy an example into Muse Code, or ask in your own words.
Use NYC contractor permit activity to compare Brooklyn plumbing contractors for January through June 2026, then build a ranking table in this project.
Use NYC contractor permit activity to retrieve Queens contractor rankings for 2025 and add a dashboard note explaining why permit totals are not distinct project counts.
Use NYC 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 NYC contractor permit activity and tell me what changed since last week.
Check NYC contractor permit activity and summarize what you find in three bullet points.
How to set up NYC contractor permit activity in Muse Code
Pick the way that suits you. Each takes about two minutes.
Use Spiral's MCP server
- Install Muse Code
curl -fsSL https://dev.meta.ai/install.sh | bash
- Ask Muse to add the server
Start muse and ask:
Add the Spiral MCP server at https://api.spiral.ai/mcp
- Sign in
In your terminal, run:
muse mcp login spiral
Use the Spiral skill
- Send Muse Code 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 NYC 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-cityofnewyork-us/building-permits/contractor_activity", "input": { "zip": "<zip>" } }'
Then paste one of the prompts above: Muse Code finds NYC contractor permit activity on Spiral, shows the price and runs it.
NYC contractor permit activity providers and prices
Spiral runs NYC contractor permit activity through Alexandria. Open a card for today's price, with every fee included.
Settings you can ask for
Ask Muse Code for any of these in your prompt.
| Setting | Allowed values | Default | Description |
|---|---|---|---|
| Sort | permits_desc or valuation_desc | permits_desc | permits_desc (default): most permits first. valuation_desc (dob_now only): largest total estimated job cost first. |
| Limit | 1 to 100 | 25 | Rows per page. |
| Source | dob_now or bis | dob_now | dob_now (default): DOB NOW: Build – Approved Permits (rbx6-tga4), every permit issued through DOB NOW since 2016 except electrical, elevator and limited alteration, about 1 million rows. bis: DOB Permit Issuance (ipu4-2q9a), legacy BIS permits since 1989, about 4 million rows, still updated for permits that stay in BIS. |
Every API field of NYC Open Data property records (ACRIS, PLUTO, DOB) · Contractor activity is on its tool page: open its card above.
What can you do with NYC contractor permit activity in Muse Code?
Build a construction research dashboard that connects NYC contractor totals to individual permit evidence. Your coding agent can add separate BIS and DOB NOW views and a permit renewal review.
Build a contractor shortlist
Compare permit activity for contractors working in Queens, review their individual permits, and inspect renewals before choosing firms for further business research.
Prepare a quarterly construction brief
Combine borough contractor rankings with individual permit examples and renewal histories. Label the measures as permit activity rather than distinct project counts.
Research a supplier's service territory
Identify contractors pulling permits in Brooklyn, examine the permits behind their totals, and review selected records before planning business outreach.
Document a contractor comparison
Support a comparison of firms with permit totals, matching permit records, and selected renewal histories. Keep BIS and DOB NOW results identifiable in the supporting evidence.
Compare trade activity across boroughs
Compare plumbing permit activity in the Bronx and Queens, identify the contractors behind the totals, and inspect examples of their permits.
Maintain a construction research dashboard
Refresh borough permit records and contractor rankings on a daily schedule. Give analysts a way to open selected permit records and review their renewals.
More on NYC contractor permit activity and Muse Code
Overview
NYC contractor permit activity in other agents
Questions about NYC contractor permit activity in Muse Code
Can Muse Code use NYC contractor permit activity?
Yes. Add Spiral to Muse Code as an MCP server, and Muse Code can find and run NYC contractor permit activity like any built-in tool.
How much does NYC contractor permit activity 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 NYC contractor permit activity in Muse Code?
No. Spiral runs NYC 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 NYC contractor permit activity in Muse Code?
About two minutes: install Muse Code, then ask Muse to add the server, then sign in.
Does Muse Code wait while NYC contractor permit activity runs?
NYC contractor permit activity runs in the background. Muse Code starts the run, checks on it and gives you the json when it's ready.
Why do NYC permit searches need both BIS and DOB NOW?
DOB Permit Issuance contains permits from BIS, while most current permits are issued in DOB NOW. Examine both datasets when researching activity that could span the two systems.
Does the DOB NOW dataset include every permit category?
It excludes electrical, elevator, and Limited Alteration Application permits. NYC publishes those categories in separate datasets, so these approved-permit records cannot establish their absence.
How fresh are the permit records?
Both datasets specify daily updates. BIS also updates existing records as permit applications move through the approval process, so a later retrieval can change an earlier result.
Does one permit equal one construction project?
No. DOB explains that separate work types receive separate permits, so one job can contribute several permits to an activity total.
How far back does DOB NOW permit history go?
The approved-permit dataset describes its records as permits issued through DOB NOW since 2016. That boundary applies to DOB NOW coverage, so earlier research requires examining BIS records.
Start using NYC contractor permit activity 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 https://spiral.ai/SKILL.md


