Agify

liveDemographics

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

2tools
0msauth
free tier50 calls/day

Tools

predict_agerequired: name

Estimate someone's age from their first name using global statistics. Returns predicted age and confidence count based on name frequency data.

Parameters
NameTypeDescription
namereqstringFirst name to predict age for.
▶Try it
predict_age_countryrequired: name, country_code

Estimate someone's age from their first name within a specific country (e.g., 'US', 'FR', 'JP'). Returns predicted age and regional confidence count.

Parameters
NameTypeDescription
namereqstringFirst name to predict age 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/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");