Boundary Atlas

ZIP code 02777: Swansea, MA

ZIP code 02777 is in Ocean Grove (17% of residents), in Bristol County, Massachusetts. 83% of its residents live outside city limits. It is in Massachusetts's 4th congressional district. Its state senate district is First Bristol and Plymouth District; its state house districts are 5th Bristol District (60%) and 4th Bristol District (40%).

17,133residents (2020 Census)
22.6 sq miland area
1cities and towns
1congressional district
5voting precincts

See it on the mapAll of Massachusetts

City and county

City or townShare of ZIP residents
Ocean Grove17%

CountyShare of ZIP residents
Bristol County100%

Town or county subdivisionShare of ZIP residents
Swansea town100%

Congressional district

Congressional districtShare of ZIP residents
Massachusetts's 4th congressional district (MA-04)100%

Elected officials

OfficeMemberContactShare of residents
U.S. Representative (MA-04)Jake Auchincloss (D)202-225-5931100%
U.S. SenatorEdward J. Markey (D)202-224-2742 · contact formstatewide
U.S. SenatorElizabeth Warren (D)202-224-4543 · contact formstatewide
State Senator (First Bristol and Plymouth District)Michael Rodrigues (Democratic)508-646-0650100%
State Representative (5th Bristol District)Justin Thurber (R)60%
State Representative (4th Bristol District)Steven Howitt (R)40%

Officials serving now (members of Congress until January 3, 2027). Sources: State legislators: Open States (public domain); Members of Congress: the @unitedstates project, congress-legislators (CC0).

Local government

State legislative districts

State senate districtShare of ZIP residents
First Bristol and Plymouth District100%

State house districtShare of ZIP residents
5th Bristol District60%
4th Bristol District40%

Voting precincts

5 voting precincts overlap ZIP 02777. Map them, with each precinct's share of the ZIP's residents.

Get this in your AI agent

Your agent can get these cities, counties, districts and precincts with their shares, and their GeoJSON boundaries, from Boundary Atlas. Add https://atlas-production-d344.up.railway.app/mcp to Claude, ChatGPT, Cursor or Codex (free, no key; how), then:

related_geographies(id="us:zcta:02777")

ZIP 02777 here is the Census Bureau's ZIP Code Tabulation Area, which approximates the USPS ZIP Code; PO-box-only ZIPs have none. Districts are the maps in force for the November 3, 2026 election.