Back to Browse

King County Permit Status MCP Server

Developer ToolsLow Risk10.0MCP RegistryRemote
Free

Server data from the Official MCP Registry

Live permit history + status for any King County, WA address, parcel or permit number. Read-only.

About

Live permit history + status for any King County, WA address, parcel or permit number. Read-only.

Remote endpoints: streamable-http: https://permits-api.secondlandings.ai/mcp

Security Report

10.0
Low Risk10.0Low Risk

Valid MCP server (1 strong, 0 medium validity signals). No known CVEs in dependencies. Imported from the Official MCP Registry.

1 tool verified ยท Open access ยท No issues found

Security scores are indicators to help you make informed decisions, not guarantees. Always review permissions before connecting any MCP server.

Permissions Found in Source Code

Found by scanning the linked source code. This listing connects to a hosted endpoint, so none of this runs on your machine: it describes what the server software does where it is hosted.

HTTP Network Access

Connects to external APIs or services over the internet.

How to Connect

Remote Plugin

No local installation needed. Your AI client connects to the remote endpoint directly.

Add this to your MCP configuration to connect:

{
  "mcpServers": {
    "io-github-chaoz23-king-county-permit-status": {
      "url": "https://permits-api.secondlandings.ai/mcp"
    }
  }
}

Documentation

View on GitHub

From the project's GitHub README.

King County Permit Status

Look up building permit history and status across King County, WA jurisdictions โ€” county-level permits (septic, critical areas, grading) and city-level permits (building, mechanical, electrical) can all apply to the same address. Coverage is live where a jurisdiction offers an open permit feed, and falls back to the correct municipal portal link everywhere else.

Coverage today: ๐ŸŸข 20/39 cities live (status + history) ยท ๐ŸŸ  19/39 indexed (issued-permit history from the King County Assessor; current status needs the city portal, which next_step names) ยท plus unincorporated King County. See the coverage scorecard below for the per-city breakdown.

python3 lookup.py "27927 E Main St"           # by address
python3 lookup.py "7222000353"                  # by parcel number
python3 lookup.py "B25000947"                   # by permit number
python3 lookup.py "23-127651-LP"                # Bellevue permit number
python3 lookup.py "6145915-CN"                  # Seattle SDCI permit number
python3 lookup.py --pipe "27927 E Main St"      # agent pipeline mode
python3 lookup.py --limit 10 --since 2020-01-01 --type electrical "27927 E Main St"   # shape: newest 10 electrical since 2020
python3 lookup.py --all "27927 E Main St"       # every permit (default is the 50 newest + a summary of all)
python3 lookup.py --schema                      # print tool definition

Hosted API + MCP (no install)

The same lookup is served read-only, no auth, from permits-api.secondlandings.ai (server.py, zero dependencies; see deploy/README.md):

MCP (Streamable HTTP)POST https://permits-api.secondlandings.ai/mcp โ€” tool king_county_permit_status, arg query
RESTGET https://permits-api.secondlandings.ai/api/lookup?q=1817+Morris+Ave+S,+Renton+WA โ€” optional limit, since=YYYY-MM-DD, types=electrical,mechanical
Vendor map/vendor-map (and /vendor-map.json) โ€” which permitting system each of the 39 cities runs, how it is queried or why it can't be, electrical authority, per-type routing; generated from the adapter config (scripts/gen_vendor_map.py, also in docs/vendor-map.md)
OpenAPI 3.1 (typed)/openapi.json ยท agent orientation /llms.txt ยท CLI definition /tool.json ยท /healthz

Results are live; the server caches each query for 15 minutes and rate-limits per client (30/min) to protect the municipal portals. Known hosted-only gap: Tyler's hosted Civic Access (Redmond) returns 403 to datacenter IPs, so from the hosted endpoint a Redmond lookup carries the Assessor index plus a next_step with reason: source_blocked instead of live Redmond records; run lookup.py locally for those. Every other source answers from the droplet. Run it yourself with python3 server.py or docker compose up โ€” server.json is the MCP Registry manifest.

Parcel-number searches query every supported MyBuildingPermit and live city portal because a bare parcel number does not identify its city jurisdiction.

Address searches are routed by geometry, not the mailing city: the address is geocoded with King County's four-county locator and the point is tested against the city-limits polygons. A "Kent, WA" address that sits in unincorporated King County is searched as county, not Kent; an address with no city in it is routed correctly instead of fanning out to every jurisdiction; and Pierce-side addresses of Milton/Pacific/Auburn get a pierce: parcel id. The mailing city is only used when geocoding fails (jurisdiction.basis says which).

What you get

{
  "action": "found",
  "permit_count": 2,
  "searched": ["Renton (EnerGov)"],
  "permits": [
    {
      "permit_number": "E26000458",
      "type": "Residential Electrical Permit",
      "status": "Issued",
      "description": "Electrical Work (Garage & Garage Exterior): ...",
      "address": "1817 Morris Ave S Renton WA 98055",
      "jurisdiction": "Renton",
      "applied_date": "2026-01-28",
      "issued_date": "2026-01-28",
      "finaled_date": null,
      "expires_date": "2027-07-27",
      "portal": "https://permitting.rentonwa.gov",
      "record_url": null,
      "is_open": true
    }
  ],
  "trust_level": "live",
  "fetched_at": "2026-10-08T19:02:11+00:00",
  "parcel_id": "king:7222000353",
  "cite_as": "King County Permit Status (github.com/chaoz23/king-county-permit-status), queried 2026-10-08 via Renton (EnerGov)"
}
FieldDescription
actionfound (permits returned), none (no matches), refine (connection issue)
permit_countUnique permits found before any filter (= summary.total)
summaryAnswer from this first. Computed over every permit matching since/types, not just the returned rows: total, matched, returned, truncated, open, closed, status_unknown, by_type, by_status, by_year, years [oldest, newest], latest
permitsUp to limit records (default 50), newest first โ€” a 356-permit commercial parcel is ~56k tokens unshaped; the summary carries the whole picture
filtersThe limit / since / types that produced this response
searchedWhich jurisdictions were searched
separate_portalIf the city has an unsupported portal: city name + URL + prose note
next_stepStructured twin of separate_portal for agents: kind: manual_portal_search, reason (no_feed / electrical_only / parcel_resolution_failed / source_incomplete / source_blocked โ€” the city's live system refused this client with 403), portal_url (the portal's actual search page when known โ€” PermitTrax, LAMA, OpenGov, Kent), vendor, search_by (inputs that page accepts; empty when login-gated), query, query_type, covers_electrical, hint
errorsSource errors when a search is incomplete; may accompany permits from successful sources
trust_levellive (every applicable source answered), partial (a source errored or hit its result cap โ€” see errors), fallback (nothing searchable). A city that needs a manual portal visit (next_step) is a scope fact, not distrust, and no longer lowers this
fetched_atUTC timestamp of the query โ€” records are live, never cached
parcel_idCounty-namespaced parcel, e.g. king:7222000353 or pierce:5985002900, when the query was or resolved to a parcel
jurisdictionWhere the query was routed and why: city, basis (city-limits = the geocoded point falls inside that city's polygon โ€” authoritative; geocoder-city; address-text = the mailing city in the query, used only when geocoding fails), county, unincorporated (true โ†’ county permits only, even if the mailing city says "Kent")
routing_by_typeWhere each kind of permit lives for the resolved place โ€” building, mechanical_plumbing, electrical, land_use, engineering_row, fire, grading, septic โ†’ {system, portal, live, note}. live: true means this tool searched that system; otherwise portal is where to look (e.g. septic is always King County Public Health; electrical is L&I unless the city self-runs it)
address_resolutionHow well the geocoder matched an address: matched_address, score, match_type (point = exact address point; interpolated = number placed along the street; street), partial_match, street_number_snapped, parcel_basis (address-point, parcel-polygon, or nearby-parcel when the PIN came from the parcel layer under/near an interpolated point โ€” then candidate_parcels lists the alternatives)
cite_asOne-line attribution string for generated text

Per permit: permit_number, type, status, is_open (heuristic, census-tested weekly; null when the source exposes no status) with is_open_basis (finaled_date = certain, status-vocabulary = regex over the vendor's status word, null = unknown), description, address, jurisdiction, applied_date, issued_date, finaled_date, expires_date, portal, record_url (the specific record's URL when the source exposes one).

Multi-jurisdiction coverage

SourceCities / scope
MyBuildingPermit.comAuburn, Bellevue, Bothell, Burien, Edmonds, Federal Way, Issaquah, Kenmore, King County (unincorporated), Kirkland, Mercer Island, Mill Creek, Newcastle, Sammamish, Snoqualmie
Bellevue Open Data (live ArcGIS API)Daily Bellevue permit snapshot (1998+) for address, parcel, and permit-number searches
Seattle Open Data (live Socrata APIs)Building, electrical, trade, and land-use permits for Seattle address and permit-number searches; parcel-number queries reach it through the Assessor's site address (the datasets have no parcel column)
Renton EnerGov (live API)All Renton permit types including electrical
Redmond EnerGov Civic Access (live API)All Redmond permit types including electrical, for address, parcel, and permit-number searches
Accela Citizen Access (live)Woodinville, and King County's own agency for unincorporated addresses (older history, enforcement and electrical records that MyBuildingPermit lacks), for address, parcel, and permit-number searches
SmartGov (live)Normandy Park and Carnation, for address, parcel, and permit-number searches
King County Assessor parcel indexIssued-permit history (number, type, description, issue date, value, issuing city) for every King County parcel โ€” the only source for the 19 cities without a public portal. It is what cities report for valuation: building/remodel/addition permits (some electrical), dense since ~2023 and thin before, back to the late 1990s; never trade sub-permits or inspections, and no status. Address queries use the geocoded parcel, parcel queries use it directly
LAMA (live)SeaTac, for address and permit-number searches (incl. SeaTac's self-run electrical; parcel search not offered by the portal; capped at 200 newest per query)
Shoreline eTRAKiT (live)Building, mechanical/plumbing, and land-use permits for Shoreline address, parcel, and permit-number searches (status/description not exposed by the portal's search)
WA State L&IElectrical permits for cities not handling their own (2020+)

Coverage scorecard

Auto-generated from routing_data.json (python3 scripts/gen_scorecard.py --write). One row per King County city.

Legend โ€” โœ… live (status + history) ยท ๐Ÿ—‚๏ธ index (valuation-reported building history ยท the number after โœ…/๐Ÿ—‚๏ธ in Building is the record count at the city's QC address (see qc_addresses.json) โ€” how much is really behind the row from the King County Assessor's parcel index โ€” no status, no sub-permits, dense since ~2023) ยท โž– L&I electrical only (2020+) ยท โš ๏ธ gap (city self-runs electrical, not yet integrated)

Health = last weekly live probe of the city's source (scripts/source_health.py, 2026-10-12): โœ… answered with records ยท โšช answered, zero rows for a known-good query ยท โ›” blocked (403) ยท โŒ down ยท โ” unchecked ยท โ€” no live source

CityStatusSourceHealthBuildingElectricalMech/PlumbLand Use
Algona๐ŸŸ  IndexedKC Assessor indexโœ…๐Ÿ—‚๏ธ index 2โž– L&I๐Ÿ—‚๏ธ index๐Ÿ—‚๏ธ index
Auburn๐ŸŸข LiveMyBuildingPermitโœ…โœ… 133โž– L&Iโœ…โœ…
Beaux Arts Village๐ŸŸ  IndexedKC Assessor indexโœ…๐Ÿ—‚๏ธ index 5โž– L&I๐Ÿ—‚๏ธ index๐Ÿ—‚๏ธ index
Bellevue๐ŸŸข LiveBellevue (Open Data)โœ…โœ… 359โœ…โœ…โœ…
Black Diamond๐ŸŸ  IndexedKC Assessor indexโœ…๐Ÿ—‚๏ธ index 2โž– L&I๐Ÿ—‚๏ธ index๐Ÿ—‚๏ธ index
Bothell๐ŸŸข LiveMyBuildingPermitโœ…โœ… 117โž– L&Iโœ…โœ…
Burien๐ŸŸข LiveMyBuildingPermitโœ…โœ… 27โœ…โœ…โœ…
Carnation๐ŸŸข LiveCarnation (SmartGov)โœ…โœ… 2โž– L&Iโœ…โœ…
Clyde Hill๐ŸŸ  IndexedKC Assessor indexโœ…๐Ÿ—‚๏ธ index 3โž– L&I๐Ÿ—‚๏ธ index๐Ÿ—‚๏ธ index
Covington๐ŸŸ  IndexedKC Assessor indexโœ…๐Ÿ—‚๏ธ index 24โž– L&I๐Ÿ—‚๏ธ index๐Ÿ—‚๏ธ index
Des Moines๐ŸŸ  IndexedKC Assessor indexโœ…๐Ÿ—‚๏ธ index 17โš ๏ธ gap๐Ÿ—‚๏ธ index๐Ÿ—‚๏ธ index
Duvall๐ŸŸ  IndexedKC Assessor indexโœ…๐Ÿ—‚๏ธ index 1โž– L&I๐Ÿ—‚๏ธ index๐Ÿ—‚๏ธ index
Enumclaw๐ŸŸ  IndexedKC Assessor indexโœ…๐Ÿ—‚๏ธ index 3โž– L&I๐Ÿ—‚๏ธ index๐Ÿ—‚๏ธ index
Federal Way๐ŸŸข LiveMyBuildingPermitโœ…โœ… 120โœ…โœ…โœ…
Hunts Point๐ŸŸ  IndexedKC Assessor indexโœ…๐Ÿ—‚๏ธ index 2โž– L&I๐Ÿ—‚๏ธ index๐Ÿ—‚๏ธ index
Issaquah๐ŸŸข LiveMyBuildingPermitโœ…โœ… 57โž– L&Iโœ…โœ…
Kenmore๐ŸŸข LiveMyBuildingPermitโœ…โœ… 77โž– L&Iโœ…โœ…
Kent๐ŸŸ  IndexedKC Assessor indexโœ…๐Ÿ—‚๏ธ index 7โž– L&I๐Ÿ—‚๏ธ index๐Ÿ—‚๏ธ index
Kirkland๐ŸŸข LiveMyBuildingPermitโœ…โœ… 13โœ…โœ…โœ…
Lake Forest Park๐ŸŸ  IndexedKC Assessor indexโœ…๐Ÿ—‚๏ธ index 1โž– L&I๐Ÿ—‚๏ธ index๐Ÿ—‚๏ธ index
Maple Valley๐ŸŸ  IndexedKC Assessor indexโœ…๐Ÿ—‚๏ธ index 8โž– L&I๐Ÿ—‚๏ธ index๐Ÿ—‚๏ธ index
Medina๐ŸŸ  IndexedKC Assessor indexโœ…๐Ÿ—‚๏ธ index 5โž– L&I๐Ÿ—‚๏ธ index๐Ÿ—‚๏ธ index
Mercer Island๐ŸŸข LiveMyBuildingPermitโœ…โœ… 12โœ…โœ…โœ…
Milton๐ŸŸ  IndexedKC Assessor indexโœ…๐Ÿ—‚๏ธ index 0โš ๏ธ gap๐Ÿ—‚๏ธ index๐Ÿ—‚๏ธ index
Newcastle๐ŸŸข LiveMyBuildingPermitโœ…โœ… 85โž– L&Iโœ…โœ…
Normandy Park๐ŸŸข LiveNormandy Park (SmartGov)โœ…โœ… 21โœ…โœ…โœ…
North Bend๐ŸŸ  IndexedKC Assessor indexโœ…๐Ÿ—‚๏ธ index 2โž– L&I๐Ÿ—‚๏ธ index๐Ÿ—‚๏ธ index
Pacific๐ŸŸ  IndexedKC Assessor indexโœ…๐Ÿ—‚๏ธ index 8โž– L&I๐Ÿ—‚๏ธ index๐Ÿ—‚๏ธ index
Redmond๐ŸŸข LiveRedmond (EnerGov Civic Access)โœ…โœ… 32โœ…โœ…โœ…
Renton๐ŸŸข LiveRenton (EnerGov)โœ…โœ… 24โœ…โœ…โœ…
Sammamish๐ŸŸข LiveMyBuildingPermitโœ…โœ… 11โœ…โœ…โœ…
SeaTac๐ŸŸข LiveSeaTac (LAMA)โœ…โœ… 178โœ…โœ…โœ…
Seattle๐ŸŸข LiveSeattle (SDCI Open Data)โœ…โœ… 131โœ…โœ…โœ…
Shoreline๐ŸŸข LiveShoreline (eTRAKiT)โœ…โœ… 53โž– L&Iโœ…โœ…
Skykomish๐ŸŸ  IndexedKC Assessor indexโœ…๐Ÿ—‚๏ธ index 3โž– L&I๐Ÿ—‚๏ธ index๐Ÿ—‚๏ธ index
Snoqualmie๐ŸŸข LiveMyBuildingPermitโœ…โœ… 57โž– L&Iโœ…โœ…
Tukwila๐ŸŸ  IndexedKC Assessor indexโœ…๐Ÿ—‚๏ธ index 6โš ๏ธ gap๐Ÿ—‚๏ธ index๐Ÿ—‚๏ธ index
Woodinville๐ŸŸข LiveWoodinville (Accela)โœ…โœ… 9โž– L&Iโœ…โœ…
Yarrow Point๐ŸŸ  IndexedKC Assessor indexโœ…๐Ÿ—‚๏ธ index 1โž– L&I๐Ÿ—‚๏ธ index๐Ÿ—‚๏ธ index
King County (unincorp.)๐ŸŸข LiveMyBuildingPermit (King County) + KC Accelaโœ…โœ…โž– L&Iโœ…โœ…

Coverage: 20/39 live ยท 19/39 indexed (issued history via the Assessor; status needs the city portal). Plus King County (unincorporated) for county-level permits (septic, critical areas, grading).

โš ๏ธ Electrical gaps: Des Moines, Milton, Tukwila. These cities self-run their electrical program (so L&I is skipped) and are not on MyBuildingPermit, leaving their electrical permits in no feed we search. MBP cities that self-run electrical (Burien, Federal Way, Kirkland, Mercer Island, Sammamish) are not gaps โ€” verified 2026-07-15 that MBP carries their electrical history. Closing the remaining gaps is tracked in the coverage epic.

โ„น๏ธ Split-county cities: Milton (mostly Pierce), Pacific and Auburn straddle the King/Pierce line. Each city issues its own permits for the whole city, so a live row applies to both sides; but the ๐Ÿ—‚๏ธ Assessor index is King County's, so for an indexed split city (Milton) only King-side parcels have index rows โ€” Pierce-side addresses get the portal pointer only. Pierce County's portal is not searched. Parcel ids are county-namespaced (king:โ€ฆ / pierce:โ€ฆ) for this reason.

All 39 incorporated King County cities are recognized. Cities outside the searchable sources are flagged with their municipal portal URL rather than being treated as unincorporated King County.

For comma-separated addresses, the locality component takes precedence over city names that also appear in streets (for example, Kent Kangley Rd, Covington). If a Renton address cannot be resolved to a parcel for its live EnerGov search, the result retains Renton's portal as an actionable fallback. Seattle address and exact permit-number searches query all four official SDCI Open Data datasets; parcel-only Seattle lookup is not yet supported. Kent's official permit-status page currently requires users to sign in to the city portal, so Kent results include that page as a manual fallback.

Exit codes

CodeActionMeaning
0foundpermits[] is populated
1none / refineNo permits or connection issue
2rejectBad input

For agents

tool.json at the repo root contains the full tool definition in Anthropic/OpenAI tool-call format. An agent can load it directly or fetch the live version:

python3 lookup.py --schema
{
  "name": "king_county_permit_status",
  "description": "Look up building permit history and status for any King County, WA property...",
  "input_schema": {
    "type": "object",
    "properties": {
      "query": {
        "type": "string",
        "description": "Street address, 10-digit parcel number, or permit number..."
      }
    },
    "required": ["query"]
  },
  "output_schema": { ... },
  "invocation": {
    "command": "python3 lookup.py --pipe \"{query}\"",
    "exit_codes": {
      "0": "action=found โ€” permits[] is populated",
      "1": "action=none or refine โ€” no permits or connection issue",
      "2": "action=reject โ€” bad input"
    }
  }
}

Pipeline pattern:

# Get all permits at an address, extract open ones
python3 lookup.py --pipe "1817 Morris Ave S, Renton WA" \
  | python3 -c "
import sys, json
d = json.load(sys.stdin)
open_statuses = {'Issued', 'In Review', 'On Hold', 'Pending'}
open_permits = [p for p in d.get('permits', []) if p['status'] in open_statuses]
print(json.dumps(open_permits, indent=2))
"

Related tools in this series:

Requirements

  • Python 3.10+ (stdlib only, no dependencies)
  • Network access to the municipal and county hosts in the source table above (MyBuildingPermit, Tyler/Accela/SmartGov/eTRAKiT/LAMA portals, Seattle and Bellevue open data, gismaps.kingcounty.gov, blue.kingcounty.com, secure.lni.wa.gov)

Development

Run the network-free regression suite with:

python3 -m unittest discover -s tests -v

Contractor search

python3 lookup.py --contractor "Brambila"        # what a contractor has pulled
python3 lookup.py --license BRAMBSL123AA         # same, by L&I license number

Searches MyBuildingPermit's People index across all of its jurisdictions (Auburn, Bellevue, Bothell, Burien, Edmonds, Federal Way, Issaquah, Kenmore, King County, Kirkland, Mercer Island, Mill Creek, Newcastle, Sammamish, Snoqualmie), concurrently, splitting busy contractors by applied-date window; same schema and summary. coverage_note says which cities are not searched by contractor (Seattle, Renton, Redmond, Shoreline, SeaTac, Woodinville, Normandy Park, Carnation โ€” their portals' contractor searches aren't implemented). Pair with wa-contractor-license for the license/bond/insurance check. Also on the hosted API: ?contractor= / ?license=, and the MCP tool's contractor / license arguments.

Quality checks

Four layers, each answering a different question:

CheckQuestionRuns
python3 -m unittest discover -s testsDoes the code still do what it did? (mocked, offline)CI on every push + Mondays
python3 scripts/qc_scorecard.pyDoes every scorecard row behave as claimed, live? One real address per city (qc_addresses.json); expectations are derived from the same classification that renders the scorecard โ€” live rows must return records from the city's own source, indexed rows must return Assessor history plus a next_step, and the electrical column must match what was searchedMondays (non-blocking), or by hand
python3 scripts/qc_smoke.pyDo real, fake and edge inputs route sensibly end to end?Mondays (non-blocking)
python3 scripts/source_health.pyIs each adapter still answering a known-good query, and what status vocabulary is it returning?Mondays โ†’ source_health.json โ†’ scorecard Health column

License

MIT โ€” see LICENSE. Permit data comes from the public municipal and county sources named above; cite results with the cite_as field.

Reviews

No reviews yet

Be the first to review this server!