Genderize

liveDemographics

Predict the gender of a first name with probability scores using global and country-specific data from genderize.io

2tools
0msauth
free tier50 calls/day

Tools

predict_genderrequired: name

Predict the most likely gender of a person based on their first name, using global data from genderize.io. Returns gender ("male" or "female"), probability (0–1), and sample size.

Parameters
NameTypeDescription
namereqstringFirst name to predict gender for.
▶Try it
predict_gender_countryrequired: name, country_code

Predict the most likely gender of a person based on their first name, calibrated to a specific country.

Parameters
NameTypeDescription
namereqstringFirst name to predict gender for.
country_codereqstringISO 3166-1 alpha-2 country code (e.g. "US", "GB", "DE") to localize the prediction.
▶Try it

Test with curl

The gateway speaks JSON-RPC 2.0 over HTTP POST. You can test any pack directly from the terminal.

List available tools
bash
curl -X POST https://gateway.pipeworx.io/genderize/mcp \
  -H "Content-Type: application/json" \
  -d '{"jsonrpc":"2.0","id":1,"method":"tools/list"}'
Call a tool
bash
curl -X POST https://gateway.pipeworx.io/genderize/mcp \
  -H "Content-Type: application/json" \
  -d '{"jsonrpc":"2.0","id":2,"method":"tools/call","params":{"name":"predict_gender","arguments":{"name": "test"}}}'

Use with the SDK

Install @pipeworx/sdk to call tools from any TypeScript/Node project.

TypeScript
import { Pipeworx } from '@pipeworx/sdk';
const px = new Pipeworx();
const result = await px.call("predict_gender", {"name":"example"});
ask_pipeworx
// Or ask in plain English:
const answer = await px.ask("predict the gender of a first name with probability scores using global and country-specific data from genderize");