common_ancestor

Pack: opentreeoflife · 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/common_ancestor for the schema, then POST the same URL with its arguments for the data.

Find the most recent common ancestor (MRCA) of 2-10 taxa in the synthetic Tree of Life, by ott_id (from match_names). Returns the common-ancestor taxon (ott_id, name, rank). Keyless.

Parameters

NameTypeRequiredDescription
ott_idsarrayyesOTT taxon ids to find the common ancestor of, e.g. [770315,417950]. 2-10 ids, from match_names.
itemsnumberno

Example call

Arguments

{
  "ott_ids": [
    770315,
    417950
  ]
}

curl

curl -X POST https://gateway.pipeworx.io/opentreeoflife/mcp \
  -H 'Content-Type: application/json' \
  -d '{"jsonrpc":"2.0","id":1,"method":"tools/call","params":{"name":"common_ancestor","arguments":{"ott_ids":[770315,417950]}}}'

TypeScript (@pipeworx/sdk)

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

const result = await pipeworx.call('common_ancestor', {
  "ott_ids": [
    770315,
    417950
  ]
});

More examples

{
  "ott_ids": [
    770315,
    417950,
    541186
  ]
}

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 opentreeoflife pack
{
  "mcpServers": {
    "opentreeoflife": {
      "url": "https://gateway.pipeworx.io/opentreeoflife/mcp"
    }
  }
}

See Getting Started for client-specific install steps.

Regenerated from source · build October 24, 2026