Philadelphia, PA Building Permit API & Municipal Records MCP
Query normalized Philadelphia, PA building permits and construction records from phl.carto.com (Carto SQL) via Streamable-HTTP MCP (https://munimcp.com/v1/mcp/municipal_permits_v1) or REST.
Open Data portal: normalized schema; unauthenticated preview capped at 10 calls/day per IP and 3 rows per search.
Schema Notes: City of Philadelphia L&I Building & Trade Permits (Carto SQL v2).
Available MCP Tools & Endpoints
Connect via Streamable HTTP at POST https://munimcp.com/v1/mcp/municipal_permits_v1 or call any REST mirror below using jurisdiction_id = "philadelphia_pa".
| MCP Tool | Description | Required Args | REST Endpoint |
|---|---|---|---|
list_jurisdictions | List all covered municipal building permit jurisdictions across Socrata, Tyler EnerGov, ArcGIS FeatureServer, Accela ACA, CKAN DataStore, and Carto SQL with live S1-S7 health, chassis badge, and manifest version ($0 free). | none | POST /v1/api/municipal_permits_v1/list_jurisdictions |
search_permits | Search normalized PermitRecord building permits across Socrata, EnerGov, ArcGIS FeatureServer, Accela, CKAN, and Carto jurisdictions. Unauthenticated preview allows 10 calls/day (capped at 3 rows, masks dark-portal contractor_license/source_url); Bearer API key unlocks full unredacted rows. | jurisdiction_id | POST /v1/api/municipal_permits_v1/search_permits |
get_permit_detail | Fetch a single normalized PermitRecord by permit_id (or EnerGov EntityId) for an active jurisdiction. | jurisdiction_id, permit_id | POST /v1/api/municipal_permits_v1/get_permit_detail |
request_portal_coverage | Request adding a new municipal building permit portal (free, SSRF-checked triage queue; paid Bearer keys receive priority). | jurisdiction_name, state_code, portal_url | POST /v1/api/municipal_permits_v1/request_portal_coverage |
Normalized Extracted Fields
addresscontractor_business_nameissued_datepermit_numberpermit_typestatuswork_descriptionzip_codeSample JSON Request & Response Payloads
{
"jsonrpc": "2.0",
"id": 1,
"method": "tools/call",
"params": {
"name": "search_permits",
"arguments": {
"jurisdiction_id": "philadelphia_pa",
"query": "EP",
"limit": 3
}
}
}
{
"jsonrpc": "2.0",
"id": 2,
"method": "tools/call",
"params": {
"name": "get_permit_detail",
"arguments": {
"jurisdiction_id": "philadelphia_pa",
"permit_id": "EP-2026-011338"
}
}
}
{
"jurisdiction_id": "philadelphia_pa",
"city": "Philadelphia",
"state": "PA",
"chassis": "carto",
"records": [
{
"jurisdiction_id": "philadelphia_pa",
"city": "Philadelphia",
"state": "PA",
"chassis": "carto",
"permit_number": "EP-2026-011338",
"permit_type": "Building",
"status": "Issued",
"issued_date": "2026-11-29",
"work_description": "Normalized Philadelphia Building record",
"address": "Verified Sample Address, Philadelphia, PA",
"contractor_business_name": "Sample Commercial Builders LLC",
"contractor_license": "LIC-EXAMPLE-01",
"source_url": "https://phl.carto.com/api/v2/sql"
}
]
}
Claude Desktop & Cursor MCP Config
{
"mcpServers": {
"munimcp-permits": {
"command": "npx",
"args": [
"-y",
"mcp-remote",
"https://munimcp.com/v1/mcp/municipal_permits_v1",
"--header",
"Authorization: Bearer pmcp_live_YOUR_API_KEY"
]
}
}
}
{
"mcpServers": {
"munimcp-permits": {
"url": "https://munimcp.com/v1/mcp/municipal_permits_v1",
"headers": {
"Authorization": "Bearer pmcp_live_YOUR_API_KEY"
}
}
}
}