count_by_field

Pack: idigbio · Endpoint: https://gateway.pipeworx.io/idigbio/mcp

Get taxonomic/geographic specimen counts grouped by a field (top values + counts) across iDigBio. Optionally scope the counts with taxonomy/locality filters. Keyless.

Parameters

NameTypeRequiredDescription
fieldstringyesField to group by: one of country, stateprovince, family, genus, institutioncode, basisofrecord.
scientific_namestringnoOptional filter to scope the counts.
genusstringnoOptional filter to scope the counts.
familystringnoOptional filter to scope the counts.
countrystringnoOptional filter to scope the counts.
top_countnumbernoNumber of top buckets to return (default 10, max 25).

Example call

curl -X POST https://gateway.pipeworx.io/idigbio/mcp \
  -H 'Content-Type: application/json' \
  -d '{"jsonrpc":"2.0","id":1,"method":"tools/call","params":{"name":"count_by_field","arguments":{}}}'

Connect

Add this to your MCP client config, or use one-click install buttons:

{
  "mcpServers": {
    "idigbio": {
      "url": "https://gateway.pipeworx.io/idigbio/mcp"
    }
  }
}

See Getting Started for client-specific install steps.

Regenerated from source · build June 11, 2026