Spiral gives your agent every tool with one account. Browse the tools →

Codex · Maps & Reviews

How to Use Seattle permit details in Codex

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 Codex

Copy an example into Codex, 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.

Seattle permit detailsCodex
Try asking
  • 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 Codex

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

Use Spiral's MCP server

  1. Add the hosted server
    codex mcp add spiral --url https://api.spiral.ai/mcp
  2. Sign in

    Codex opens the browser: sign in to Spiral and click Authorize. No API key. codex mcp list then shows Spiral.

    codex mcp login spiral

Use the Spiral skill

  1. Send Codex 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 the Spiral CLI

  1. 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

  1. Create an API key

    In the console, under API keys.

  2. 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: Codex 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.

AlexandriaMaps & Reviews

Settings you can ask for

Ask Codex for any of these in your prompt.

SettingAllowed valuesDefaultDescription
Kindbuilding, 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 Codex?

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.

Questions about Seattle permit details in Codex

Can Codex use Seattle permit details?

Yes. Add Spiral to Codex as an MCP server, and Codex can find and run Seattle permit details like any built-in tool.

How much does Seattle permit details cost in Codex?

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

Do I need an Alexandria account to use Seattle permit details in Codex?

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 Codex?

About two minutes: add the hosted server, then sign in.

Does Codex wait while Seattle permit details runs?

Seattle permit details runs in the background. Codex 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.

Get started

Start using Seattle permit details in Codex

One Spiral account for every tool your agent needs. No subscription; you pay per run.

Paste this into Codex:

Set up Codex

set up https://spiral.ai/SKILL.md
Are you an AI agent? See setup options