Election Atlas

io.github.TaltonFigginsPublished by GitHub account TaltonFigginsv0.1.0Updated Nov 7, 2026

US & Canada election maps: precincts, ZIP codes, 2026 districts, ridings. GeoJSON + point lookup.

The publisher's own server: Red Atlas Api

VerifiedStreamable HTTPWeb executableLocation & LifestyleKnowledge & MemoryData & Analytics

Overview

AI-generated overview

A remote atlas of US and Canadian election geographies that lets an assistant look up places, districts, boundaries and officials.

What you can do
  • Search and list geographies by name, level, state or province, and page through results
  • Read a geography's full record, parent chain, child counts and source, and walk the hierarchy
  • Cross-reference overlapping units and districts with population shares, and find the nearest geography to a point
  • Locate which precincts, counties, districts and ridings contain a point, and fetch GeoJSON boundaries for maps
  • Check coverage by country and level, and see data freshness, vintages and refresh history
  • Find officials representing a place, including House and Senate members, state legislators and mayors, with contacts
When to use it
Useful when an assistant needs to answer questions about US or Canadian electoral geography: which district or precinct a place or point falls in, what boundaries look like for a map, or who represents an area. Also suited to joining datasets across ZIP codes, cities, counties and districts.
Requirements
A remote streamable HTTP endpoint; no package, account, API key or environment variable is declared. Network access to the hosted service is required. Large boundary sets are returned as a download link rather than inline.
Before you install
Read-only lookups, but results are reference data: precincts and districts change between elections, so check the vintage and data freshness before relying on them. Boundaries are simplified to roughly 10 m, ZCTAs only approximate USPS ZIP codes, and nearest-geography results are point approximations rather than containment. Addresses must be geocoded separately before point lookup.

Installation

In SourceWeft

  1. Open Election Atlas in the dashboard and add it to a workspace.
  2. Enable the server for the chats that should use its tools.

Web executable via Streamable HTTP. Remote servers run from the web runtime once configured in a workspace.

Use with an agent

Paste this prompt into Claude Code, Codex, Cursor or another agent — or into SourceWeft chat. The agent reads this server's install guide, shows you its publisher, endpoint and sign-in, and adds it to your client once you agree. Keys never go into a command.

Read https://sourceweft.com/mcp/io.github.TaltonFiggins%2Felection-atlas/install.md and connect the MCP server it describes to my client. Before changing any config, show me its publisher, endpoint and sign-in method and wait for my OK. Never put an API key in a command or in a file I would commit; ask me where it should come from.

Read the install guide the agent follows

Other MCP clients

Add this to your client's mcpServers config.

{
  "mcpServers": {
    "election-atlas": {
      "type": "http",
      "url": "https://atlas-production-d344.up.railway.app/mcp"
    }
  }
}

Tools

11

search_geographies

Search geographies

Find geographies by name, e.g. 'Essex County', 'Newark ward 5', 'Toronto Centre'. country: 'US' or 'CA'. level: one of the levels from coverage_summary (e.g. 'county', 'precinct', 'congressional_district', 'federal_electoral_district'). region: USPS state or province code ('NJ', 'ON').

Parameterslevellimitqueryrequiredregioncountry

get_geography

Get a geography

Full record for one geography: attributes, parent chain up to the country, child counts by level, and the source it came from (licence, vintage, last fetched).

Parametersidrequired

list_children

List children

Geographies directly under `id` (state -> counties and districts, county -> precincts and towns, province -> ridings). Filter with `level`; page with limit/offset (max 1000).

Parametersidrequiredlevellimitoffset

list_geographies

List geographies

Every geography at one level, optionally within one state/province, e.g. all congressional districts in 'NJ' or all federal ridings in 'ON'. Page with limit/offset (max 1000).

Parameterslevelrequiredlimitoffsetregioncountryrequired

nearest_geographies

Nearest geographies

Geographies at `level` whose internal point is closest to (lat, lon). This is a nearest-point approximation, not point-in-polygon. To find the geography containing a point, use locate_point.

Parameterslatrequiredlonrequiredlevelrequiredlimit

data_freshness

Data sources and freshness

When each upstream dataset was last fetched and checked, what period it describes (vintage), how often it is re-checked, and whether it is overdue. Includes the recent refresh history.

Takes no parameters.

coverage_summary

Coverage summary

What's in the atlas: row counts by country and level, with the vintage of each layer.

Takes no parameters.

get_boundaries

Get boundaries (GeoJSON)

Polygon boundaries as a GeoJSON FeatureCollection (EPSG:4326, RFC 7946 winding), for drawing dashboard maps. id: the geography to draw, e.g. 'us:county:34013'. children_level: draw everything at that level inside it instead, e.g. every 'precinct' in a county or state, every 'county' in a state, every 'polling_division' in a riding, or every 'precinct' overlapping a congressional district (any share; use related_geographies for shares). detail: 'high' (~10 m), 'medium' (~50 m, default) or 'low' (~200 m). Neighbouring shapes from the same source share identical edges at every detail level. clip_to_land: trim open water (ocean, bays, Great Lakes) using the state/province shoreline outline (default true; inland lakes are not trimmed; shorelines are generalized to ~1:500k, widened ~200 m so land isn't cut); false gives legal extents. include_districts: add each feature's congressional / state senate / state house district holding the largest share of its population. Feature properties: id, level, code, name, parent_id, region, population (2020 Census for precincts and towns, latest estimate for counties and states), vintage and source_id (2020 Census VTDs have source_id 'us-census-vtd-2020'; current precincts don't), shape_source. Small results come back inline as `geojson`. Larger ones are not returned inline (they'd flood the conversation): the hosted service returns a short-lived `download_url` (fetch it with curl into your project); a local server writes the file to its own export folder and returns `file` (copy it into your project). Page big selections with offset/limit (max 5000 features).

Parametersidrequiredlimitdetailoffsetclip_to_landinline_max_kbchildren_levelinclude_districts

locate_point

Locate a point

Which geographies contain a point: precinct, county, town, congressional and state legislative districts in the US; province, census division and subdivision, federal riding, polling divisions and provincial districts in Canada. Point-in-polygon on stored boundaries (simplified to ~10 m, so a point within ~10 m of a line can land on either side). Geocode an address to lat/lon first. levels: restrict to some levels (default: all except 'vtd_2020'). If a point is just outside every shape of a level that its state/province has (a pier, a beach, a gap between precinct files), it is matched to the nearest shape of that level in the same state/province within ~1 km and flagged approximate=true with distance_m. not_found lists levels the state/province has data for but no shape here; no_data lists levels with no boundaries there at all (e.g. Nebraska has no state house; Ontario has no provincial polling divisions here).

Parameterslatrequiredlonrequiredlevels

find_officials

Find elected officials

Who represents a place: members of the U.S. House and Senate, state legislators and the mayor, with contacts. Give a geography `id` (a congressional district, state, city 'us:place:...', county, town or ZIP 'us:zcta:...') or a point (`lat`, `lon`; geocode an address first). For a city, county or ZIP that spans several districts, each representative comes with `share` = share of that area's 2020 residents in the district; for an exact answer use a point. Members listed are those serving now (119th Congress, until January 3, 2027); the districts are the 120th Congress maps elected November 3, 2026. In states that redrew for 2026 (AL, CA, FL, LA, NC, OH, TN, TX, UT) a representative's `note` says they were elected under the previous map. A district with no member is vacant. State legislators (state_legislators=True, except for a whole state, where pass it explicitly) come from Open States; members in states that redrew legislative maps for 2026 (MI, MN, MS) carry a similar note. Mayors (local=True) come from Open States (larger cities, while their term runs) or, failing that, Wikidata (one current head of government, in office since 2010; their `note` says to confirm on the city's website). Sources: the @unitedstates congress-legislators dataset (CC0), Open States (public domain), Wikidata (CC0). US only for now.

Parametersidlatlonlocalstate_legislators

Version history

1
  1. v0.1.0LatestNov 7, 2026

Score

83% of the applicable checks met

How complete this listing is, computed from the registry entry, the endpoint and public sources. Not a rating of the server and not a statement that it is safe or working today: reachability is a dated check, and no installs or reviews go into the score.

  • Reached in the last 30 daysRequired25 pts
  • Auth declaredRequired10 pts
  • Tools listedRequired15 pts
  • DescriptionRequired15 pts
  • Logo10 pts
  • Documentation15 pts

    Declare a GitHub repository with a README, or serve resource_documentation in the OAuth protected-resource metadata.

  • LicenseNot applicable

    A hosted service is used under its provider's terms, so no license is expected here. This check is left out of the percentage.

Other Atlas integrations