ZIP code 02871 is in Melville (2.3% of residents), in Newport County, Rhode Island. 98% of its residents live outside city limits. It is in Rhode Island's 1st congressional district. Its state senate district is State Senate District 11; its state house districts are State House District 72 (51%), State House District 71 (49%) and State House District 69 (0.1%).
7 voting precincts overlap ZIP 02871.
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:02871")
ZIP 02871 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.