To avoid polarization and maintain small-worldness in society, people who act as attitudinal brokers are critical. These people maintain social ties with people who have dissimilar and even incompatible attitudes. Based on resting-state functional magnetic resonance imaging (n = 139) and the complete social networks from two Korean villages (n = 1508), we investigated the individual-level neural capacity and social-level structural opportunity for attitudinal brokerage regarding gender role attitudes. First, using a connectome-based predictive model, we successfully identified the brain functional connectivity that predicts attitudinal diversity of respondents’ social network members. Brain regions that contributed most to the prediction included mentalizing regions known to be recruited in reading and understanding others’ belief states. This result was corroborated by leave-one-out cross-validation, fivefold cross-validation and external validation where the brain connectivity identified in one village was used to predict the attitudinal diversity in another independent village. Second, the association between functional connectivity and attitudinal diversity of social network members was contingent on a specific position in a social network, namely, the structural brokerage position where people have ties with two people who are not otherwise connected.