Boundary Atlas

ZIP code 17047: Southwest Madison, PA

ZIP code 17047 is in Loysville (5.5% of residents), in Perry County, Pennsylvania. 94% of its residents live outside city limits. It is in Pennsylvania's 13th congressional district. Its state senate district is State Senate District 34; its state house district is State House District 86.

2,688residents (2020 Census)
44.6 sq miland area
1cities and towns
1congressional district
4voting precincts

See it on the mapAll of Pennsylvania

City and county

City or townShare of ZIP residents
Loysville5.5%

CountyShare of ZIP residents
Perry County100%

Town or county subdivisionShare of ZIP residents
Southwest Madison township32%
Tyrone township31%
Northeast Madison township20%
Saville township16%

Congressional district

Congressional districtShare of ZIP residents
Pennsylvania's 13th congressional district (PA-13)100%

Elected officials

OfficeMemberContactShare of residents
U.S. Representative (PA-13)John Joyce (R)202-225-2431100%
U.S. SenatorDavid McCormick (R)202-224-6324 · contact formstatewide
U.S. SenatorJohn Fetterman (D)202-224-4254 · contact formstatewide
State Senator (State Senate District 34)Greg Rothman (R)717-283-4200100%
State Representative (State House District 86)Perry Stambaugh (R)717-582-8119100%

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
State Senate District 34100%

State house districtShare of ZIP residents
State House District 86100%

Voting precincts

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

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