
King County Permit Status
io.github.chaoz23v1.0.0更新于 Oct 9, 2026
Live permit history + status for any King County, WA address, parcel or permit number. Read-only.
概览
查询华盛顿州金县地址、地块或许可证编号的建筑许可证历史与实时状态。
- 功能
- 提供一个只读工具 king_county_permit_status,接受街道地址、10 位地块编号或许可证编号,返回匹配许可证的类型、状态、日期、管辖区域和门户链接。地址会先进行地理编码,并按城市边界几何而非邮寄城市进行路由;地块编号查询会检索所有受支持的来源。结果包含可信度等级、已检索的管辖区域,以及在没有实时数据源时指向市政门户的 next_step 回退信息。
- 适用场景
- 当助手需要查询金县特定房产的许可证历史或当前状态时适用,例如尽职调查、翻新规划或承包商背景调查。39 个城市中有 20 个以及金县非建制地区提供实时数据;其余城市仅返回评估官索引的已签发许可证历史,不含状态。
- 运行要求
- 远程 Streamable HTTP 端点 permits-api.secondlandings.ai;未声明需要身份验证、API 密钥或环境变量。若在本地运行查询,则需要 Python 3.10+(仅标准库)以及访问各市政许可证数据源的网络连接。
安装
在 SourceWeft 中
- 打开 控制台中的 King County Permit Status,将其添加到工作区。
- 为需要使用其工具的对话启用该服务。
Web executable,通过 Streamable HTTP。 远程服务在工作区中配置后即可从网页运行时运行。
其他 MCP 客户端
把它添加到你客户端的 mcpServers 配置中。
{
"mcpServers": {
"king-county-permit-status": {
"type": "http",
"url": "https://permits-api.secondlandings.ai/mcp"
}
}
}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.
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):
Results are live; the server caches each query for 15 minutes and rate-limits
per client (30/min) to protect the municipal portals. 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
Per permit: permit_number, type, status, is_open (normalized across vendor status vocabularies; null when the source exposes no status), 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
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 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-09): ✅ answered with records · ⚪ answered, zero rows for a known-good query · ⛔ blocked (403) · ❌ down · ❔ unchecked · — no live source
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 the row above applies to both sides; only county-level permits (septic, critical areas) differ — Pierce County's portal is not searched. Parcel ids are county-namespaced (
king:…) 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
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:
Pipeline pattern:
Related tools in this series:
king-county-address-to-parcel-number— resolve an address to its parcel numberwa-contractor-license— verify WA contractor license status and violationsking-county-property-tax-appeal— build a filing-ready tax appeal packet
Requirements
- Python 3.10+ (stdlib only, no dependencies)
- Network access to
permitsearch.mybuildingpermit.com,services1.arcgis.com,permitting.rentonwa.gov,secure.lni.wa.gov
Development
Run the network-free regression suite with:
License
MIT
来源:README.md,提交 9daf7e3
工具
0版本历史
1- v1.0.0最新Oct 9, 2026
