How to Use DC building permit details in Gemini CLI
Returns one DC permit's published record, including its address, status, issue date, and work description. Use it to inspect a known permit or check the details behind a search result.
Prompts to try with DC building permit details in Gemini CLI
Copy an example into Gemini CLI, or ask in your own words.
Use DC building permit details to inspect the permit already selected for 50 Massachusetts Avenue NE, Washington, DC, and add its published status and work description to the site's project page.
Use DC building permit details to inspect the permit selected for 801 Mount Vernon Place NW, Washington, DC, and show its issue date, address, status, and work description in the existing detail view.
Use DC building permit details to look this up and give me the result as a table. Save the result in ./assets.
Pull the latest numbers from DC building permit details and tell me what changed since last week.
Check DC building permit details and summarize what you find in three bullet points.
How to set up DC building permit details 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 DC building permit details
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": "opendata-dc-gov/building-permits/get_permit", "input": { "permit_number": "<permit_number>" } }'
Then paste one of the prompts above: Gemini CLI finds DC building permit details on Spiral, shows the price and runs it.
DC building permit details providers and prices
Spiral runs DC building permit details through Alexandria. Open a card for today's price, with every fee included.
What can you do with DC building permit details in Gemini CLI?
Build a DC permit timeline or construction report using published addresses, issue dates, statuses, and work descriptions. A coding agent can connect those records to the project's existing tables and reporting code.
Commercial property permit review
Find permits for a commercial address, then inspect the relevant records to build a dated account of alterations and their published statuses.
Public facility renovation brief
Gather permit records for a library, school, or recreation center and examine the work descriptions for a concise renovation brief.
Construction activity report
Compare matching permit records by issue month and work type, then inspect individual permits to explain notable projects.
Commercial site watch
Check for recently issued permits at selected business properties and review the underlying records before preparing an activity alert.
Permit status comparison
Collect records for a commercial project and compare their published statuses over time, checking individual permits when a difference appears.
Reporting on neighborhood development
Find construction and alteration permits in a DC area, then inspect selected records to support reporting with permit numbers, dates, addresses, and work descriptions.
More on DC building permit details and Gemini CLI
Overview
DC building permit details in other agents
Questions about DC building permit details in Gemini CLI
Can Gemini CLI use DC building permit details?
Yes. Add Spiral to Gemini CLI as an MCP server, and Gemini CLI can find and run DC building permit details like any built-in tool.
How much does DC building permit details 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 DC building permit details in Gemini CLI?
No. Spiral runs DC building permit details on its own Alexandria account. You sign in to Spiral once and never paste a key.
How long does it take to set up DC building permit details in Gemini CLI?
About two minutes: add the server, then sign in, then check it.
Does Gemini CLI wait while DC building permit details runs?
DC building permit details runs in the background. Gemini CLI starts the run, checks on it and gives you the json when it's ready.
What area does the permit data cover?
It covers building construction and alteration permits from the District of Columbia Department of Buildings. It is a DC source, so it does not provide a regional permit history for neighboring Maryland or Virginia jurisdictions.
How far back does DC publish permit data?
DC's source service lists annual permit layers spanning 2009 through 2026. That establishes the published year range, not a guarantee that every historical permit is present.
How often is the source updated?
DC's building-permit metadata specifies daily updates. That is a publication schedule, not a promise that a permit appears immediately after an agency action.
Does a modified date mean the permit changed?
The metadata defines LASTMODIFIEDDATE as the date of a successful transfer from DOB. Compare the published status and work description before describing a refreshed record as a changed permit.
Can I rely on every permit's map location?
No. DC warns that failed address matches can produce 0,0 coordinates, which require manual geocoding before they can support location analysis.
Start using DC building permit details 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


