Genderize

live Demographics

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

2 tools
0ms auth
free tier 50 calls/day

Tools

predict_gender required: 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
Name Type Description
name req string First name to predict gender for.
Try it
predict_gender_country required: name, country_code

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

Parameters
Name Type Description
name req string First name to predict gender for.
country_code req string ISO 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");

Related packs

Other Pipeworx packs in the same categories (Demographics):