find_units
Pack: macrostrat · Endpoint: https://gateway.pipeworx.io/macrostrat/mcp
Find geologic rock units from Macrostrat by location + age, by stratigraphic name, or by lithology.
Parameters
| Name | Type | Required | Description |
|---|---|---|---|
lat | number | no | Latitude (decimal degrees). Must be paired with lng. |
lng | number | no | Longitude (decimal degrees). Must be paired with lat. |
age | number | no | Geologic age in millions of years (Ma). Optional; used with lat+lng. |
strat_name | string | no | Stratigraphic name to match, e.g. “Hell Creek”. |
lith | string | no | Lithology to match, e.g. “granite”, “sandstone”. |
limit | number | no | Max units to return (default 20). |
Example call
curl -X POST https://gateway.pipeworx.io/macrostrat/mcp \
-H 'Content-Type: application/json' \
-d '{"jsonrpc":"2.0","id":1,"method":"tools/call","params":{"name":"find_units","arguments":{}}}'
Connect
Add this to your MCP client config, or use one-click install buttons:
{
"mcpServers": {
"macrostrat": {
"url": "https://gateway.pipeworx.io/macrostrat/mcp"
}
}
}
See Getting Started for client-specific install steps.