[Integrations](https://spiral.ai/integrations) › [n8n](https://spiral.ai/integrations/n8n) › [Boston building and property violations](https://spiral.ai/integrations/n8n/boston-building-and-property-violations)

# How to Use Boston building and property violations in n8n

Search Boston Inspectional Services building and property violations, including violation descriptions and recorded statuses. Use the results to review a commercial property's enforcement record or prepare a neighborhood summary.

|  |  |
| --- | --- |
| Model | Boston building and property violations |
| Available through | Alexandria |
| Category | Listings |
| Price | $0.00873 per call. |
| Returns | json |
| Runs | In the background |
| Setup | About 2 minutes, with a Spiral API key |

## Prompts to try with Boston building and property violations in n8n

- Every weekday, use Boston building and property violations to check open records in East Boston and summarize additions or changes since the previous check.
- Every Monday, use Boston building and property violations to check 700 Boylston Street, Boston, and report any changes in returned descriptions or statuses.
- Each Friday, use Boston building and property violations to review South Boston records containing 'permit' and summarize changes since last week.
- Every morning, use Boston building and property violations to check Dorchester records containing 'unsafe' and flag any newly observed matches.
- Once a month, use Boston building and property violations to summarize the returned statuses in Allston and compare them with the previous month's results.

## How to set up Boston building and property violations in n8n

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

### Use the Spiral skill

1. **Send n8n 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 Spiral's MCP server

1. **Create a key**: Create a key under API keys in the console.

2. **Add an MCP Client node**: In a workflow, add an MCP Client node (or, under an AI Agent node, an MCP Client Tool) and set:

```text
https://api.spiral.ai/mcp
```

3. **Pick a tool**: The node lists Spiral's tools. In an MCP Client node pick one, such as `run`, and give it its arguments:

```json
{
  "provider": "fal",
  "model": "fal-ai/flux/schnell",
  "input": { "prompt": "a lighthouse at dawn" },
  "wait": true
}
```

4. **Run Boston building and property violations in a workflow step**: Give the step an instruction like the ones below and run it on your trigger or schedule. Spiral finds Boston building and property violations, prices it and runs it each time the step fires.

### 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 Boston building and property 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-boston-gov/code-violations/search_violations",
    "input": {
      "zip": "<zip>"
    }
  }'
```

Then paste one of the prompts above: n8n finds Boston building and property violations on Spiral, shows the price and runs it.

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

## Boston building and property violations tools and prices

- [Analyze Boston: building permits, zoning appeals and violations (data.boston.gov) · Search violations](https://spiral.ai/tools/alexandria/data-boston-gov/code-violations/search_violations) (Alexandria): $0.00873 per call.

## Settings you can ask for

| Setting | Allowed values | Default | Description |
| --- | --- | --- | --- |
| zip |  | — | 5-digit ZIP code (02127). Pattern: ^[0-9]{5}$. |
| limit | 1 to 100 | 25 | Rows per page. |
| cursor |  | — | next_cursor from the previous page; repeat the same filters with it. Pattern: ^[0-9]+$. |
| status |  | — | Case-insensitive substring of the status: open or closed. |
| address |  | — | Street line, case-insensitive substring (50 Cromwell Road, 840 Columbus Ave). Text after a comma is ignored; a trailing Street, Avenue, Road, Boulevard, Place and similar becomes ISD's abbreviation (ST, AV, RD, BL, PL). Ranges are written 140-148 Brookline AV, so a number inside a range does not match. |
| violation |  | — | Case-insensitive substring of the violation description or code section (permit, unsafe, 121.2). |

## What can you do with Boston building and property violations in n8n?

Produce a recurring digest of changes in Boston's recorded building violations. A scheduled agent can repeat the same searches and compare the returned records with its previous results to flag changes for review.

### Commercial property review

Summarize recorded violations and statuses for a Boston commercial address before a site visit. Turn the descriptions into questions for the building manager.

### Maintenance planning

Review open violations for a managed Boston building and organize the descriptions into a maintenance review list.

### Neighborhood enforcement summaries

Compare the returned violation descriptions and statuses across Boston neighborhoods to prepare a report about recorded enforcement activity.

### Commercial portfolio monitoring

Recheck a business's Boston property addresses and flag changes in returned violation records for the facilities team to review.

### Renovation preparation

Search a Boston project address for recorded violations before preparing renovation questions. Bring the relevant descriptions into the project review.

### Public building research

Look up recorded violations at a Boston public venue and prepare a source-linked summary of the returned descriptions and statuses.

## Overview

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

## Boston building and property violations in other agents

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

## More n8n guides

- [Baton Rouge permit search](https://spiral.ai/integrations/n8n/baton-rouge-permit-search)
- [Boston building permit details](https://spiral.ai/integrations/n8n/boston-building-permit-details)
- [Baton Rouge permit details](https://spiral.ai/integrations/n8n/baton-rouge-permit-details)
- [Boston building permit search](https://spiral.ai/integrations/n8n/boston-building-permit-search)
- [Baton Rouge contractor activity](https://spiral.ai/integrations/n8n/baton-rouge-contractor-activity)
- [Boston contractor permit activity](https://spiral.ai/integrations/n8n/boston-contractor-permit-activity)

## Questions about Boston building and property violations in n8n

**Can n8n use Boston building and property violations?**

Yes. Add Spiral to n8n as an MCP server, and n8n can find and run Boston building and property violations like any built-in tool.

**How much does Boston building and property violations cost in n8n?**

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

**Do I need an Alexandria account to use Boston building and property violations in n8n?**

You need no Alexandria account. n8n uses one Spiral API key for every tool, and Spiral runs Boston building and property violations on its own Alexandria account.

**How long does it take to set up Boston building and property violations in n8n?**

About two minutes: create a key, then add an MCP Client node, then pick a tool.

**Does n8n wait while Boston building and property violations runs?**

Boston building and property violations runs in the background. n8n starts the run, checks on it and gives you the json when it's ready.

**Does this cover all of Suffolk County?**

The documented coverage is buildings and properties in Boston, Massachusetts. It is a Boston dataset, so it does not establish countywide coverage.

**Which Boston department issues these violations?**

These records come from inspectors in the Building and Structures Division of Boston's Inspectional Services Department.

**Are Public Works citations included?**

Boston publishes Public Works violations separately. Building and Property Violations directs readers to that separate dataset for Public Works records.

**How do the property identifiers relate to Boston's address data?**

Boston explicitly states that property_id is equivalent to sam_id. That relationship is useful when matching violation records to Boston address records.

**Does an empty search prove a building has no problems?**

No. The data describes recorded enforcement activity; Verdwise's documentation for these Boston records explicitly notes that a building can have issues the city never recorded.

