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

NameTypeRequiredDescription
latnumbernoLatitude (decimal degrees). Must be paired with lng.
lngnumbernoLongitude (decimal degrees). Must be paired with lat.
agenumbernoGeologic age in millions of years (Ma). Optional; used with lat+lng.
strat_namestringnoStratigraphic name to match, e.g. “Hell Creek”.
lithstringnoLithology to match, e.g. “granite”, “sandstone”.
limitnumbernoMax 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.

Regenerated from source · build June 8, 2026