MuniMCP Documentation

Setup recipes, exact backend plan limits, normalized schema fields, and API key operations for MuniMCP.

Quickstart

Connect any MCP client to https://munimcp.com/v1/mcp/municipal_permits_v1 or call plain JSON REST endpoints under https://munimcp.com/v1/api/municipal_permits_v1. Unauthenticated requests work immediately using the Free Preview tier.

{
  "mcpServers": {
    "munimcp-permits": {
      "url": "https://munimcp.com/v1/mcp/municipal_permits_v1"
    }
  }
}

Plans & Backend Limits

Every plan exposes all covered cities across 175 municipalities (48 states & DC, 7 portal platforms).

TierQuotaRow LimitTools IncludedRedaction Rules
Free DiscoveryUnlimited ($0, no key)n/ainitialize, ping, tools/list, list_jurisdictions, request_portal_coverageNone (metadata only)
Free Preview10 calls/day per IP ($0, no key)Max 3 rows per callsearch_permits onlyMasks dark-portal contractor_license & source_url
Starter ($29/mo)2,500 calls/month (Bearer key)1 to 50 rows (8 cities x 15 rows on statewide)All 5 MCP toolsUnredacted commercial fields
Pro ($199/mo)25,000 calls/month (Bearer key)1 to 50 rows (8 cities x 15 rows on statewide)All 5 MCP tools + priority requestsUnredacted commercial fields

MCP Tools & REST Mirrors

ToolDescriptionRequired ArgsREST Mirror
list_jurisdictionsFilter and paginate covered permit cities and S1-S7 health ($0). Use when checking coverage, states, chassis, or valuation support; do not use to fetch permits (use search_permits or search_permits_by_state).nonePOST /v1/api/municipal_permits_v1/list_jurisdictions
search_permitsSearch normalized permits for one city by jurisdiction_id or city (+ state_code). Use when querying a single city; do not use for multi-city/state scans (use search_permits_by_state) or coverage checks (use list_jurisdictions). Preview: 10/day, max 3 rows.nonePOST /v1/api/municipal_permits_v1/search_permits
search_permits_by_stateFan out permit search across population-ranked cities in a state or up to 8 jurisdiction_ids (Starter/Pro key). Use when scanning a state or multiple cities; do not use for one city (use search_permits) or city discovery (use list_jurisdictions).nonePOST /v1/api/municipal_permits_v1/search_permits_by_state
get_permit_detailFetch one PermitRecord by exact permit_id (or EnerGov EntityId) in a city. Use when you already have a permit_id; do not use for broad searches (use search_permits).jurisdiction_id, permit_idPOST /v1/api/municipal_permits_v1/get_permit_detail
request_portal_coverageSubmit an uncovered city to the $0 SSRF-checked onboarding queue (paid keys prioritized). Use only after list_jurisdictions confirms the city is missing; do not use to search permits.jurisdiction_name, state_code, portal_urlPOST /v1/api/municipal_permits_v1/request_portal_coverage

Starter Templates

Copy a working REST call below or switch the endpoint URL to call via MCP tools/call.

curl -sS -X POST https://munimcp.com/v1/api/municipal_permits_v1/search_permits \
  -H "Content-Type: application/json" \
  -H "Authorization: Bearer pmcp_live_YOUR_API_KEY" \
  -d '{"jurisdiction_id":"austin_permits","issued_after":"2026-01-01","min_estimated_cost":100000,"permit_type":"commercial","limit":10}'

PermitRecord Schema

Individual residential homeowner names are automatically withheld across all tiers, while licensed commercial contractor records remain intact.

Inspect all 16 normalized PermitRecord fields
FieldTypeDescription
jurisdiction_idstrStable city or county identifier (e.g. chicago_buildings)
citystrNormalized city or county display name
statestrTwo-letter US state or DC code
chassisstrUpstream platform (energov, arcgis, socrata, accela, ckan, ods, carto)
permit_numberstrMunicipality permit identifier
permit_typestr | nullPermit category or record type
statusstr | nullCurrent permit workflow status
work_descriptionstr | nullProject scope or description of work
addressstr | nullNormalized project street address
zip_codestr | nullNormalized 5-digit postal ZIP when available
issued_datestr | nullISO-8601 issue date (YYYY-MM-DD)
estimated_costfloat | nullDeclared construction valuation in USD
contractor_business_namestr | nullCommercial contractor name (homeowner names redacted)
contractor_licensestr | nullContractor license number (masked in free preview on dark portals)
source_urlstr | nullUpstream portal URL (masked in free preview on dark portals)
notesstr | nullOptional supplemental normalization notes

Fleet Health & Canaries

Automated canary checks run every 6 hours against real permit queries for all 175 jurisdictions and publish live status JSON at /v1/health/fleet.

Health states & drift classification codes (S1 to S7)
  • HEALTHY: Upstream query and PermitRecord extraction pass coverage thresholds.
  • DEGRADED (S1, S3, S5, S6): Upstream 404 or client 4xx error (S1), HTTP 200 response or field-mapping drift (S3), upstream auth/WAF/rate-limit 401/403/429 barrier (S5), or upstream 5xx/network timeout (S6). S2 and S4 are reserved for legacy session or contract errors.
  • QUARANTINED (S7): Temporarily routed out after repeated canary or repair failures.

API Keys & Rotation

Paid subscriptions claim a pmcp_live_... key via Stripe checkout redirect at GET /v1/billing/claim?session_id=.... Check remaining quota or rotate your active secret at zero call cost:

Key Inspection & Rotation (cURL)
# Inspect key status and remaining monthly calls ($0 cost)
curl -sS https://munimcp.com/v1/billing/me \
  -H "Authorization: Bearer pmcp_live_YOUR_API_KEY"

# Rotate active key cleanly (invalidates prior secret)
curl -sS -X POST https://munimcp.com/v1/billing/rotate \
  -H "Authorization: Bearer pmcp_live_YOUR_API_KEY"

Request a Missing City

Submit any public US building permit portal URL using the free request_portal_coverage tool or POST /v1/requests. Paid Bearer keys are prioritized in the review queue. Browse active status across all 175 covered municipalities or review Terms, Privacy & Refunds.