Many (most?) municipalities have some kind of permit process that lets you block of a street or a portion of a street for a party.
Ann Arbor
Permits are issued by the Ann Arbor City Clerk, and tracked in the city's Trakit system with the prefix BLCK.
Maps
Pages tagged “Block parties”