How to Use NYC DOB building permits in Gemini CLI
Returns DOB permit records for a building identified by its BIN. Use it to investigate recorded construction and alteration work alongside the building's violation history.
Prompts to try with NYC DOB building permits in Gemini CLI
Copy an example into Gemini CLI, or ask in your own words.
Use NYC DOB building permits for BIN 1015862. Add the returned permit records to my project's building research page.
Use NYC DOB building permits 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 permits and tell me what changed since last week.
Check NYC DOB building permits and summarize what you find in three bullet points.
Pull the newest data from NYC DOB building permits and give me the result as a table.
How to set up NYC DOB building permits in Gemini CLI
Pick the way that suits you. Each takes about two minutes.
Use Spiral's MCP server
- Add the server
Or add it to ~/.gemini/settings.json yourself:
gemini mcp add --scope user --transport http spiral https://api.spiral.ai/mcp
- Sign in
Start gemini and run:
/mcp auth spiral
- Check it
In Gemini CLI, run /mcp. From your shell:
gemini mcp list
Use the Spiral skill
- Send Gemini CLI 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 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 NYC DOB building permits
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-cityofnewyork-us/property-records/dob_permits", "input": { "bin": "<bin>" } }'
Then paste one of the prompts above: Gemini CLI finds NYC DOB building permits on Spiral, shows the price and runs it.
NYC DOB building permits providers and prices
Spiral runs NYC DOB building permits through Alexandria. Open a card for today's price, with every fee included.
Settings you can ask for
Ask Gemini CLI for any of these in your prompt.
| Setting | Allowed values | Default | Description |
|---|---|---|---|
| Limit | 1 to 100 | 25 | Permits per page (1-100, default 25). |
Every API field of NYC Open Data property records (ACRIS, PLUTO, DOB) · Dob permits is on its tool page: open its card above.
What can you do with NYC DOB building permits in Gemini CLI?
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.
More on NYC DOB building permits and Gemini CLI
Overview
NYC DOB building permits in other agents
Questions about NYC DOB building permits in Gemini CLI
Can Gemini CLI use NYC DOB building permits?
Yes. Add Spiral to Gemini CLI as an MCP server, and Gemini CLI can find and run NYC DOB building permits like any built-in tool.
How much does NYC DOB building permits cost in Gemini CLI?
$0.00873 per call. You pay from your Spiral balance as you go, with no subscription, and a failed run is not charged. Your Gemini CLI plan is separate.
Do I need an Alexandria account to use NYC DOB building permits in Gemini CLI?
No. Spiral runs NYC DOB building permits 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 permits in Gemini CLI?
About two minutes: add the server, then sign in, then check it.
Does Gemini CLI wait while NYC DOB building permits runs?
NYC DOB building permits runs in the background. Gemini CLI 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.
Start using NYC DOB building permits in Gemini CLI
One Spiral account for every tool your agent needs. No subscription; you pay per run.
Paste this into Gemini CLI:
set up https://spiral.ai/SKILL.md


