Agify

live Demographics

Predict a person's age from their first name using global and country-specific data from agify.io

2 tools
0ms auth
free tier 50 calls/day

Tools

predict_age required: name

Predict the most likely age of a person based on their first name, using global data from agify.io.

Parameters
Name Type Description
name req string First name to predict age for.
Try it
predict_age_country required: name, country_code

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

Parameters
Name Type Description
name req string First name to predict age 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/agify/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/agify/mcp \
  -H "Content-Type: application/json" \
  -d '{"jsonrpc":"2.0","id":2,"method":"tools/call","params":{"name":"predict_age","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_age", {"name":"example"});
ask_pipeworx
// Or ask in plain English:
const answer = await px.ask("predict a person's age from their first name using global and country-specific data from agify");

Related packs

Other Pipeworx packs in the same categories (Demographics):