@pipeworx/census-tigerweb
Connect: https://gateway.pipeworx.io/census-tigerweb/mcp · Install: one-click buttons
No MCP client? Skip the connection: POST https://gateway.pipeworx.io/v1/tools/search_packs {"query":"..."} to find a tool below, GET /v1/tools/<name> for its schema, POST the same URL with arguments for the data — see For AI agents.
Tools: 3
The Census Bureau’s TIGERweb ArcGIS REST service: every TIGER/Line geography the Bureau publishes as a queryable layer — census tracts, block groups, 2020 blocks, ZCTAs, congressional and state legislative districts, school districts, tribal areas, places, counties, urban areas and PUMAs, with their GEOIDs, names, land/water area and interior points.
Tools
tigerweb_list_layers(service?, filter?, include_label_layers?)— the queryable layers in a TIGERweb service. Call this first; layer ids move between vintages.tigerweb_query(layer_id, service?, where?, out_fields?, limit?, offset?, order_by?, return_geometry?)— ArcGIS WHERE-clause query against any layer.tigerweb_geography_at_point(latitude, longitude, service?, layers?)— every geography containing a coordinate, in one call.
Auth
Keyless.
Data sources
- https://tigerweb.geo.census.gov/arcgis/rest/services/TIGERweb/tigerWMS_Current/MapServer — current-vintage geography (default).
- https://tigerweb.geo.census.gov/arcgis/rest/services — the service directory, including ACS and Census2020 vintages.
Companion to census-geocoder: the geocoder maps an address to a tract, this
pack lists and describes the geographies themselves.
Traps
- Half of the 80 layers in
tigerWMS_Currentare... Labelslayers — point annotation, not boundaries. Querying one returns rows that look like real geography.tigerweb_list_layershides them unless asked. - Layer numbers move between services and vintages. Never carry one over from another service.
- FIPS fields are zero-padded strings:
STATE='11'matches,STATE=11does not. A wrong-typed WHERE clause returns zero rows with a 200. - ArcGIS errors on an
outFieldsname a layer does not have, and these layers do not share a schema (Census Tracts has noBLOCK, ZCTAs have noCOUNTY).tigerweb_geography_at_pointasks for*and trims afterwards. resultRecordCountcaps a page; the service has its own max too. Ask for more and you silently get the service max.- Geometry is large —
return_geometrydefaults to false.
Tools
- tigerweb_list_layers — List the queryable TIGER/Line geography layers in a Census TIGERweb ArcGIS service — census tracts, block groups, 2020 blocks, ZCTAs, congressional and state legislative districts, school districts, t
- tigerweb_query — Queries any Census TIGERweb geography layer by WHERE clause, returning the matching tracts, ZCTAs, districts or places with GEOIDs.
- tigerweb_geography_at_point — Given a latitude/longitude in the United States, return every TIGER/Line geography containing it in one call — state, county, census tract, block group, 2020 block, ZCTA, place, county subdivision, sc
Tools
tigerweb_geography_at_point— Given a latitude/longitude in the United States, return every TIGER/Line geography containing it in one call — state, county, census tract, block group, 2020 block, ZCTA, place, county subdivision, sctigerweb_list_layers— List the queryable TIGER/Line geography layers in a Census TIGERweb ArcGIS service — census tracts, block groups, 2020 blocks, ZCTAs, congressional and state legislative districts, school districts, ttigerweb_query— Queries any Census TIGERweb geography layer by WHERE clause, returning the matching tracts, ZCTAs, districts or places with GEOIDs.