Somerville, MA Building Permit API & Municipal Records MCP

Query normalized Somerville, MA building permits and construction records from data.somervillema.gov (Socrata Open Data) via Streamable-HTTP MCP (https://munimcp.com/v1/mcp/municipal_permits_v1) or REST.

← All 101 Jurisdictions Report a Problem

Open Data portal: normalized schema; unauthenticated preview capped at 10 calls/day per IP and 3 rows per search.

Schema Notes: Auto-verified Socrata nneb-s3f7 dataset.

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 = "somerville_ma".

MCP ToolDescriptionRequired ArgsREST Endpoint
list_jurisdictionsList all covered municipal building permit jurisdictions across Socrata, Tyler EnerGov, ArcGIS FeatureServer, and Accela ACA with live S1-S7 health, chassis badge, and manifest version ($0 free metadata).nonePOST /v1/api/municipal_permits_v1/list_jurisdictions
search_permitsSearch normalized PermitRecord building permits across Socrata, EnerGov, ArcGIS FeatureServer, and Accela 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_idPOST /v1/api/municipal_permits_v1/search_permits
get_permit_detailFetch a single normalized PermitRecord by permit_id (or EnerGov EntityId) for an active jurisdiction.jurisdiction_id, permit_idPOST /v1/api/municipal_permits_v1/get_permit_detail
request_portal_coverageRequest adding a new municipal building permit portal (free, SSRF-checked triage queue; paid Bearer keys receive priority).jurisdiction_name, state_code, portal_urlPOST /v1/api/municipal_permits_v1/request_portal_coverage

Normalized Extracted Fields

addresscontractor_business_nameestimated_costissued_datepermit_numberpermit_typestatuswork_description

Sample JSON Request & Response Payloads

MCP tools/call: search_permits (somerville_ma)
MCP tools/call: get_permit_detail (HFL25-000045)
{
  "jsonrpc": "2.0",
  "id": 2,
  "method": "tools/call",
  "params": {
    "name": "get_permit_detail",
    "arguments": {
      "jurisdiction_id": "somerville_ma",
      "permit_id": "HFL25-000045"
    }
  }
}
Normalized PermitRecord Response
{
  "jurisdiction_id": "somerville_ma",
  "city": "Somerville",
  "state": "MA",
  "chassis": "socrata",
  "records": [
    {
      "jurisdiction_id": "somerville_ma",
      "city": "Somerville",
      "state": "MA",
      "chassis": "socrata",
      "permit_number": "HFL25-000045",
      "permit_type": "Building",
      "status": "Issued",
      "issued_date": "2026-11-12",
      "work_description": "Normalized Somerville Building record",
      "address": "Verified Sample Address, Somerville, MA",
      "contractor_business_name": "Sample Commercial Builders LLC",
      "contractor_license": "LIC-EXAMPLE-01",
      "source_url": "https://data.somervillema.gov/resource/nneb-s3f7.json"
    }
  ]
}

Claude Desktop & Cursor MCP Config

claude_desktop_config.json (Claude Desktop)
{
  "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"
      ]
    }
  }
}
.cursor/mcp.json (Cursor)
{
  "mcpServers": {
    "munimcp-permits": {
      "url": "https://munimcp.com/v1/mcp/municipal_permits_v1",
      "headers": {
        "Authorization": "Bearer pmcp_live_YOUR_API_KEY"
      }
    }
  }
}

Related Municipal Permit APIs

Asotin, WA (socrata)Auburn, WA (socrata)Austin, TX (socrata)Baton Rouge, LA (socrata)Cambridge, MA (socrata)Chicago, IL (socrata)Cincinnati, OH (socrata)Colfax, WA (socrata)