[Integrations](https://spiral.ai/integrations) › [Claude Code](https://spiral.ai/integrations/claude-code) › [NYC DOB building violations](https://spiral.ai/integrations/claude-code/nyc-dob-building-violations)

# How to Use NYC DOB building violations in Claude Code

Returns older DOB civil penalty records or DOB summonses adjudicated by OATH/ECB for a building. Use it to examine enforcement history; newer DOB NOW safety penalties are published separately.

|  |  |
| --- | --- |
| Model | NYC DOB building violations |
| 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 NYC DOB building violations in Claude Code

- Use NYC DOB building violations for BIN 1015862. Build separate tables for older DOB civil penalties and OATH/ECB summons records.
- Use NYC DOB building violations to look this up and give me the result as a table. Save the result in ./assets.
- Pull the latest numbers from NYC DOB building violations and tell me what changed since last week.
- Check NYC DOB building violations and summarize what you find in three bullet points.
- Pull the newest data from NYC DOB building violations and give me the result as a table.

## How to set up NYC DOB building violations in Claude Code

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

### Use Spiral's MCP server

1. **Add the hosted server**: This adds Spiral to the current project. Add `--scope user` to use it in every project.

```bash
claude mcp add --transport http spiral https://api.spiral.ai/mcp
```

2. **Sign in**: Start `claude`, type `/mcp`, choose spiral and Authenticate. Sign in to Spiral in the browser and click Authorize. No API key.

### Use the Spiral skill

1. **Send Claude Code 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 NYC DOB building violations**: 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-cityofnewyork-us/property-records/dob_violations",
    "input": {
      "bin": "<bin>"
    }
  }'
```

Then paste one of the prompts above: Claude Code finds NYC DOB building violations on Spiral, shows the price and runs it.

Setup guide in the docs: https://spiral.ai/docs/quickstarts/claude-code

## NYC DOB building violations tools and prices

- [NYC Open Data property records (ACRIS, PLUTO, DOB) · Dob violations](https://spiral.ai/tools/alexandria/data-cityofnewyork-us/property-records/dob_violations) (Alexandria): $0.00873 per call.

## Settings you can ask for

| Setting | Allowed values | Default | Description |
| --- | --- | --- | --- |
| kind | dob, ecb | dob | dob: DOB Violations (3h2n-5cm9); ecb: ECB/OATH violations (6bgk-3dad). |
| limit | 1 to 100 | 25 | Violations per page (1-100, default 25). |
| cursor |  | — | Row offset to resume from: the `next_cursor` of the previous page. Pattern: ^[0-9]{1,9}$. |

## What can you do with NYC DOB building violations in Claude Code?

Build a research panel for NYC commercial buildings that brings parcel facts and public filings into one view. Keep tax lot records and building records linked through their distinct BBL and BIN identifiers.

### Commercial acquisition research

Match a commercial address to its lot and building, review the PLUTO snapshot, examine deed and mortgage documents, and collect permit and violation records for acquisition questions.

### Office lease research

Prepare a building brief before leasing office space: parcel characteristics, recorded ownership documents, construction records, and enforcement history.

### Commercial refinancing research

Assemble recorded mortgage documents, parcel facts, permit history, and violation records into a research packet for a commercial building refinancing review.

### Public building history

Research a landmark office building by combining recorded transfers, individual deed details, construction permits, and enforcement records with its PLUTO property snapshot.

### Renovation background research

Collect a commercial building's permit and violation records alongside its building class and zoning before preparing questions for an architect.

## Overview

- [Alexandria](https://spiral.ai/providers/alexandria)
- [All Claude Code guides](https://spiral.ai/integrations/claude-code)

## NYC DOB building violations in other agents

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

## More Claude Code guides

- [NYC DOB building permits](https://spiral.ai/integrations/claude-code/nyc-dob-building-permits)
- [NYC PLUTO property details](https://spiral.ai/integrations/claude-code/nyc-pluto-property-details)
- [NYC ACRIS property documents](https://spiral.ai/integrations/claude-code/nyc-acris-property-documents)
- [NYC address lookup](https://spiral.ai/integrations/claude-code/nyc-address-lookup)
- [NYC ACRIS document details](https://spiral.ai/integrations/claude-code/nyc-acris-document-details)
- [NYC building permit details](https://spiral.ai/integrations/claude-code/nyc-building-permit-details)

## Questions about NYC DOB building violations in Claude Code

**Can Claude Code use NYC DOB building violations?**

Yes. Add Spiral to Claude Code as an MCP server, and Claude Code can find and run NYC DOB building violations like any built-in tool.

**How much does NYC DOB building violations cost in Claude 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 Claude Code plan is separate.

**Do I need an Alexandria account to use NYC DOB building violations in Claude Code?**

No. Spiral runs NYC DOB building violations 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 DOB building violations in Claude Code?**

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

**Does Claude Code wait while NYC DOB building violations runs?**

NYC DOB building violations runs in the background. Claude Code starts the run, checks on it and gives you the json when it's ready.

**How far back do NYC's online property records go?**

ACRIS provides records from 1966 onward for Manhattan, Queens, the Bronx, and Brooklyn. Its published search coverage excludes Staten Island.

**How fresh are PLUTO property details?**

PLUTO updates all fields in its quarterly major releases. That makes it a periodic property snapshot rather than a live ownership or building activity feed.

**Does PLUTO include a record for every condo unit?**

No. PLUTO provides one record per condominium complex rather than separate records for individual condominium units.

**Why do NYC records use both BBL and BIN?**

BBL identifies the tax lot, while BIN identifies the building. NYC Planning notes that addresses are not unique building identifiers because a building can have more than one address.

**Is an ACRIS transaction the same as a document?**

No. One transaction can contain several documents, such as a deed and a mortgage, that share a transaction number.

