namsor-mcp
v1.0.0MCP server for NamSor: infer gender, country MCP: real tools for real work.
These tools were reported by the server itself during our smoke test (tools/list), not copied from the README.
get_api_status
Check whether each NamSor classifier is currently up, plus its version and any downtime.
get_api_usage
Show how many NamSor units your API key has used this period and how many remain.
get_api_key_info
Show which NamSor plan and quota the configured API key belongs to.
list_api_services
List the NamSor classification services available and the unit cost of each.
infer_gender
Infer the likely gender of a first name, or of a first + last name pair.
| Parameter | Type | Description |
|---|---|---|
firstName * | string | First / given name, e.g. 'John' |
lastName | string | Last / family name — improves accuracy |
infer_gender_full
Infer the likely gender of a full name written as one string, e.g. 'John H. Smith'.
| Parameter | Type | Description |
|---|---|---|
fullName * | string | Full name in one string, e.g. 'John H. Smith' |
infer_gender_full_geo
Infer the likely gender of a full name using the cultural context of an ISO2 country.
| Parameter | Type | Description |
|---|---|---|
countryIso2 * | string | ISO2 country giving the cultural context, e.g. 'US' |
fullName * | string | Full name in one string, e.g. 'John H. Smith' |
infer_gender_batch
Infer the likely gender for up to 100 names in a single NamSor request.
| Parameter | Type | Description |
|---|---|---|
personalNames * | array | Names to classify in one request (NamSor allows up to 100) |
infer_country
Infer the likely country of residence or origin of a full name.
| Parameter | Type | Description |
|---|---|---|
personalNameFull * | string | Full name in one string, e.g. 'John Smith' or 'Wang Wei' |
infer_country_batch
Infer the likely country for up to 100 full names in one request.
| Parameter | Type | Description |
|---|---|---|
personalNames * | array | Names to classify in one request (NamSor allows up to 100) |
infer_diaspora
Infer the likely ethnicity/diaspora of a name, given the country the person lives in.
| Parameter | Type | Description |
|---|---|---|
countryIso2 * | string | ISO2 country of residence, e.g. 'US' |
firstName * | string | First / given name |
lastName * | string | Last / family name |
infer_diaspora_batch
Infer the likely ethnicity/diaspora for up to 100 names in one request.
| Parameter | Type | Description |
|---|---|---|
personalNames * | array | Names to classify in one request (NamSor allows up to 100) |
infer_us_race_ethnicity
Infer US race/ethnicity probabilities from a name plus 5-digit ZIP code.
| Parameter | Type | Description |
|---|---|---|
countryIso2 * | string | ISO2 country, normally 'US' |
firstNameLastName * | string | First and last name separated by a space, e.g. 'John Smith' |
zip5Code * | string | 5-digit US ZIP code, e.g. '90210' |
infer_us_race_ethnicity_batch
Infer US race/ethnicity for up to 100 names in one request.
| Parameter | Type | Description |
|---|---|---|
personalNames * | array | Names to classify in one request (NamSor allows up to 100) |
chinese_name_candidates
List Chinese characters that match a romanised (pinyin) surname and given name.
| Parameter | Type | Description |
|---|---|---|
chineseGivenNameLatin * | string | Romanised given name, e.g. 'Wei' |
chineseSurnameLatin * | string | Romanised surname, e.g. 'Wang' |
match_chinese_name
Score how well a Chinese character name matches a romanised surname + given name.
| Parameter | Type | Description |
|---|---|---|
chineseGivenNameLatin * | string | Romanised given name, e.g. 'Wei' |
chineseName * | string | Chinese name in characters, e.g. '王伟' |
chineseSurnameLatin * | string | Romanised surname, e.g. 'Wang' |
japanese_name_kanji_candidates
List kanji candidates for a romanised Japanese surname and given name.
| Parameter | Type | Description |
|---|---|---|
japaneseGivenNameLatin * | string | Romanised given name, e.g. 'Akira' |
japaneseSurnameLatin * | string | Romanised surname, e.g. 'Sato' |