How to Use Pittsburgh code violations in Notion
Retrieve Pittsburgh enforcement records with investigation findings, cited code sections, and case status. Use this to reconstruct a case history; use Pittsburgh condemned properties for condemnation records and latest inspection results.
Prompts to try with Pittsburgh code violations in Notion
Copy an example into Notion, or ask in your own words.
Every Monday, use Pittsburgh code violations for Hazelwood and summarize changes in the returned case records since the previous review.
Every morning, use Pittsburgh code violations for South Side Flats and flag changes in recorded case statuses compared with the previous check.
Every Monday at 9am: use Pittsburgh code violations to look this up and give me the result as a table.
Pull the latest numbers from Pittsburgh code violations and tell me what changed since last week.
Check Pittsburgh code violations and summarize what you find in three bullet points.
How to set up Pittsburgh code violations in Notion
Pick the way that suits you. Each takes about two minutes.
Use the Spiral skill
- Send Notion this message
Your agent reads Spiral's skill and sets itself up.
set up https://spiral.ai/SKILL.md
- 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
- Allow custom MCP servers
A workspace owner opens Settings › Connections, then the Manage tab, and turns on Enable custom MCP servers. Where members may install only approved connections, also add Spiral under Approved connections › Add approved connection › Custom MCP server with the URL below.
- Add Spiral to a custom agent
Open the custom agent (or create one), then Settings › Tools & Access › Add connection › Custom MCP server. Paste this URL, name it Spiral, keep OAuth and click Connect.
https://api.spiral.ai/mcp
- Sign in to Spiral and approve
Spiral opens: sign in, pick the organization and click Authorize. No API key. Spiral gives the connection its own key; Notion never sees it, and you can remove it under Settings › Connected apps in the console.
- Run Pittsburgh code violations in a workflow step
Give the step an instruction like the ones below and run it on your trigger or schedule. Spiral finds Pittsburgh code violations, prices it and runs it each time the step fires.
Use the Spiral CLI
- 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
- Create an API key
In the console, under API keys.
- Run Pittsburgh code violations
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-wprdc-org/code-enforcement/search_violations", "input": { "sort": "investigated_desc" } }'
Then paste one of the prompts above: Notion finds Pittsburgh code violations on Spiral, shows the price and runs it.
Pittsburgh code violations providers and prices
Spiral runs Pittsburgh code violations through Alexandria. Open a card for today's price, with every fee included.
Settings you can ask for
Ask Notion for any of these in your prompt.
| Setting | Allowed values | Default | Description |
|---|---|---|---|
| Sort | investigated_desc or investigated_asc | investigated_desc | investigated_desc: newest investigation first; investigated_asc: oldest first (a case's history in order). Rows without an investigation date come last. |
| Limit | 1 to 100 | 25 | Rows per page. |
Every API field of WPRDC (data.wprdc.org): Pittsburgh permits, code violations, condemnations and contractor licences · Search violations is on its tool page: open its card above.
What can you do with Pittsburgh code violations in Notion?
Deliver a recurring Pittsburgh neighborhood digest showing changes in returned property records. Compare each retrieval with the previous one and separate newly appearing records from changed inspection or enforcement information.
Neighborhood property-condition brief
Prepare a Homewood briefing that separates condemnation records from enforcement cases and reports distinct parcels.
Commercial site review
Check a proposed Pittsburgh business location for condemnation records and recorded enforcement activity before requesting a fuller property review.
Community planning map
Map returned property locations for a Beltzhoover planning meeting, keeping condemnation results and enforcement cases clearly labeled.
Public-data change digest
Compare successive neighborhood searches and summarize newly appearing records and changes to previously returned records.
Redevelopment research shortlist
Attach condemnation and enforcement findings to a Pittsburgh redevelopment shortlist so researchers can identify parcels needing further review.
Neighborhood reporting research
Build a source-backed reporting brief on property conditions in Hazelwood, separating inspection results from enforcement findings.
More on Pittsburgh code violations and Notion
Overview
Pittsburgh code violations in other agents
Questions about Pittsburgh code violations in Notion
Can Notion use Pittsburgh code violations?
Yes. Add Spiral to Notion as an MCP server, and Notion can find and run Pittsburgh code violations like any built-in tool.
How much does Pittsburgh code violations cost in Notion?
$0.00873 per call. You pay from your Spiral balance as you go, with no subscription, and a failed run is not charged. Your Notion plan is separate.
Do I need an Alexandria account to use Pittsburgh code violations in Notion?
No. Spiral runs Pittsburgh code 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 Pittsburgh code violations in Notion?
About two minutes: allow custom MCP servers, then add Spiral to a custom agent, then sign in to Spiral and approve.
Does Notion wait while Pittsburgh code violations runs?
Pittsburgh code violations runs in the background. Notion starts the run, checks on it and gives you the json when it's ready.
Does this cover all of Allegheny County?
These are City of Pittsburgh condemnation and enforcement records. An Allegheny County parcel identifier in a record does not make the dataset countywide.
How often does WPRDC publish updates?
Both datasets list daily data changes and daily publishing. That is a publishing schedule, not a promise that every property receives a new inspection each day.
Can I count rows to count properties?
No. WPRDC flags duplicate parcel records in the condemnation data; enforcement records also describe case activity rather than a simple property inventory.
Does a latest inspection result provide the whole property history?
The condemnation data describes the latest inspection, including its pass or fail result. The violations data serves a different purpose: investigating recorded enforcement cases.
How far back does Pittsburgh's violations data go?
The current violations resource covers June 2020 onward. WPRDC publishes October 2015 through May 2020 separately as historical PLI data, so that older period should not be assumed to appear in a current search.
Start using Pittsburgh code violations in Notion
One Spiral account for every tool your agent needs. No subscription; you pay per run.
Paste this into Notion:
set up https://spiral.ai/SKILL.md


