uniprot-mcp-server: get taxonomy
uniprot_get_taxonomyResolve a taxonomy record by NCBI taxon ID (e.g. 9606) or organism name (e.g. "Homo sapiens" or "human") — provide exactly one. Exact case-insensitive scientific names take priority, then common names, mnemonic and aliases; stray double quotes and backslashes are tolerated after exact matching. Ties and partial matches return candidate taxon IDs instead of guessing. Returns the scientific and common name, mnemonic, rank, parent, and full lineage. Set include_children for immediate child taxa in pages of 100; pass the returned cursor for the next page. Use the resolved taxon ID with uniprot_search_proteins (organism_id) or uniprot_get_proteome (taxon_id).
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "uniprot_get_taxonomy"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | No | Organism name, e.g. "Homo sapiens" or "human". Exact case-insensitive scientific names take priority, then common names, mnemonic and aliases. Stray double quotes and backslashes are tolerated only after exact matching; ties require taxon_id. Provide this OR taxon_id, not both. | |
| cursor | No | Forward-pagination cursor from a prior children page, for the next page of the same taxon; a cursor issued for another taxon is rejected. Only meaningful with include_children. | |
| taxon_id | No | NCBI taxonomy ID, e.g. 9606. Provide this OR name, not both. | |
| include_children | No | When true, also fetch a page of up to 100 immediate child taxa via a follow-up search. Defaults to false. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| cap | No | The page size that was applied, when more remain. | |
| error | No | Present when the call failed. Absent on success. | |
| shown | No | Number of children on this page, when more remain. | |
| taxon | No | The taxonomy record. | |
| cursor | No | Forward cursor for the next children page. Absent on the last page. | |
| notice | No | Paging guidance when more children remain — the total and how to continue. | |
| lineage | No | Full lineage from root to the taxon's near ancestor. | |
| children | No | One page of immediate children (up to 100). Present only when include_children is true. | |
| truncated | No | True when more children remain past this page — fetch them with cursor. | |
| childCount | No | Number of immediate children on this page (when include_children is true). | |
| totalChildren | No | Total immediate children of the taxon across all pages (when include_children is true). |