@pipeworx/location

Connect: https://pipeworx.io/mcp — every tool in the catalog, including @pipeworx/location’s. Install: one-click buttons

Connect to just the @pipeworx/location pack

https://gateway.pipeworx.io/location/mcp — only @pipeworx/location’s own tools, nothing else in the catalog.

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: 2

Turns any place description into one canonical location (name, centre, bounding box, match type and the interpretation applied) and builds map links from it, including the NASA FIRMS fire map.

Tools

  • resolve_location(description, country?, state?, near_lat?, near_lon?) — the canonical location for a ZIP or postal code, US city or county, street address, landmark, lake, park, region, coordinates (decimal or degrees-minutes-seconds), offset (“10 miles north of Truckee, CA”) or radius (“within 25 miles of Belmont, CA”). Returns match_type (coordinates, address, postal_code, place, admin_area, region, landmark, offset, radius), precision_m, center, bbox [west, south, east, north] when the source has an extent, candidates and ambiguous for names that fit several places, sources with fetched_at, and tried. Nothing resolved returns found: false; coordinates are never guessed.
  • location_map_link(description | lat+lon [+ bbox], target?) — a FIRMS (#d:24hrs;@{lon},{lat},{zoom}z, longitude first) or OpenStreetMap link. Zoom comes from the bbox span, clamped to 3-16, so a lake is wide and a small town is close; with no bbox it falls back to a default per match type, and the result says which.

Auth

Keyless.

Data sources

  • US Census Bureau, Geocoding Services — US street addresses.
  • US Census Bureau, TIGERweb — ZIP Code Tabulation Areas, incorporated and census-designated places, counties, states (authoritative extents).
  • Zippopotam.us — postal codes for 60+ countries.
  • OpenStreetMap, Nominatim — landmarks, lakes, parks, regions and everything else, with bounding boxes.
  • Komoot, Photon — fallback when Nominatim has no match.

Notes

  • Logic lives in shared/src/location-resolution/ so other packs and the router can import resolveLocation; this pack is the tool surface.
  • Zoom formula: web-mercator fit of the bbox into a 1000 x 700 px viewport, minus 0.3 level of padding, rounded to 0.1, clamped to 3-16.
  • A US street address is matched by the Census geocoder and interpolated along the street segment (precision_m 30). Non-US postal codes are point matches (Zippopotam holds no extents); UK full postcodes fall back to the outward code and say so.
  • “Springfield” with no state is ambiguous: true with up to 5 candidates; pass state, country or near_lat/near_lon to settle it.
  • Nominatim allows 1 request per second; the resolver spaces its calls and never repeats a query within one resolution.

Tools

  • resolve_location — Turn ANY place description into one canonical location: name, centre point, bounding box, match_type and the interpretation applied. Handles US ZIP / ZIP+4 and international postal codes (with country
  • location_map_link — Build a map link centred and zoomed on a place. Give a description (resolved first, same rules as resolve_location) OR lat and lon (optionally west/south/east/north bbox or an explicit zoom). target f

Tools

  • location_map_link — Build a map link centred and zoomed on a place. Give a description (resolved first, same rules as resolve_location) OR lat and lon (optionally west/south/east/north bbox or an explicit zoom). target f
  • resolve_location — Turn ANY place description into one canonical location: name, centre point, bounding box, match_type and the interpretation applied. Handles US ZIP / ZIP+4 and international postal codes (with country

Regenerated from source · build December 3, 2026