get_classification
Pack: worms · Endpoint: https://gateway.pipeworx.io/worms/mcp
Walk the full taxonomic lineage (root → tip) for a WoRMS AphiaID: returns a flat ordered array of { rank, name, aphia_id } from superdomain down to the taxon itself. Keyless.
Parameters
| Name | Type | Required | Description |
|---|---|---|---|
aphia_id | number,string | yes | WoRMS AphiaID, e.g. 137102. |
Example call
Arguments
{
"aphia_id": 137102
}
curl
curl -X POST https://gateway.pipeworx.io/worms/mcp \
-H 'Content-Type: application/json' \
-d '{"jsonrpc":"2.0","id":1,"method":"tools/call","params":{"name":"get_classification","arguments":{"aphia_id":137102}}}'
TypeScript (@pipeworx/sdk)
import { Pipeworx } from '@pipeworx/sdk';
const pipeworx = new Pipeworx();
const result = await pipeworx.call('get_classification', {
"aphia_id": 137102
});
Connect
Add this to your MCP client config, or use one-click install buttons:
{
"mcpServers": {
"worms": {
"url": "https://gateway.pipeworx.io/worms/mcp"
}
}
}
See Getting Started for client-specific install steps.