[Integrations](https://spiral.ai/integrations) › [opencode](https://spiral.ai/integrations/opencode) › [New Jersey construction permit search](https://spiral.ai/integrations/opencode/new-jersey-construction-permit-search)

# 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.

|  |  |
| --- | --- |
| Model | New Jersey construction permit search |
| Available through | Alexandria |
| Category | Listings |
| Price | $0.00873 per call. |
| Returns | json |
| Runs | In the background |
| Setup | About 2 minutes, no API key |

## Prompts to try with New Jersey construction permit search in opencode

- 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.
- 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.

```bash
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.

```bash
opencode mcp auth spiral
```

3. **Check it**: Spiral shows as connected.

```bash
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.

```bash
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.

```bash
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.

Setup guide in the docs: https://spiral.ai/docs/quickstarts/opencode

## New Jersey construction permit search tools and prices

- [NJ Construction Permit Data (data.nj.gov) · Search permits](https://spiral.ai/tools/alexandria/data-nj-gov/building-permits/search_permits) (Alexandria): $0.00873 per call.

## Settings you can ask for

| Setting | Allowed values | Default | Description |
| --- | --- | --- | --- |
| lot |  | — | Tax lot (16.01) in any spelling the town reports (16.01, 16  01, 00016.01, 0001601); combine with block. |
| comu |  | — | DCA municipality code (0905 is Hoboken), from municipalities or a record's jurisdiction.comu. Pattern: ^[0-9]{4}$. |
| sort | issued_desc, updated_desc, valuation_desc | issued_desc | issued_desc: newest permit date first; updated_desc: most recently processed by DCA first; valuation_desc: largest construction cost first. |
| block |  | — | Tax block (123, 285.11) in any spelling the town reports (285.11, 285  11, 00285.11); combine with municipality or comu. |
| limit | 1 to 100 | 25 | Rows per page. |
| county |  | — | One of the 21 NJ counties, with or without County (Hudson, Cape May County). |

## 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.

## Overview

- [Alexandria](https://spiral.ai/providers/alexandria)
- [All opencode guides](https://spiral.ai/integrations/opencode)

## New Jersey construction permit search in other agents

- [Amp](https://spiral.ai/integrations/amp/new-jersey-construction-permit-search)
- [ChatGPT](https://spiral.ai/integrations/chatgpt/new-jersey-construction-permit-search)
- [Claude](https://spiral.ai/integrations/claude-desktop/new-jersey-construction-permit-search)
- [Claude Code](https://spiral.ai/integrations/claude-code/new-jersey-construction-permit-search)
- [Cline](https://spiral.ai/integrations/cline/new-jersey-construction-permit-search)
- [Codex](https://spiral.ai/integrations/codex/new-jersey-construction-permit-search)
- [Cursor](https://spiral.ai/integrations/cursor/new-jersey-construction-permit-search)
- [Devin](https://spiral.ai/integrations/devin/new-jersey-construction-permit-search)
- [dots](https://spiral.ai/integrations/dots/new-jersey-construction-permit-search)
- [Factory Droid](https://spiral.ai/integrations/factory-droid/new-jersey-construction-permit-search)
- [Gemini](https://spiral.ai/integrations/gemini/new-jersey-construction-permit-search)
- [Gemini CLI](https://spiral.ai/integrations/gemini-cli/new-jersey-construction-permit-search)
- [Google Antigravity](https://spiral.ai/integrations/antigravity/new-jersey-construction-permit-search)
- [goose](https://spiral.ai/integrations/goose/new-jersey-construction-permit-search)
- [Grok](https://spiral.ai/integrations/grok/new-jersey-construction-permit-search)
- [Grok Build](https://spiral.ai/integrations/grok-build/new-jersey-construction-permit-search)
- [Hermes](https://spiral.ai/integrations/hermes/new-jersey-construction-permit-search)
- [Instinct](https://spiral.ai/integrations/instinct/new-jersey-construction-permit-search)
- [Manus](https://spiral.ai/integrations/manus/new-jersey-construction-permit-search)
- [Muse](https://spiral.ai/integrations/muse/new-jersey-construction-permit-search)
- [Muse Code](https://spiral.ai/integrations/muse-code/new-jersey-construction-permit-search)
- [n8n](https://spiral.ai/integrations/n8n/new-jersey-construction-permit-search)
- [Notion](https://spiral.ai/integrations/notion/new-jersey-construction-permit-search)
- [OpenClaw](https://spiral.ai/integrations/openclaw/new-jersey-construction-permit-search)
- [Perplexity](https://spiral.ai/integrations/perplexity/new-jersey-construction-permit-search)
- [Raycast](https://spiral.ai/integrations/raycast/new-jersey-construction-permit-search)
- [VS Code](https://spiral.ai/integrations/vscode/new-jersey-construction-permit-search)
- [Windsurf](https://spiral.ai/integrations/windsurf/new-jersey-construction-permit-search)
- [Zapier](https://spiral.ai/integrations/zapier/new-jersey-construction-permit-search)

## More opencode guides

- [New Jersey construction permit details](https://spiral.ai/integrations/opencode/new-jersey-construction-permit-details)
- [New Jersey municipal permit activity](https://spiral.ai/integrations/opencode/new-jersey-municipal-permit-activity)
- [NYC contractor permit activity](https://spiral.ai/integrations/opencode/nyc-contractor-permit-activity)
- [New Orleans code enforcement case details](https://spiral.ai/integrations/opencode/new-orleans-code-enforcement-case-details)
- [NYC building permit search](https://spiral.ai/integrations/opencode/nyc-building-permit-search)
- [New Orleans code enforcement case search](https://spiral.ai/integrations/opencode/new-orleans-code-enforcement-case-search)

## 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.

