Skip to main content
Glama
city-permits-by-address

city-permits-by-address

by pipeworx-io

@pipeworx/city-permits-by-address

Individual building permits filed at one street address, read live from the city's own open-data portal: permit number, status, category, work description, job value, filed / issued / finaled dates, contractor where the portal publishes one, plus address-level rollups. This is not the Census aggregate permit pack (building-permits: county and place statistics); this one returns permit records for an address.

Part of Pipeworx — an MCP gateway connecting AI agents to 2082+ live data sources. This is an independent, unofficial integration — not affiliated with, endorsed by, or published by the upstream provider.

Tools

  • city_permits_by_address(address, city?, state?, zip?, page?, per_page?, limit?) — permits at an address, with rollups (permit total, first and last permit date, total job value, solar / battery / roofing / pool / HVAC flags with last dates, addition / new-construction / electrical / plumbing / demolition flags, capture ratio) and a per-city coverage block naming which fields the portal publishes, which are null and which we derived. An uncovered city returns covered:false with the covered list. A portal that does not answer is an upstream error, never an empty covered result. Zero rows from a portal that answered is found:false with a reason.

  • city_permits_coverage() — the covered cities, the dataset behind each, its history window, the field-by-field coverage, and the cities checked and left out.

Related MCP server: Bucky

Auth

Keyless.

Data sources

Each city's own open-data portal, read live (nothing is copied or stored):

  • City and County of San Francisco, DataSF: Building Permits (i98e-djp9)

  • New York City Department of Buildings, NYC Open Data: DOB NOW Build, Approved Permits (rbx6-tga4)

  • City of Los Angeles Department of Building and Safety: Building Permits Issued from 2020 to Present (pi9x-tg5x)

  • City of Chicago Department of Buildings: Building Permits (ydr8-5enu)

  • City of Seattle Department of Construction and Inspections: Building Permits (76t5-zqzr)

  • City of Austin Development Services Department: Issued Construction Permits (3syk-w9eu)

Left out: Boston. Measured 2026-12-02 from the gateway edge, the Boston open-data portal answered the permits dataset with a redirect to an OpenGov status page, so no rows could be read. It is listed in checked_and_not_covered and can be added when the portal serves data.

Behaviour notes

  • Address matching has no geocoder. The address is normalised (case, street-type abbreviations, ordinal spellings, direction, unit stripped). The portal is asked server-side for the house number plus the street name, and every row it returns is re-checked against the normalised address; look-alikes (another street type, another number, another ZIP) are dropped. Every response states the method.

  • City resolution. city plus state first; otherwise ZIP prefix; otherwise state only; with none of these every covered city is queried in parallel (one portal call per city) and city_resolution.cities_tried lists them. A city in another state, or a city not listed, returns covered:false.

  • Paging is honest. One portal call per city per page; has_more is true when the portal holds more rows than per_page (default 25, max 100). Rows are newest first.

  • Rollups say what they were computed from. rollups.computed_from_rows and rollups.row_set_truncated are always present. When the set is truncated (more rows exist, or a later page was asked for) the first-permit date and years of history are withheld, earliest_permit_date_in_returned_rows is given instead, and a flag that was not seen is null, not false. Rollups, tags, approval days, construction days, work summary, solar system size and (where the portal gives no class) the residential and commercial flags are derived by us and labelled so on every row (derived_fields).

  • Owner data is never served. Owner names, owner addresses and applicant personal contact details are never requested from the portals that publish them (owner_name and owner_address are always null). Chicago mixes owners and contractors in numbered contact slots; the query narrows server-side so only contractor-typed names are transmitted. NYC contractor_name and contractor_id are the permit applicant's business name and licence number. Austin returns the contractor company name only.

  • A field a portal does not publish is null, per city, and named in coverage.by_city[].fields_null. Nothing is guessed. No covered portal publishes materials or a coordinate precision.

  • Dataset windows differ. NYC covers DOB NOW permits (the older legacy permit system is a separate dataset not queried); Los Angeles covers permits issued from 2020 (2010-2019 is a separate dataset not queried); Austin covers issued permits only. coverage_confidence is therefore at most medium, and low when truncated or a portal failed.

  • data_as_of / data_through_date is the newest record date among the returned rows; these datasets publish no refresh date.

Gotchas

  • SoQL case() in $select is what keeps Chicago owner contact names out of the request; do not replace it with a plain contact_N_name select.

  • The San Francisco portal moved hosts (the old host answers a 301); the new one is used directly.

  • Street names differ by portal: NYC spells the type out ("SOMERS STREET", "WEST 12 STREET"), Chicago keeps the type in the name field and the direction separate, San Francisco splits name and suffix, LA / Seattle / Austin use one address string. Ordinals appear as 5TH, 05th and 5; the query asks for each spelling.

Quick Start

Add to your MCP client (Claude Desktop, Cursor, Windsurf, etc.):

{
  "mcpServers": {
    "city-permits-by-address": {
      "url": "https://gateway.pipeworx.io/city-permits-by-address/mcp"
    }
  }
}

What this endpoint actually serves

tools/list at https://gateway.pipeworx.io/city-permits-by-address/mcp returns the tools in the table above plus five Pipeworx tools: ask_pipeworx, discover_tools, ask_pipeworx_grounded, company_register_search and company_facts. ask_pipeworx answers a question this pack does not cover by routing across the whole catalog, without adding a second MCP server.

Add an option to the same URL:

  • https://gateway.pipeworx.io/city-permits-by-address/mcp?meta=1 lists this pack's tools plus up to 48 shared Pipeworx tools (48 when this README was generated; a connection without an account lists fewer, and its own tools/list is the exact answer on any given day).

  • https://gateway.pipeworx.io/city-permits-by-address/mcp?meta=0 lists this pack's tools alone.

Or connect to the full Pipeworx gateway to get every pack's tools listed directly, instead of just this one's:

{
  "mcpServers": {
    "pipeworx": {
      "url": "https://gateway.pipeworx.io/mcp"
    }
  }
}

Both URLs reach the same gateway and the same 2082+ data sources. The only difference is which pack's tools are listed directly; ask_pipeworx reaches all of them from either one (it is not listed on a ?meta=0 connection).

No MCP client? Call it over HTTP

curl -X POST https://gateway.pipeworx.io/v1/tools/city_permits_by_address \
  -H 'Content-Type: application/json' \
  -d '{"address":"930 Sutter St","city":"San Francisco","state":"CA"}'

No account needed for the first calls. Inspect any tool: GET https://gateway.pipeworx.io/v1/tools/city_permits_by_address. Find one: POST https://gateway.pipeworx.io/v1/tools/search_packs with {"query":"..."}.

Run it from npm

@pipeworx/mcp-city-permits-by-address is a local stdio bridge to the Pipeworx gateway: your MCP client starts it with npx, and it forwards every call to the same https://gateway.pipeworx.io/city-permits-by-address/mcp endpoint shown above. It needs network access; there is no offline mode.

{
  "mcpServers": {
    "city-permits-by-address": {
      "command": "npx",
      "args": ["-y", "@pipeworx/mcp-city-permits-by-address"]
    }
  }
}

Without a key it calls anonymously, capped at 50 calls a day. A free account raises that to 200 a day: get a key at https://pipeworx.io/signup and add "env": { "PIPEWORX_API_KEY": "<your key>" } to the server entry. The key is sent as a Bearer token, the same way a hosted connection sends it, so calls are metered and billed exactly as they are there.

It lists only this pack's tools by default. Set PIPEWORX_META_TOOLS=1 to also list ask_pipeworx and the other gateway-wide tools.

Behind an HTTPS proxy: Node's built-in fetch does not read HTTPS_PROXY by default. Newer Node releases honour it when NODE_USE_ENV_PROXY=1 is set; check your Node version's documentation.

Using with ask_pipeworx

Instead of calling tools directly, you can ask questions in plain English — this works on the pack endpoint above as well as on the full gateway:

ask_pipeworx({ question: "your question about City Permits By Address data" })

The gateway picks the right tool and fills the arguments automatically.

More

License

MIT

Tool Schema Changelog

Recent tool additions, removals, and schema changes observed during successful MCP inspections.

Loading tool schema changelog…

    Related MCP Connectors

    Related MCP Servers

    • A
      license
      A
      quality
      D
      maintenance
      Given a U.S. street address, returns the people who represent it (U.S. Senators, House member, Governor, and state legislators) using free public data, with no API keys required for federal officials.
      5
      MIT
    • A
      license
      Not graded
      quality
      C
      maintenance
      Enables cited site feasibility and pre-development project workflows for Canada and the US, returning lot, zoning, permitted uses, and material envelope details with provenance for a given street address.
      Apache 2.0
    • A
      license
      Not graded
      quality
      C
      maintenance
      Enables AI assistants to search permit coverage, count matching building permits, and retrieve clean permit rows with property and contractor details, including free initial results and paid per-row access.
      MIT
    • A
      license
      Not graded
      quality
      B
      maintenance
      Enables AI harnesses to manage building permits and inspections across multiple city portals through a common data model and standardized tools. Supports listing permits and inspections, fetching details, and safely staging write actions for approval before committing them.
      MIT