MCP server

The Agify MCP server lets an MCP-compatible client predict age from a name as part of a model conversation. Add the endpoint to your client config, paste your API key, and the model can call `predict_age` directly.

Endpoint

https://mcp.agify.io

The server speaks the standard MCP HTTP transport. Any client that supports remote MCP servers can connect.

Authentication

The MCP server uses your existing API key. Get a key from your account dashboard. Send the key as a bearer token in the Authorization header:

URL:    https://mcp.agify.io
Header: Authorization: Bearer YOUR_API_KEY

The exact way to add the header depends on your MCP client. Most clients accept a headers map alongside the server URL — see the per-client pages below for the right shape.

Tool surface

The server exposes one tool:

Tool Parameters Returns
predict_age name (string, required), country (string, optional, ISO 3166-1 alpha-2) { age, count }

The model picks the tool when the conversation calls for age prediction. You do not invoke it directly; the client handles routing.

Rate limits and quota

MCP requests count against your monthly quota — same plan, same cap. One predict_age call equals one name, deducted from your plan's monthly allowance. See pricing for tier details.

Rate-limit headers from the underlying API are surfaced through the MCP transport when supported by the client.

Set up your client

Other MCP-compatible clients — Claude Desktop, Cursor, ChatGPT, Cline, Continue, Windsurf, Zed — can connect to the same endpoint with the same bearer-token header. Per-client setup guides are coming soon.

Use it for the other services too

The Demografix MCP servers are split per service — one endpoint per dimension, all keyed by the same API key. Add all three to your client to predict gender, age, and nationality from the same conversation.

{
  "mcpServers": {
    "genderize": {
      "url": "https://mcp.genderize.io",
      "headers": { "Authorization": "Bearer YOUR_API_KEY" }
    },
    "agify": {
      "url": "https://mcp.agify.io",
      "headers": { "Authorization": "Bearer YOUR_API_KEY" }
    },
    "nationalize": {
      "url": "https://mcp.nationalize.io",
      "headers": { "Authorization": "Bearer YOUR_API_KEY" }
    }
  }
}

Per-service docs: genderize.io/documentation/mcp · agify.io/documentation/mcp · nationalize.io/documentation/mcp