uniprot-mcp-server: get taxonomy
uniprot_get_taxonomyResolve a taxonomy record by NCBI taxon ID (e.g. 9606) or scientific name (e.g. "Homo sapiens") — provide exactly one. Returns the scientific and common name, mnemonic, rank, parent, and the full lineage. Set include_children to also fetch immediate child taxa (a separate lookup — not inline on the record). Use this to turn an organism name into the taxon ID that uniprot_search_proteins (organism_id) and uniprot_get_proteome (taxon_id) expect.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | No | Organism scientific name, e.g. "Homo sapiens". Provide this OR taxon_id, not both. Matched against the scientific name. | |
| taxon_id | No | NCBI taxonomy ID, e.g. 9606. Provide this OR name, not both. | |
| include_children | No | When true, also fetch the immediate child taxa via a follow-up search. Defaults to false. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| error | No | Present when the call failed. Absent on success. | |
| taxon | No | The taxonomy record. | |
| lineage | No | Full lineage from root to the taxon's near ancestor. | |
| children | No | Immediate children. Present only when include_children is true. | |
| childCount | No | Number of immediate children returned (when include_children is true). |