find_units

Pack: macrostrat · Connect: https://pipeworx.io/mcp (see Connect below for a single-pack URL)

No MCP client? Call it directly: GET https://gateway.pipeworx.io/v1/tools/find_units for the schema, then POST the same URL with its arguments for the data.

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

Arguments

{
  "lat": 40.8071,
  "lng": -104.9901
}

curl

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":{"lat":40.8071,"lng":-104.9901}}}'

TypeScript (@pipeworx/sdk)

import { Pipeworx } from '@pipeworx/sdk';
const pipeworx = new Pipeworx();

const result = await pipeworx.call('find_units', {
  "lat": 40.8071,
  "lng": -104.9901
});

More examples

{
  "lat": 40.8071,
  "lng": -104.9901,
  "age": 66
}
{
  "strat_name": "Hell Creek"
}
{
  "lith": "granite",
  "limit": 10
}

Connect

Add this to your MCP client config — every tool in the catalog, including this one — or use one-click install buttons:

{
  "mcpServers": {
    "pipeworx": {
      "url": "https://pipeworx.io/mcp"
    }
  }
}
Connect to just the macrostrat pack
{
  "mcpServers": {
    "macrostrat": {
      "url": "https://gateway.pipeworx.io/macrostrat/mcp"
    }
  }
}

See Getting Started for client-specific install steps.

Regenerated from source · build October 22, 2026