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).
| Tier | Quota | Row Limit | Tools Included | Redaction Rules |
|---|---|---|---|---|
Free Discovery | Unlimited ($0, no key) | n/a | initialize, ping, tools/list, list_jurisdictions, request_portal_coverage | None (metadata only) |
Free Preview | 10 calls/day per IP ($0, no key) | Max 3 rows per call | search_permits only | Masks 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 tools | Unredacted 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 requests | Unredacted commercial fields |
MCP Tools & REST Mirrors
| Tool | Description | Required Args | REST Mirror |
|---|---|---|---|
list_jurisdictions | Filter 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). | none | POST /v1/api/municipal_permits_v1/list_jurisdictions |
search_permits | Search 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. | none | POST /v1/api/municipal_permits_v1/search_permits |
search_permits_by_state | Fan 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). | none | POST /v1/api/municipal_permits_v1/search_permits_by_state |
get_permit_detail | Fetch 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_id | POST /v1/api/municipal_permits_v1/get_permit_detail |
request_portal_coverage | Submit 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_url | POST /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
| Field | Type | Description |
|---|---|---|
jurisdiction_id | str | Stable city or county identifier (e.g. chicago_buildings) |
city | str | Normalized city or county display name |
state | str | Two-letter US state or DC code |
chassis | str | Upstream platform (energov, arcgis, socrata, accela, ckan, ods, carto) |
permit_number | str | Municipality permit identifier |
permit_type | str | null | Permit category or record type |
status | str | null | Current permit workflow status |
work_description | str | null | Project scope or description of work |
address | str | null | Normalized project street address |
zip_code | str | null | Normalized 5-digit postal ZIP when available |
issued_date | str | null | ISO-8601 issue date (YYYY-MM-DD) |
estimated_cost | float | null | Declared construction valuation in USD |
contractor_business_name | str | null | Commercial contractor name (homeowner names redacted) |
contractor_license | str | null | Contractor license number (masked in free preview on dark portals) |
source_url | str | null | Upstream portal URL (masked in free preview on dark portals) |
notes | str | null | Optional 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:
# 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.