namegender-mcp
Click on "Deploy Server".
Wait a few minutes for the server to deploy. Once ready, it will show a "Started" state.
In the chat, type
@followed by the MCP server name and your instructions, e.g., "@namegender-mcpWhat's the likely gender of the name Riley in the US?"
That's it! The server will respond to your query, and you can continue using it as needed.
Here is a step-by-step guide with screenshots.
NameGender MCP server
Turns names, email addresses and usernames into a gender — with the evidence next to every answer: the probability, the sample size, the source and the name it matched.
Works in any client that speaks the Model Context Protocol: Claude Desktop, Claude Code, Cursor and others.
Setup
Get an API key from the namegender.com dashboard. Sign-up needs no card and comes with free credits every day.
Claude Desktop / Claude Code configuration:
{
"mcpServers": {
"namegender": {
"command": "npx",
"args": ["-y", "namegender-mcp"],
"env": { "NAMEGENDER_API_KEY": "ng_live_..." }
}
}
}Claude Code from the command line:
claude mcp add namegender -e NAMEGENDER_API_KEY=ng_live_... -- npx -y namegender-mcpRelated MCP server: Email Social Media Checker
Tools
Tool | What it does |
| Gender from a first or full name |
| Extracts a name from the local part of an email address |
| Extracts a name from a username or handle |
| Up to 100 values in one request, with a match-rate summary |
| Countries a name is recorded in — not a claim about origin |
| Remaining credits, daily free quota, data version |
The gender tools take an optional two-letter country code. The same name
can have a different gender from one country to the next; with a code, the
answer is weighted by that country's data.
What an answer looks like
Ayşe: female · probability 99% · sample 12,345 · source ssa · country TRAn answer from a source without counts says so:
Kamon: male · probability 95% · no sample (unverified) · source wgndThe distinction is deliberate. A 95% backed by counted people and a 95% backed by nothing are not the same thing and should not look the same.
Countries are not origin
name_countries keeps two lists apart. Counted birth registrations are
published for only seven countries (US, UK, France, Canada, Spain, Ireland,
Norway), so the ranked shares compare those seven only. Every other country
where the name is recorded appears in a separate, unranked list. Reading the
ranking as "where the name comes from" is wrong: Mehmet ranks first in
France there, and Turkey is not in the ranking at all.
Errors
Errors do not break the session. The tool returns isError and says what to
do — where to top up when credits run out, which variable to check when the
key is invalid — and includes the request ID so support can trace it.
Environment variables
Variable | Default |
| (required) |
|
|
Development
npm install
npm testMIT licensed.
Releasing
npm version patch # also updates server.json
git push --follow-tagsThe v* tag runs .github/workflows/release.yml: tests, then npm (trusted
publishing, no token), then the MCP registry (GitHub OIDC). Re-running the
workflow skips whatever is already published.
Available Tools
6 toolsaccount_statusAccount and remaining creditsA
Returns remaining credits, the daily free quota and the data version. When credits run out the other tools fail with 402; call this to find out why.
| Name | Required | Description | Default |
|---|---|---|---|
No parameters | |||
TDQS
Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?
With no annotations, the description carries the full burden, and it does well by naming the exact return values and the diagnostic relationship to 402 errors. It could go further and explicitly state that calling this tool is read-only or does not consume credits, but the getter-style wording makes the behavior clear enough.
Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.
Is the description appropriately sized, front-loaded, and free of redundancy?
The description is two sentences with no filler: the first names the return values, the second gives the key usage context. It is front-loaded and each sentence earns its place.
Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.
Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?
For a zero-parameter tool with no output schema, the description is complete: it explains what the agent will get and when to call it. The added 402 context is especially useful for troubleshooting and tool selection.
Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.
Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?
The tool has zero parameters, so the baseline is 4 and there are no parameter semantics to document. The description correctly focuses on what the tool returns rather than inputs.
Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.
Does the description clearly state what the tool does and how it differs from similar tools?
The description states a specific action and resource: it returns remaining credits, the daily free quota, and the data version. This clearly distinguishes it from the sibling gender and name tools, which serve entirely different purposes.
Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.
Does the description explain when to use this tool, when not to, or what alternatives exist?
The description gives an explicit trigger condition: when other tools fail with 402, call this tool to find out why. It does not mention when-not-to-use or alternatives, but as the only account/status tool among siblings, the omission is minor.
Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.
gender_bulkMany names at onceA
Resolves up to 100 values in one request and returns a summary with the match rate. Use this for more than one name: doing the same work one call at a time is slower and wasteful.
| Name | Required | Description | Default |
|---|---|---|---|
| type | No | Type of the values. Default: name. | |
| names | Yes | Values to resolve. | |
| country | No | Two-letter ISO 3166-1 country code (TR, DE, US). When given, the answer is weighted by that country's data — the same name can have a different gender by country. |
TDQS
Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?
With no annotations, the description carries the full burden. It discloses batch capacity (up to 100), the summary return with match rate, and efficiency characteristics. However, it does not explain what happens on partial failures, what the full response shape looks like, or that values can be emails/usernames despite the type parameter.
Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.
Is the description appropriately sized, front-loaded, and free of redundancy?
Two sentences, both informative and front-loaded. The first sentence states capability and output, and the second gives a practical usage reason with no filler.
Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.
Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?
The tool has no annotations, no output schema, and three parameters, so the description must carry more weight. It covers the core batch behavior and match-rate summary, but omits the type parameter's support for emails/usernames, the country override behavior, and a clearer picture of the response. These are useful for correct invocation but partially covered by the schema.
Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.
Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?
Schema description coverage is 100%, so the schema already documents the names, type, and country parameters. The description adds no parameter-level detail beyond what the schema provides, and does not mention the country weighting behavior or type flexibility, so the baseline of 3 is appropriate.
Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.
Does the description clearly state what the tool does and how it differs from similar tools?
The description clearly states a specific action ('Resolves up to 100 values in one request') and distinguishes this tool from single-call alternatives by emphasizing bulk usage. However, it does not explicitly name sibling tools like gender_from_name or mention that the bulk call also supports emails and usernames, so differentiation is good but not complete.
Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.
Does the description explain when to use this tool, when not to, or what alternatives exist?
The description explicitly says to use this tool for more than one name and explains that one-call-at-a-time is slower and wasteful. This gives clear context for when to choose the bulk endpoint, though it does not explicitly state 'use the singular sibling tools for one value' or enumerate exclusions.
Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.
gender_from_emailGender from an email addressA
Extracts a first name from the local part of an email address and predicts its gender. Returns "unknown" when no name can be extracted — role addresses such as info@ or admin@ included.
| Name | Required | Description | Default |
|---|---|---|---|
| Yes | Email address. | ||
| country | No | Two-letter ISO 3166-1 country code (TR, DE, US). When given, the answer is weighted by that country's data — the same name can have a different gender by country. |
TDQS
Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?
With no annotations, the description carries the behavioral disclosure burden. It discloses extraction from the local part, gender prediction, and the specific 'unknown' fallback for role addresses such as info@ or admin@. It does not enumerate all possible return values, but covers the main edge case.
Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.
Is the description appropriately sized, front-loaded, and free of redundancy?
The description is a single focused sentence, front-loaded with the primary action and followed by a relevant edge-case note. Every phrase earns its place.
Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.
Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?
For a simple two-parameter tool with full schema coverage, the description covers the main behavior, the fallback, and a notable special case. It would be slightly more complete with explicit alternate routing to siblings and an exact list of possible gender outputs, but nothing critical is missing.
Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.
Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?
Schema description coverage is 100%, so the parameters email and country are already documented well. The description adds context about local-part extraction but does not add significant per-parameter meaning beyond the schema, so baseline 3 applies.
Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.
Does the description clearly state what the tool does and how it differs from similar tools?
The description states a specific verb and resource: 'Extracts a first name from the local part of an email address and predicts its gender.' It also clarifies the fallback to 'unknown', which helps distinguish it from sibling tools that operate on names or usernames.
Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.
Does the description explain when to use this tool, when not to, or what alternatives exist?
The input context is clear: this tool takes an email address and works on its local part. However, it does not explicitly say when to use this tool instead of gender_from_name, gender_from_username, or gender_bulk, leaving that routing to inference.
Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.
gender_from_nameGender from a nameA
Predicts gender from a person's name. The answer carries more than the gender: the probability, how many people the sample is based on and how the name was matched. Names it cannot be sure about return "unknown" instead of a guess.
| Name | Required | Description | Default |
|---|---|---|---|
| name | Yes | A first name, or a full name to extract the first name from. | |
| country | No | Two-letter ISO 3166-1 country code (TR, DE, US). When given, the answer is weighted by that country's data — the same name can have a different gender by country. |
TDQS
Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?
With no annotations provided, the description carries the full burden and does well: it discloses that the response includes probability, sample size, and match type, and that uncertain names return 'unknown' rather than a guess. It stops short of specifying the exact response shape or error behavior, but it is notably transparent for a read-only prediction tool.
Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.
Is the description appropriately sized, front-loaded, and free of redundancy?
The description is three tight sentences with the purpose front-loaded. The follow-up details about response fields and the 'unknown' fallback are valuable and not redundant; every sentence earns its place.
Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.
Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?
For a two-parameter read tool with no output schema, the description covers the purpose, the key response fields, and the uncertainty behavior. It could strengthen sibling differentiation, but nothing essential appears missing for an agent to call it correctly.
Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.
Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?
Schema description coverage is 100%, so the input schema already documents both the name and country parameters, including country-specific weighting. The description's mention of 'a person's name' adds no new parameter semantics beyond what the schema provides, so the baseline score of 3 applies.
Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.
Does the description clearly state what the tool does and how it differs from similar tools?
The description opens with a specific verb and object: 'Predicts gender from a person's name.' This clearly distinguishes the tool from siblings like gender_from_email and gender_from_username, and the singular framing separates it from gender_bulk. The core function is unambiguous.
Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.
Does the description explain when to use this tool, when not to, or what alternatives exist?
The description implies the tool is for name-based input, which differentiates it from email- and username-based siblings, but it never explicitly states when to choose this over alternatives. There are no conditions, exclusions, or routing guidance, so usage context is only implied rather than stated.
Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.
gender_from_usernameGender from a usernameA
Extracts a first name from a username or social media handle and predicts its gender.
| Name | Required | Description | Default |
|---|---|---|---|
| country | No | Two-letter ISO 3166-1 country code (TR, DE, US). When given, the answer is weighted by that country's data — the same name can have a different gender by country. | |
| username | Yes | Username or handle. |
TDQS
Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?
With no annotations provided, the description carries the behavioral burden. It transparently discloses that the tool extracts a first name from the handle and then makes a gender prediction, which conveys that the result is probabilistic rather than authoritative. It does not describe edge cases like handles with no recognizable name, but the core behavior is clearly stated.
Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.
Is the description appropriately sized, front-loaded, and free of redundancy?
The description is a single, front-loaded sentence with no filler or repetition. Every word contributes to understanding the tool's core function.
Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.
Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?
The tool has no output schema, and the description does not specify the exact return format or behavior for ambiguous or name-less usernames. The description is adequate for a simple prediction tool, but it leaves some operational details to the agent's inference.
Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.
Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?
Schema description coverage is 100%, so the schema already fully documents both parameters, including the country weighting behavior. The description adds little beyond restating that the input is a username or handle, so the baseline score of 3 is appropriate.
Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.
Does the description clearly state what the tool does and how it differs from similar tools?
The description uses a specific verb ('Extracts') and resource ('a username or social media handle'), and clearly states the outcome ('predicts its gender'). It distinguishes itself from siblings like gender_from_email and gender_from_name by explicitly targeting usernames and handles.
Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.
Does the description explain when to use this tool, when not to, or what alternatives exist?
The intended input context is implied by 'username or social media handle', which signals when to use this tool rather than gender_from_name or gender_from_email. However, no explicit guidance is given about when not to use it, nor are sibling alternatives named.
Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.
name_countriesCountries a name appears inA
Returns the countries where a name is recorded. WARNING: this is NOT a claim about origin or ethnicity. Counted birth registrations are published for only seven countries (US, UK, France, Canada, Spain, Ireland, Norway), so the ranking compares those countries only; countries that publish no counts, such as Turkey or Japan, appear in the attested list, not in the ranking.
| Name | Required | Description | Default |
|---|---|---|---|
| name | Yes | First name. | |
| limit | No | How many counted countries to return. Default 25. |
TDQS
Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?
With no annotations provided, the description carries the full burden of behavioral disclosure. It discloses a critical behavioral trait: the ranking only compares seven countries, and countries without published counts appear in the attested list but not the ranking. This is valuable context beyond the schema. It does not mention pagination or exact return structure, but the core behavioral caveat is clearly disclosed.
Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.
Is the description appropriately sized, front-loaded, and free of redundancy?
The description is two sentences with no wasted words. The core purpose is front-loaded, and the critical warning is placed immediately after. Every sentence earns its place, and the structure is easy to parse.
Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.
Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?
For a simple two-parameter tool with no output schema, the description covers the essential context: what the tool returns, the data source limitation, and the interpretation warning. It doesn't describe the exact return format, but given the tool's simplicity and the schema's completeness, the description is sufficiently complete for an agent to call it correctly.
Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.
Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?
Schema description coverage is 100%, so the schema already documents both parameters ('name' and 'limit'). The description adds context about what 'limit' controls ('How many counted countries to return') implicitly through the ranking explanation, but it doesn't add new parameter-level detail beyond the schema. Baseline 3 is appropriate.
Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.
Does the description clearly state what the tool does and how it differs from similar tools?
The description states a specific verb ('Returns') and resource ('countries where a name is recorded'), and immediately distinguishes itself from origin/ethnicity claims. The title 'Countries a name appears in' is reinforced by the description's explicit scope, making the tool's purpose unambiguous.
Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.
Does the description explain when to use this tool, when not to, or what alternatives exist?
The description clearly explains the data source limitation (only seven countries publish counts) and warns against misinterpreting the ranking as origin/ethnicity. It does not explicitly name sibling tools as alternatives, but the warning effectively tells the agent when NOT to use this tool for origin/ethnicity questions, which is strong usage guidance.
Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.
Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections.
6 tool updates
v0.1.2- First observed
account_status - First observed
gender_bulk - First observed
gender_from_email - First observed
gender_from_name - First observed
gender_from_username - First observed
name_countries
TDQS
Scored across 6 tools
Each tool targets a distinct input source or function: name, email, username, bulk processing, country lookup, and account status. No overlap in purpose, and the bulk tool is clearly differentiated as a batch alternative.
The gender_* tools share a consistent prefix and verb_from_source pattern (gender_from_name, gender_from_email, gender_from_username, gender_bulk). name_countries and account_status deviate from the verb_noun pattern but still use snake_case and are descriptive, so the naming is mostly consistent with minor exceptions.
Six tools is well-scoped for a gender prediction service: three single-input methods, a bulk method, a supplementary lookup, and a status/meta tool. Each tool serves a clear purpose without redundancy.
The surface covers all core operations: single prediction for name/email/username, bulk resolution, country information, and account status. There are no obvious missing operations for the domain, and the bulk tool addresses efficiency needs.
Maintenance
Related MCP Connectors
Genderize MCP — gender prediction from first name (genderize.io, free, no auth)
Harness the power of names with our Name Demographics MCP. Using Agify, Genderize, and Nationalize
Keyless email checks: disposable, role, and free-provider detection, MX, and typo suggestions.
Identify a person from partial information and return a profile with a confidence score per field.
Related MCP Servers
- AlicenseCqualityDmaintenanceProvides enhanced access to the randomuser.me API with advanced features like custom formatting, password generation, and weighted nationality distribution.2MIT
- AlicenseCqualityDmaintenanceEnables checking email addresses through the Email Social Media Checker API to verify and validate email information.1MIT
- AlicenseNot gradedqualityCmaintenanceWraps the randomuser.me API to generate random user profiles with names, contact info, and demographics, optionally filtered by gender and count.2 npmMIT
- AlicenseNot gradedqualityCmaintenancePredicts nationality from a first name using the nationalize.io API. Requires no authentication.1 npmMIT