# Macrostrat geologic units at a point

Rock units beneath a latitude and longitude in North America and the Caribbean from the Macrostrat database: unit and formation names, ages, thickness and rock types.

- No API key needed to call
- Source: [Macrostrat geologic database API](https://macrostrat.org/)
- Licence and terms: [CC BY 4.0](https://macrostrat.org/api/v2/meta)
- Coverage: North America, Caribbean and parts of the oceans
- Answers are shared and cached for 86400 seconds.

## Questions you can ask

- What rock formations are beneath Madison, Wisconsin and how old are they? (operation `macrostrat_units_at_point`)

## Operations

### Geologic units beneath a point

Answers: what rock formations lie beneath a location, how old are they \(million years\) and what are they made of \(limestone, sandstone, granite\)? Units are in the Macrostrat stratigraphic column nearest the point.

- `lat`: required, number, Latitude.
- `lng`: required, number, Longitude.
- `rows`: optional, integer, default 10, How many units.

Example: What rock formations are beneath Madison, Wisconsin and how old are they?

Over MCP:

```
{"tool":"call_connector_operation","arguments":{"connector":"macrostrat","operation":"macrostrat_units_at_point","params":{"lat":43,"lng":-89,"rows":4}}}
```

Over HTTP:

```
curl '/v1/connectors/macrostrat/macrostrat_units_at_point?lat=43&lng=-89&rows=4'
```

## Source notice

Source: Macrostrat \(Peters, S.E. et al., https://macrostrat.org\). The API metadata states: "All data are licensed under Creative Commons BY 4.0 International" and every response carries license CC-BY 4.0. Some map units derive from third-party map sources whose own licences are listed at /api/v2/defs/sources; those were not checked individually. Values are trimmed and reordered here; the publisher does not endorse this presentation.

## Missing something?

Tell us what data, endpoint or feature you wish we had. It is free and needs no signup: call the MCP tool request_capability, or POST a short description to https://agentnative.dennery.ai/v1/capabilities/request.
