[Integrations](https://spiral.ai/integrations) › [opencode](https://spiral.ai/integrations/opencode) › [New Orleans code enforcement case search](https://spiral.ai/integrations/opencode/new-orleans-code-enforcement-case-search)

# How to Use New Orleans code enforcement case search in opencode

Finds New Orleans code enforcement cases for an address, parcel, or ZIP code, with case status and hearing information. Use it to identify relevant cases before examining an individual record.

|  |  |
| --- | --- |
| Model | New Orleans code enforcement case 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 Orleans code enforcement case search in opencode

- Use New Orleans code enforcement case search to find open cases in ZIP code 70112 and build a table in this project showing case number, stage, status, and next hearing date.
- Use New Orleans code enforcement case search for cases filed in ZIP code 70130 during October 2026 and save the returned case records as a project fixture.
- Use New Orleans code enforcement case search for open cases in ZIP code 70117 and build a chart of the stages represented in the retrieved results.
- Use New Orleans code enforcement case search to look this up and give me the result as a table. Save the result in ./assets.
- Pull the latest numbers from New Orleans code enforcement case search and tell me what changed since last week.

## How to set up New Orleans code enforcement case 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 Orleans code enforcement case 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-nola-gov/code-enforcement/search_code_cases",
    "input": {
      "zip": "<zip>"
    }
  }'
```

Then paste one of the prompts above: opencode finds New Orleans code enforcement case search on Spiral, shows the price and runs it.

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

## New Orleans code enforcement case search tools and prices

- [City of New Orleans Permits and Code Enforcement (data.nola.gov) · Search code cases](https://spiral.ai/tools/alexandria/data-nola-gov/code-enforcement/search_code_cases) (Alexandria): $0.00873 per call.

## Settings you can ask for

| Setting | Allowed values | Default | Description |
| --- | --- | --- | --- |
| zip |  | — | Five-digit ZIP code of the geocoded address. Pattern: ^[0-9]{5}$. |
| sort | filed_desc, updated_desc | filed_desc | filed_desc: newest filed first; updated_desc: latest status change first. Ties break on case_id. |
| limit | 1 to 100 | 25 | Rows per page. |
| stage |  | — | Words of the stage or the status sentence: inspection, title research, hearing, judgment, in compliance, guilty, blight, dismissed. |
| cursor |  | — | next_cursor from the previous page; repeat the same filters with it. Pattern: ^[0-9]+$. |
| geopin |  | — | Exact GEOPIN as in records' geopin, e.g. 41077432. Pattern: ^[0-9A-Za-z]+$. |

## What can you do with New Orleans code enforcement case search in opencode?

Build a New Orleans enforcement dashboard that displays case stage, hearing outcome, and open or closed status separately. A coding agent can turn case records into project fixtures, comparison views, and commercial property review reports.

### Review a commercial property before leasing

Find cases associated with a prospective business address, then examine the relevant records for case stage, hearing outcome, and any listed next hearing.

### Prepare a neighborhood hearing brief

Identify open cases in a New Orleans ZIP code and examine selected cases to assemble a brief with case numbers, stages, and listed hearing dates.

### Check a rehabilitation project's case status

Find the records for a redevelopment parcel and review each relevant case's status and hearing result before preparing a project update.

### Build a commercial corridor case dashboard

Collect cases for business addresses along a corridor and use individual case records to populate a dashboard of stages, outcomes, and upcoming hearings.

### Follow up on published enforcement findings

Locate cases relevant to a public-interest reporting project, then inspect specific records to distinguish an open case from a recorded guilty outcome.

### Monitor cases for a business property portfolio

Find enforcement records for managed commercial addresses and revisit known cases to flag changes in status, stage, or listed hearing information.

## Overview

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

## New Orleans code enforcement case search in other agents

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

## More opencode guides

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

## Questions about New Orleans code enforcement case search in opencode

**Can opencode use New Orleans code enforcement case search?**

Yes. Add Spiral to opencode as an MCP server, and opencode can find and run New Orleans code enforcement case search like any built-in tool.

**How much does New Orleans code enforcement case 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 Orleans code enforcement case search in opencode?**

No. Spiral runs New Orleans code enforcement case 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 Orleans code enforcement case search in opencode?**

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

**Does opencode wait while New Orleans code enforcement case search runs?**

New Orleans code enforcement case search runs in the background. opencode starts the run, checks on it and gives you the json when it's ready.

**How far back does New Orleans code enforcement data go?**

The city's Active Pipeline description states coverage from May 12, 2009, to the present. That is a documented boundary for that dataset, rather than a promise of complete records for every earlier property issue.

**How fresh is the city's code enforcement data?**

The city's GIS case layer documents weekly updates from LAMA. That schedule describes the GIS publication; it does not establish an exact refresh interval for every tabular case record.

**Does a guilty hearing result mean a case is closed?**

No. The city publishes an example with an open status, a guilty outcome, and a judgment stage. Its Active Pipeline description says closure requires both payment of the in rem judgment and abatement of violations.

**What hearing information does the city publish?**

Published case records include the previous hearing result and next hearing date, alongside the case stage and status date. These fields support a case summary without requiring an inference from the open or closed label alone.

**Are the mapped property locations survey accurate?**

No. The code enforcement GIS terms explicitly say the data is not a survey-quality product, so a mapped point should not be used to establish a property boundary.

