How to Use Seattle permit details in VS Code
Returns every published column for one Seattle building, trade, electrical, or land use permit. Use it after finding a permit number to examine the complete published record.
Prompts to try with Seattle permit details in VS Code
Copy an example into VS Code, or ask in your own words.
Find a permit at Seattle Center's 305 Harrison St address, then use Seattle permit details to save its complete published record as JSON in this project.
Use Seattle permit details to look this up and give me the result as a table. Save the result in ./assets.
Pull the latest numbers from Seattle permit details and tell me what changed since last week.
Check Seattle permit details and summarize what you find in three bullet points.
Pull the newest data from Seattle permit details and give me the result as a table.
How to set up Seattle permit details in VS Code
Pick the way that suits you. Each takes about two minutes.
Use Spiral's MCP server
- Add the hosted server
Use Add to VS Code on the console's Agents & MCP page, or run:
code --add-mcp '{"name":"spiral","type":"http","url":"https://api.spiral.ai/mcp"}' - Sign in
VS Code asks you to sign in when it first starts the server: sign in to Spiral and click Authorize. No API key. Run MCP: List Servers from the Command Palette to check that Spiral is running.
Use the Spiral skill
- Send VS Code 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 Seattle 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": "data-seattle-gov/building-permits/get_permit", "input": { "permit_number": "<permit_number>" } }'
Then paste one of the prompts above: VS Code finds Seattle permit details on Spiral, shows the price and runs it.
Seattle permit details providers and prices
Spiral runs Seattle permit details through Alexandria. Open a card for today's price, with every fee included.
$0.00873 per call.
Settings you can ask for
Ask VS Code for any of these in your prompt.
| Setting | Allowed values | Default | Description |
|---|---|---|---|
| Kind | building, trade, electrical, or land_use | Dataset to look in. Optional: inferred from the permit number suffix (EL electrical; LU and EG land use; FR, RF, ME, CY, BP, SB and FS trade; anything else building). |
Every API field of City of Seattle Open Data: permits and land use decisions · Get permit is on its tool page: open its card above.
What can you do with Seattle permit details in VS Code?
Build a Seattle construction report that connects contractor activity with individual permit records. A coding agent can add the report to your project and explain the missing contractor coverage that affects building comparisons.
Roofing contractor comparison
Compare contractors' recorded roofing permit activity, examine their matching projects, and review selected permit records. Explain how missing contractor names limit the comparison.
Electrical contractor shortlist
Identify businesses with recorded electrical permit activity in a Seattle ZIP code, inspect their projects, and assemble examples of relevant work for further review.
Mechanical work market brief
Research mechanical trade permits, compare contractors' recorded activity, and read selected projects to understand the work described in the records.
Construction business reporting
Prepare a Seattle construction bulletin using contractor rankings, project searches, and full records for examples. Describe rankings as recorded permit activity rather than total business revenue.
Commercial site permit history
Find permit records at a public business address and read individual records to summarize the work described at the site.
Proposed development research
Find Seattle land use records and examine individual permits when researching a proposed development.
Demolition activity review
Find demolition permit records and inspect selected projects for a neighborhood development report.
Permit description comparison
Compare saved permit descriptions with later published records to identify changes in proposed work before issuance.
More on Seattle permit details and VS Code
Overview
Seattle permit details in other agents
Questions about Seattle permit details in VS Code
Can VS Code use Seattle permit details?
Yes. Add Spiral to VS Code as an MCP server, and VS Code can find and run Seattle permit details like any built-in tool.
How much does Seattle permit details cost in VS 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 VS Code plan is separate.
Do I need an Alexandria account to use Seattle permit details in VS Code?
No. Spiral runs Seattle 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 Seattle permit details in VS Code?
About two minutes: add the hosted server, then sign in.
Does VS Code wait while Seattle permit details runs?
Seattle permit details runs in the background. VS Code starts the run, checks on it and gives you the json when it's ready.
Does this cover all of King County?
The building dataset covers permits within the city of Seattle. The trade and electrical datasets also describe Seattle coverage, so these records do not provide countywide permit activity.
How fresh are Seattle's permit records?
The provider describes the records as refreshed nightly. That supports daily research and reporting, but does not establish a live view of changes made during the day.
How far back does the published history go?
SDCI says its building and land use datasets include permitting data from 2005. That statement does not establish the same history depth for trade or electrical records.
Can the published work description change?
Yes. Seattle says descriptions are subject to change before permit issuance and are generally more stable after issuance, which matters when comparing proposed work with issued projects.
Start using Seattle permit details in VS Code
One Spiral account for every tool your agent needs. No subscription; you pay per run.
Paste this into VS Code:
set up https://spiral.ai/SKILL.md


