Boundary Atlas

ZIP code 02145: Somerville, MA

ZIP code 02145 is in Somerville, in Middlesex County, Massachusetts. It is in Massachusetts's 7th congressional district (100%) and Massachusetts's 5th congressional district (0.3%). Its state senate district is Second Middlesex District; its state house districts are 34th Middlesex District (41%), 26th Middlesex District (36%) and 27th Middlesex District (23%).

27,520residents (2020 Census)
1.4 sq miland area
2cities and towns
2congressional districts
13voting precincts

See it on the mapAll of Massachusetts

City and county

City or townShare of ZIP residents
Somerville100%
Medford0.3%

CountyShare of ZIP residents
Middlesex County100%

Town or county subdivisionShare of ZIP residents
Somerville city100%
Medford city0.3%

Congressional districts

Congressional districtShare of ZIP residents
Massachusetts's 7th congressional district (MA-07)100%
Massachusetts's 5th congressional district (MA-05)0.3%

This ZIP is split between districts. A mailing address in it could be in either; the map or locate_point gives the district for an exact address.

State legislative districts

State senate districtShare of ZIP residents
Second Middlesex District100%

State house districtShare of ZIP residents
34th Middlesex District41%
26th Middlesex District36%
27th Middlesex District23%

Voting precincts

13 voting precincts overlap ZIP 02145. 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:02145")

ZIP 02145 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.