namsor-mcp

v1.0.0
io.github.mrfentmen/namsor-mcp Checked 23 hours ago Published 24 days ago

MCP 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.

ParameterTypeDescription
firstName *stringFirst / given name, e.g. 'John'
lastNamestringLast / family name — improves accuracy

infer_gender_full

Infer the likely gender of a full name written as one string, e.g. 'John H. Smith'.

ParameterTypeDescription
fullName *stringFull 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.

ParameterTypeDescription
countryIso2 *stringISO2 country giving the cultural context, e.g. 'US'
fullName *stringFull 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.

ParameterTypeDescription
personalNames *arrayNames to classify in one request (NamSor allows up to 100)

infer_country

Infer the likely country of residence or origin of a full name.

ParameterTypeDescription
personalNameFull *stringFull 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.

ParameterTypeDescription
personalNames *arrayNames 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.

ParameterTypeDescription
countryIso2 *stringISO2 country of residence, e.g. 'US'
firstName *stringFirst / given name
lastName *stringLast / family name

infer_diaspora_batch

Infer the likely ethnicity/diaspora for up to 100 names in one request.

ParameterTypeDescription
personalNames *arrayNames 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.

ParameterTypeDescription
countryIso2 *stringISO2 country, normally 'US'
firstNameLastName *stringFirst and last name separated by a space, e.g. 'John Smith'
zip5Code *string5-digit US ZIP code, e.g. '90210'

infer_us_race_ethnicity_batch

Infer US race/ethnicity for up to 100 names in one request.

ParameterTypeDescription
personalNames *arrayNames 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.

ParameterTypeDescription
chineseGivenNameLatin *stringRomanised given name, e.g. 'Wei'
chineseSurnameLatin *stringRomanised surname, e.g. 'Wang'

match_chinese_name

Score how well a Chinese character name matches a romanised surname + given name.

ParameterTypeDescription
chineseGivenNameLatin *stringRomanised given name, e.g. 'Wei'
chineseName *stringChinese name in characters, e.g. '王伟'
chineseSurnameLatin *stringRomanised surname, e.g. 'Wang'

japanese_name_kanji_candidates

List kanji candidates for a romanised Japanese surname and given name.

ParameterTypeDescription
japaneseGivenNameLatin *stringRomanised given name, e.g. 'Akira'
japaneseSurnameLatin *stringRomanised surname, e.g. 'Sato'