/worms-marine-taxa-mcp-server:worms-marine-taxa-guidefrom worms-marine-taxa-mcp-server
Gates and identifier hops for the worms_* tools (World Register of Marine Species). Use when cleaning a species list against WoRMS, turning a common name into an accepted species, answering a native, alien, or invasive range question, citing trait values, finding a taxon's original description, or reconciling AphiaIDs with FishBase, NCBI, ITIS, BOLD, or IUCN identifiers.
Ships in worms-marine-taxa-mcp-server. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
None: SKILL.md is the whole skill.
WoRMS is the register of marine species names, keyless. It also holds brackish, freshwater, terrestrial, and extinct taxa its editors track.
extantOnly: false, but WoRMS is not a fossil register: Otodus megalodon does not resolve under either setting. The Paleobiology Database covers fossils.| Identifier | Where it comes from | Use it for |
|---|---|---|
aphiaId | each match from worms_resolve_taxon | the name usage as submitted |
validAphiaId | every match and record | the accepted taxon; pass it to every evidence tool |
originalAphiaId | the worms_get_taxon record | the original combination, which can hold the original description after a genus change |
inheritedFrom | worms_get_traits nodes | the higher taxon or synonym an attribute is actually recorded on |
sourceAphiaId | worms_get_distributions rows with includeSynonyms | the name usage a distribution record is attached to |
| external IDs | worms_crosswalk_id forward | opaque strings per system; a reverse lookup needs the matching type |
Never pick matches[0]. One name can return several accepted matches. With both filters off, Morus returns the gannet genus (Animalia) and the mulberry genus (Plantae). Use kingdom, authority, and rank where supplied. If those fields leave ambiguity, pass the remaining candidate AphiaIDs to worms_get_taxon for more taxonomic detail or ask the user.
Accepted means validAphiaId equals aphiaId. An alternative representation is accepted yet links to its preferred form; use the preferred one. Do not test status === "unaccepted": WoRMS also writes the specific reason as the status itself (superseded combination, junior subjective synonym). When validAphiaId is null, report the name with its status rather than substituting a guess; worms_list_reference with topic statuses groups the values.
A fuzzy match is a proposed correction. Fuzzy results report how each name matched in matchType (phonetic and near_1, for example). Show the user the submitted and matched spellings before rewriting a name, and run fuzzy matching only over the names the exact pass missed.
Use strict authorship for a fully authored name. With names and fuzzy: true, set matchAuthority: true when the submitted authorship should distinguish homonyms. Incomplete authorship can miss. If the call misses, retry with matchAuthority: false and compare the candidates' authorities. Omit matchAuthority in exact and vernacular searches.
A miss under the defaults is not "not in WoRMS". The marine and extant defaults hide freshwater-only, terrestrial, and extinct taxa: Danio rerio, Homo sapiens, and Trilobita all miss under them; Danio rerio resolves with marineOnly: false, Homo sapiens resolves with both filters off and Trilobita with extantOnly: false. Retry with both off before reporting a name absent.
Matching under the marine default does not make a taxon marine. The default keeps taxa WoRMS flags marine or brackish, so Dreissena polymorpha, flagged brackish and freshwater but not marine, resolves under it. For a habitat question, read isMarine, isBrackish, isFreshwater, and isTerrestrial on the record; null means not recorded.
Common names map to several taxa. Vernacular hits include unaccepted names: lionfish with contains returns a superseded combination beside Pterois volitans, and Atlantic cod with contains returns a junior subjective synonym beside Gadus morhua. Start with exact matching. Collect the hits' validAphiaId values, deduplicate them, and ask the user when more than one accepted taxon remains.
Check found before interpreting empty evidence. In traits and distributions, found: false means WoRMS confirmed the AphiaID is missing. Resolve the name again. With found: null, report the status error alongside any evidence returned. With found: true, report what WoRMS records for that taxon.
A negative range answer needs every synonym window. Records attach to individual name usages, and an alien record can sit on a synonym: Amphibalanus improvisus returns more Alien rows with includeSynonyms than on its own AphiaID. Before reporting "no record in WoRMS", consume all local segments and synonym windows and account for any failed synonym reads.
Status filters drop unlabeled rows. establishmentMeans, invasiveness, and occurrence are often null; many Carcinus maenas rows carry none. A filter never matches null and matches whole values only: Ali matches nothing where Alien matches. A row without Alien is not thereby native. For native-range or presence questions, read the rows unfiltered.
Quote a trait with its provenance. A node with inheritedFrom set is recorded on a higher taxon (a functional group recorded on a subclass) or on a synonym. Present it as a group-level or synonym-level record, not a measurement of the species itself. A numeric value's unit, type (minimum or maximum), and dimension sit in the subtree below it: read the descendants of the value's nodeIndex before quoting a number.
Clean a checklist. Send the whole list as one names array with duplicates and order intact. Pass 1: exact. Pass 2: the misses only, with fuzzy: true. Pass 3: the remaining misses, exact again, with marineOnly: false and extantOnly: false. For each input report the accepted name (validName, validAphiaId), the submitted name's status, matchType when it is not exact, and every input with more than one accepted match.
Common name to species. Resolve the vernacular, apply the common-name gate, then work from the chosen validAphiaId.
Alien or invasive question. Resolve to the accepted AphiaID. Call worms_get_distributions with includeSynonyms: true and an establishmentMeans or invasiveness value from worms_list_reference topic distribution_terms, walk every synonym window, and report each locality with its sourceAphiaId.
Original description. Start with the record's authority: in a zoological name, an author and year in parentheses mean the species was described in another genus. Call worms_get_taxon with includeSources: true and sourceUse: "original description" on the accepted AphiaID. When nothing matches and originalAphiaId differs from it, repeat the call on originalAphiaId. For Amphibalanus improvisus the description sits only on the original combination, Balanus improvisus.
Reconcile identifiers. Request one type when one system is needed. On a confirmed AphiaID, omitting it makes nine paced identifier lookups after the record check. Keep every identifier the submitted name usage returns and follow any accepted or preferred AphiaID notice with the same type. For a confirmed taxon, typeTotals of zero means the search answered with no IDs for that type. Call worms_get_synonyms, then retry that type on the synonym AphiaIDs. An empty array on a segment with a positive total calls for continuation. Retry a failed type by itself. For found: false, resolve the name to find an AphiaID. For found: null, report the status error and any IDs returned. A reverse hit returns a full record. Apply the accepted-name gate to it.
What SKILL.md sets; muted values are Claude Code's defaults
Other plugins' skills for the same job
worms-marine-taxa-mcp-server@cyanheads is listed by cyanheads/cyanheads — review the source before installing
npx claudepluginhub cyanheads/cyanheads --plugin worms-marine-taxa-mcp-server