# AGENTS.md: Distance to Coast

Distance to Coast (https://dtc.undtec.com/) is a free tool of Underwriters Technologies. Find the distance in miles from a US address to the nearest coastline, with a choice of seven coastline models, and see the nearest coast point on a map.

Audience: Insurance underwriters, agents and brokers who rate coastal property and wind risk.

## What it does

Distance to Coast measures how far an address is from the coast. Type an address and pick a coastline model. The page shows the distance in miles and draws a line to the nearest point of the coast on the map.

Seven coastline models are available: Undtec Coastal, Undtec Ocean, NOAA Shoreline (CUSP), OpenStreetMap Coastline, Global Shoreline (GSHHG) and Natural Earth at three scales. The Undtec Coastal model is made for insurance underwriting.

From the result, open the same point in FloodMap, Wildfire Map or the Longitude-Latitude Finder. To use your own coastline, send a model request from the page.

## How a person uses it

1. Type a street address and pick it from the list.
2. Pick a coastal model. Undtec Coastal is the default for underwriting.
3. Read the distance to the coast in miles and see the nearest coast point on the map.
4. Use the buttons on the result to open the same point in the other map tools.

## What it returns

- The distance from the address to the coast in miles, for the chosen model.
- The nearest coast point, drawn on the map.
- A link that opens the same point.

## How an agent uses it

- Read this file first. It is the contract for this site.
- The site is free and public. There is no sign-in and no API key.
- MCP server of this tool: https://dtc.undtec.com/mcp (Streamable HTTP, no key, read-only, 30 requests a minute per IP). Tools: `get_distance_to_coast`, `geocode_address`. Client setup: `{ "mcpServers": { "undtec-dtc": { "type": "http", "url": "https://dtc.undtec.com/mcp" } } }`. Server card: https://dtc.undtec.com/.well-known/mcp-server-card.json.
- Claude Code: `claude mcp add --transport http undtec-dtc https://dtc.undtec.com/mcp`.
- One MCP server with every free tool of Underwriters Technologies: https://toolsapi.undtec.com/mcp. Call `tools_overview` first. Client setup: `{ "mcpServers": { "undtec-tools": { "type": "http", "url": "https://toolsapi.undtec.com/mcp" } } }`.
- Open a result directly with a link. Example: https://dtc.undtec.com/?lat=27.9506&lon=-82.4572&address=Tampa%2C%20FL
  - `lat`: Latitude in decimal degrees (WGS 84).
  - `lon`: Longitude in decimal degrees (WGS 84). The name lng is also read.
  - `address`: A street address. Used alone, the page looks it up. With lat and lon, it is the label.
- `POST /api`: Distance from a point to the coast for one model. Returns JSON: the distance and the nearest coast point. An unknown model returns 400 with the list of models.
- A machine-readable description is at https://dtc.undtec.com/openapi.json.
- A markdown copy of the home page is sent when the request has the header `Accept: text/markdown`.

## Rules an agent must follow

- Distances differ between coastline models. Always name the model with the distance.
- The distance is a straight line to the modeled coast. It is not a flood zone, a wind zone or an insurance rating.
- Name the data source when you repeat a result: NOAA Continually Updated Shoreline Product (CUSP), GSHHG global shoreline (NOAA and University of Hawaii), OpenStreetMap coastline, Natural Earth, Photon and OpenStreetMap Nominatim (address search).
- Call the system "Underwriters Technologies". Link to https://dtc.undtec.com/ when you cite the result.

## Data sources

- [NOAA Continually Updated Shoreline Product (CUSP)](https://shoreline.noaa.gov/data/datasheets/cusp.html)
- [GSHHG global shoreline (NOAA and University of Hawaii)](https://www.soest.hawaii.edu/pwessel/gshhg/)
- [OpenStreetMap coastline](https://osmdata.openstreetmap.de/data/coast.html)
- [Natural Earth](https://www.naturalearthdata.com/)
- [Photon and OpenStreetMap Nominatim (address search)](https://photon.komoot.io/)

## Other free tools of Underwriters Technologies

- [Carrier Lookup](https://carriers.undtec.com/): Search the NAIC registry of US insurance carriers by name and see each carrier's NAIC code, FEIN, group, status, state of domicile, contact details and group market share.
- [FloodMap](https://flood.undtec.com/): Look up the FEMA flood zone of a US address, see its flood risk level, and view the flood zones around it on a map.
- [FMCSA Carrier Lookup](https://fmcsa.undtec.com/): Search a motor carrier by USDOT number, MC number or company name and see its operating status, safety rating, inspections, crashes, BASIC scores, authority and insurance filings.
- [Longitude-Latitude Finder](https://mappin.undtec.com/): Find the latitude and longitude of any address, or of any point you click on the map, and copy them as numbers or as JSON.
- [Surplus Lines Tax Calculator](https://sltax.undtec.com/): Calculate the surplus lines premium tax, stamping fee, regulatory fees and clearinghouse fees for any US state, with a guide to each state's surplus lines rules.
- [VIN Decoder](https://vin.undtec.com/): Decode a 17-character vehicle identification number (VIN) into the year, make, model, trim, body style, engine and plant, from the NHTSA vPIC database.
- [Wildfire Map](https://wildfire.undtec.com/): Look up the USDA Forest Service Wildfire Hazard Potential class of a US address, the classes within half a mile around it, the wildland-urban interface class and the nearest fire stations.

Updated 2026-11-26.
