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

opencode · Listings

How to Use New Jersey construction permit search in opencode

Finds reported New Jersey construction permits, including demolition records, for a town, county, or parcel. Use it to build a project shortlist before opening individual permit details.

Prompts to try with New Jersey construction permit search in opencode

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

Use New Jersey construction permit search to retrieve reported permits for Hoboken, then build a table in this project showing permit number, issue date, permit type, and reported valuation.

New Jersey construction permit searchopencode
Try asking
  • Use New Jersey construction permit search to collect Jersey City's reported demolition permits and add a summary with links to the source records in this project's report.

  • Use New Jersey construction permit search to look this up and give me the result as a table. Save the result in ./assets.

  • Pull the latest numbers from New Jersey construction permit search and tell me what changed since last week.

  • Check New Jersey construction permit search and summarize what you find in three bullet points.

How to set up New Jersey construction permit search in opencode

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

Use Spiral's MCP server

  1. Add the server

    Leave out --global to add Spiral to the current project only. No header and no client ID or secret: opencode registers itself with Spiral.

    opencode mcp add spiral --global --url https://api.spiral.ai/mcp
  2. Sign in

    Your browser opens. Sign in to Spiral, pick the organization and click Authorize, then return to the terminal. No API key. Inside opencode, /mcps starts the same sign-in.

    opencode mcp auth spiral
  3. Check it

    Spiral shows as connected.

    opencode mcp list

Use the Spiral skill

  1. Send opencode 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 New Jersey construction permit 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": "data-nj-gov/building-permits/search_permits",
        "input": {
          "lot": "<lot>"
        }
      }'

Then paste one of the prompts above: opencode finds New Jersey construction permit search on Spiral, shows the price and runs it.

New Jersey construction permit search providers and prices

Spiral runs New Jersey construction permit search through Alexandria. Open a card for today's price, with every fee included.

AlexandriaListings
NJ Construction Permit Data (data.nj.gov) · Search permits
data-nj-gov/building-permits/search_permits

Settings you can ask for

Ask opencode for any of these in your prompt.

SettingAllowed valuesDefaultDescription
Sortissued_desc, updated_desc, or valuation_descissued_desc

issued_desc: newest permit date first; updated_desc: most recently processed by DCA first; valuation_desc: largest construction cost first.

Limit1 to 10025

Rows per page.

Min valuationa number from 0

Only permits whose construction cost (constcost) is at least this many USD.

Every API field of NJ Construction Permit Data (data.nj.gov) · Search permits is on its tool page: open its card above.

What can you do with New Jersey construction permit search in opencode?

Build a New Jersey construction report that connects municipal totals to individual permit records. Add the state's monthly reporting cycle and two-month review gap to the project's charts and explanations.

Prepare a municipal construction brief

Compare reported permit activity across Hudson County towns, find the projects behind the busiest municipalities, and inspect selected permit records to explain the totals.

Assess the housing construction pipeline

Compare municipal housing-unit totals, find residential permits in the towns of interest, and examine individual records before describing the pipeline as authorized housing.

Research demolition activity

Identify municipalities reporting demolition activity, collect the relevant permits, and inspect the underlying records for a redevelopment research brief.

Compare construction scale across towns

Rank municipalities by reported construction valuation, find the permits contributing to that activity, and inspect the largest records. Describe valuation as an applicant estimate.

Build a monthly development newsletter

Use municipal totals to choose towns to cover, search their reported permits, and open selected records for project examples. Explain the monthly reporting cycle and recent review gap.

Compare new construction with existing-building work

Choose municipalities with reported activity, collect permits for those towns, and inspect examples to distinguish new buildings from additions and alterations.

Questions about New Jersey construction permit search in opencode

Can opencode use New Jersey construction permit search?

Yes. Add Spiral to opencode as an MCP server, and opencode can find and run New Jersey construction permit search like any built-in tool.

How much does New Jersey construction permit search cost in opencode?

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

Do I need an Alexandria account to use New Jersey construction permit search in opencode?

No. Spiral runs New Jersey construction permit 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 New Jersey construction permit search in opencode?

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

Does opencode wait while New Jersey construction permit search runs?

New Jersey construction permit search runs in the background. opencode starts the run, checks on it and gives you the json when it's ready.

How fresh is New Jersey's construction permit data?

The dataset is processed and updated monthly. Municipalities must report by the seventh of each month, but that deadline does not guarantee publication that day.

Does the data cover every New Jersey municipality?

Coverage is incomplete. DCA's reporting series includes only towns that submitted monthly reports, so an absent town or missing activity should not be read as proof that no permits were issued.

How much permit history is retained?

The publisher says records are purged 60 months after the data was received. That retention clock uses receipt of the data, rather than the permit's issue date.

Have the newest permits been checked?

The publisher says permits issued in the immediately preceding two months have not been reviewed. Comparisons involving those months therefore include unreviewed records.

Does this source include street addresses or contractor contacts?

DCA says it does not receive property addresses, geocoding, owner names, or descriptions of the type of work. The provider also documents that DCA supplies no contractor data, so this source cannot produce a contractor contact list.

Get started

Start using New Jersey construction permit search in opencode

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

Paste this into opencode:

Set up opencode

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