paleobiology-mcp-server: diversity through time
paleobiology_get_diversityCompute a diversity / origination / extinction curve for a clade across geologic time, binned by period, epoch, or age — answers "plot dinosaur genus diversity across the Mesozoic." Pass a clade-inclusive base_name (or base_id, the same clade by resolved taxon id — exactly one of the two) and bound the span by a named interval (e.g. "Mesozoic") or a max_ma/min_ma range; choose what to count (genera, species, or families) and the bin resolution. The full bin set returns inline — a diversity series is a bounded set of geologic intervals — so you read the curve, the turnover, and the per-bin origination/extinction directly. Counts reflect SAMPLED diversity, biased by collection effort and rock availability, not true past diversity.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| count | No | What to count per bin: "genera" (default), "species", or "families". | genera |
| max_ma | No | Older bound of the span in millions of years ago. Alternative to interval. When paired with min_ma it must be strictly greater — max_ma is the deeper-time end of the span. | |
| min_ma | No | Younger bound of the span in millions of years ago. Alternative to interval. When paired with max_ma it must be strictly smaller — min_ma is the nearer-to-present end of the span. | |
| base_id | No | Clade-inclusive taxon to count, by PBDB taxon id — the taxon_no from paleobiology_get_taxon, or accepted_no on an occurrence row. Same semantics as base_name, but unambiguous where a name is not (homonyms, synonyms, unresolved spellings). Supply this or base_name (exactly one is required, never both). | |
| interval | No | Named geologic interval bounding the span, e.g. "Mesozoic". Alternative to max_ma/min_ma. | |
| base_name | No | Clade-inclusive taxon to count, e.g. "Dinosauria" or "Ammonoidea" — this taxon and all descendants. Supply this or base_id (exactly one is required, never both). | |
| resolution | No | Bin resolution: "period" (default, coarse), "epoch", or "age" (finest). | period |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| bins | No | Per-interval diversity bins over the span, ordered oldest-first (oldest geologic interval, highest max_ma, first). | |
| error | No | Present when the call failed. Absent on success. | |
| notice | No | Guidance when the clade or span produced no bins, or when the taxon name could not be resolved and was ignored. | |
| totalCount | No | Number of geologic-interval bins returned. | |
| attribution | No | CC-BY data attribution for the Paleobiology Database. |