city_permits_by_address
Pack: city-permits-by-address · Connect: https://pipeworx.io/mcp (see Connect below for a single-pack URL)
No MCP client? Call it directly: GET https://gateway.pipeworx.io/v1/tools/city_permits_by_address for the schema, then POST the same URL with its arguments for the data.
Individual building permits filed at one street address, read live from the city’s own open-data portal (not the Census aggregate permit statistics). Send address plus city and state (or ZIP). Returns, per permit: permit number, status, category, work description, job value, filed / issued / finaled dates, contractor business name and licence id where the portal has them, parcel, ZIP, coordinates, units, square footage, plus address-level rollups (permit total, first and last permit date, total job value, solar / roofing / HVAC / pool / addition / new-construction / electrical / plumbing / demolition flags, last activity date, capture ratio). Covers San Francisco, New York City, Los Angeles, Chicago, Seattle and Austin; any other city returns covered:false with the covered list. Fields a portal does not publish are null and named per city in coverage; owner names and addresses are never returned. Matching is by normalised house number and street name (no geocoder) and the method is stated in the result. Example: {“address”:“930 Sutter St”,“city”:“San Francisco”,“state”:“CA”}.
Parameters
| Name | Type | Required | Description |
|---|---|---|---|
address | string | yes | Street address, e.g. “930 Sutter St” or “930 Sutter St, San Francisco, CA 94109”. Unit numbers are stripped. |
city | string | no | City, e.g. “San Francisco”. For New York City a borough name (Brooklyn) narrows to that borough. |
state | string | no | Two-letter state code or state name, e.g. “CA”. |
zip | string | no | ZIP code; used to pick the city when city is omitted and to drop rows in a different ZIP. |
page | number | no | Page number, default 1. Rollups cover only the rows of the page(s) returned. |
per_page | number | no | Rows per city per page, default ${DEFAULT_PER_PAGE}, max ${MAX_PER_PAGE}. |
limit | number | no | Alias of per_page. |
Example call
Arguments
{
"address": "930 Sutter St",
"city": "San Francisco",
"state": "CA"
}
curl
curl -X POST https://gateway.pipeworx.io/city-permits-by-address/mcp \
-H 'Content-Type: application/json' \
-d '{"jsonrpc":"2.0","id":1,"method":"tools/call","params":{"name":"city_permits_by_address","arguments":{"address":"930 Sutter St","city":"San Francisco","state":"CA"}}}'
TypeScript (@pipeworx/sdk)
import { Pipeworx } from '@pipeworx/sdk';
const pipeworx = new Pipeworx();
const result = await pipeworx.call('city_permits_by_address', {
"address": "930 Sutter St",
"city": "San Francisco",
"state": "CA"
});
Response shape
| Field | Type | Description |
|---|---|---|
found | boolean | |
covered | boolean | |
address_interpreted | object | |
city_resolution | object | |
page | number | |
per_page | number | |
has_more | boolean | |
cities | array | |
rows | array | |
rollups | object | |
coverage | object | |
source | string | |
data_as_of | string |
Full JSON Schema
{
"type": "object",
"properties": {
"found": {
"type": "boolean"
},
"covered": {
"type": "boolean"
},
"address_interpreted": {
"type": "object",
"properties": {
"house_number": {
"type": "string"
},
"street_direction": {
"type": "null"
},
"street_name": {
"type": "string"
},
"street_type": {
"type": "string"
},
"unit_stripped": {
"type": "null"
},
"city": {
"type": "string"
},
"state": {
"type": "string"
},
"zip": {
"type": "null"
}
},
"additionalProperties": true
},
"city_resolution": {
"type": "object",
"properties": {
"basis": {
"type": "string"
},
"cities_tried": {
"type": "array",
"items": {
"type": "string"
}
}
},
"additionalProperties": true
},
"page": {
"type": "number"
},
"per_page": {
"type": "number"
},
"has_more": {
"type": "boolean"
},
"cities": {
"type": "array",
"items": {
"type": "object",
"properties": {
"city": {
"type": "string"
},
"state": {
"type": "string"
},
"dataset": {
"type": "string"
},
"status": {
"type": "string"
},
"rows_returned": {
"type": "number"
},
"portal_rows_before_address_check": {
"type": "number"
},
"has_more": {
"type": "boolean"
},
"match_method": {
"type": "string"
}
},
"additionalProperties": true
}
},
"rows": {
"type": "array",
"items": {
"type": "object",
"properties": {
"permit_id": {
"type": "string"
},
"permit_number": {
"type": "string"
},
"status": {
"type": "string"
},
"permit_category": {
"type": "string"
},
"tags": {
"type": "array",
"items": {
"type": [
null,
"string"
]
}
},
"property_type": {
"type": "string"
},
"street_address": {
"type": "string"
},
"city": {
"type": "string"
},
"state": {
"type": "string"
},
"zip_code": {
"type": "string"
},
"parcel_number": {
"type": "string"
},
"work_description": {
"type": "string"
},
"job_value": {
"type": "number"
},
"filed_date": {
"type": "string"
},
"issued_date": {
"type": "string"
},
"finaled_date": {
"type": [
"string",
"null"
]
},
"approval_days": {
"type": "number"
},
"construction_days": {
"type": [
"number",
"null"
]
},
"contractor_name": {
"type": "null"
},
"contractor_id": {
"type": "null"
},
"jurisdiction_name": {
"type": "string"
},
"latitude": {
"type": "number"
},
"longitude": {
"type": "number"
},
"location_source": {
"type": "string"
},
"location_precision": {
"type": "null"
},
"work_scope": {
"type": "null"
},
"work_summary": {
"type": "string"
},
"solar_system_size": {
"type": "null"
},
"square_footage": {
"type": "null"
},
"units": {
"type": "number"
},
"residential_flag": {
"type": [
"null",
"boolean"
]
},
"commercial_flag": {
"type": [
"null",
"boolean"
]
},
"materials": {
"type": "null"
},
"owner_name": {
"type": "null"
},
"owner_address": {
"type": "null"
},
"derived_fields": {
"type": "array",
"items": {
"type": "string"
}
}
},
"additionalProperties": true
}
},
"rollups": {
"type": "object",
"properties": {
"derived": {
"type": "boolean"
},
"computed_from_rows": {
"type": "number"
},
"row_set_truncated": {
"type": "boolean"
},
"scope": {
"type": "string"
},
"total_results": {
"type": "number"
},
"permit_total": {
"type": "number"
},
"first_permit_date": {
"type": "string"
},
"earliest_permit_date_in_returned_rows": {
"type": "string"
},
"last_permit_date": {
"type": "string"
},
"years_of_history": {
"type": "number"
},
"total_job_value": {
"type": "number"
},
"total_job_value_rows": {
"type": "number"
},
"permit_categories": {
"type": "array",
"items": {
"type": "string"
}
},
"jurisdictions": {
"type": "array",
"items": {
"type": "string"
}
},
"contractors": {
"type": "array",
"items": {}
},
"last_activity_date": {
"type": "string"
},
"distinct_addresses": {
"type": "number"
},
"distinct_jurisdictions": {
"type": "number"
},
"data_through_date": {
"type": "string"
},
"data_through_basis": {
"type": "string"
},
"solar_flag": {
"type": "boolean"
},
"solar_last_date": {
"type": "null"
},
"battery_flag": {
"type": "boolean"
},
"battery_last_date": {
"type": "null"
},
"roofing_flag": {
"type": "boolean"
},
"roofing_last_date": {
"type": "string"
},
"pool_flag": {
"type": "boolean"
},
"pool_last_date": {
"type": "null"
},
"hvac_flag": {
"type": "boolean"
},
"hvac_last_date": {
"type": "string"
},
"addition_flag": {
"type": "boolean"
},
"new_construction_flag": {
"type": "boolean"
},
"electrical_flag": {
"type": "boolean"
},
"plumbing_flag": {
"type": "boolean"
},
"demolition_flag": {
"type": "boolean"
},
"flags_note": {
"type": "string"
},
"capture_ratio": {
"type": "number"
},
"capture_ratio_basis": {
"type": "string"
},
"coverage_confidence": {
"type": "string"
},
"coverage_confidence_basis": {
"type": "string"
},
"data_status": {
"type": "string"
}
},
"additionalProperties": true
},
"coverage": {
"type": "object",
"properties": {
"by_city": {
"type": "array",
"items": {
"type": "object",
"properties": {
"city": {
"type": "string"
},
"state": {
"type": "string"
},
"publisher": {
"type": "string"
},
"dataset": {
"type": "string"
},
"dataset_id": {
"type": "string"
},
"history": {
"type": "string"
},
"fields_published": {
"type": "array",
"items": {
"type": "string"
}
},
"fields_derived_by_us": {
"type": "array",
"items": {
"type": "string"
}
},
"fields_null": {
"type": "array",
"items": {
"type": "string"
}
},
"owner_fields": {
"type": "string"
},
"owner_columns_published_by_portal_and_not_requested": {
"type": "array",
"items": {}
},
"notes": {
"type": "array",
"items": {
"type": "string"
}
}
},
"additionalProperties": true
}
},
"owner_policy": {
"type": "string"
},
"materials": {
"type": "string"
},
"location_precision": {
"type": "string"
}
},
"additionalProperties": true
},
"source": {
"type": "string"
},
"data_as_of": {
"type": "string"
}
},
"additionalProperties": true
}
Connect
Add this to your MCP client config — every tool in the catalog, including this one — or use one-click install buttons:
{
"mcpServers": {
"pipeworx": {
"url": "https://pipeworx.io/mcp"
}
}
}
Connect to just the city-permits-by-address pack
{
"mcpServers": {
"city-permits-by-address": {
"url": "https://gateway.pipeworx.io/city-permits-by-address/mcp"
}
}
}
See Getting Started for client-specific install steps.