area_codes_for_city
List the area codes that serve a US or Canadian city. Optionally pass a state/province to disambiguate cities that share a name.
Look up a North American area code or phone number — carrier, line type, rate centre, the cities and states it serves — with a scam explanation that refuses to condemn an area code wholesale.
LABSCO SUMMARY
The demand is obviously there — people want a yes or no on whether a given code means fraud — and the easy product returns yes. Refusing the premise while still explaining what is actually associated with the code is a harder and better answer, and it prevents an agent from confidently telling someone a legitimate caller is a scammer. Labelling the reputation signal as unverified crowd-sourced data does the same job for the number-level question. The carrier and rate-centre lookup is the substantive reference half, and line type in particular is the fact that decides whether a number can receive a text.
A North American Numbering Plan reference client covering area codes, number parsing, carrier lookup and spam signals, with source-backed explanations of numbering topics.
Nothing to supply.
One command — npx -y @riv-lc/areacode-mcp
USE CASES
Look up the carrier, line type and rate centre for the number rather than inferring anything from the area code.
Read the reputation signal knowing it is unverified crowd data, and the area-code explanation which will not condemn a code wholesale.
Look up the code for its country, state and principal cities, or go the other way from a city or state to the codes serving it.
Get the source-backed explanation rather than a plausible summary.
Counted once with only startup setup. Other versions, modes or optional credentials may expose a different list.
area_codes_for_cityList the area codes that serve a US or Canadian city. Optionally pass a state/province to disambiguate cities that share a name.
area_codes_for_stateList every area code in a US state or Canadian province.
check_number_reputationSpam signal for a US/Canada number from areacode.fyi: the UNVERIFIED crowd-sourced community signal ('low' = looked up, 'mid'/'high' = user reports) PLUS public FTC Do Not Call complaint data when present (complaint count, % robocalls, top subject, date range). Caller ID can be spoofed — none of this proves a number is currently fraudulent.
explain_area_code_topicSource-backed explanation of a phone-numbering topic, suitable for answering end users.
is_scam_area_codeExplain whether an area code is associated with scams. An area code is never a scam by itself; returns that context + spoofing notes, PLUS an aggregate of public FTC Do Not Call complaints about specific numbers shown with that code (how many flagged numbers, total complaints, top subjects, worst offenders).
lookup_area_codeLook up a North American (NANP) area code: country, state/province, principal city and served cities, time zone, current local time, 10-digit-dialing flag, overlay codes, and nearby codes. Returns a canonical areacode.fyi URL and the NANPA source date.
lookup_carrierLook up the carrier, line type (wireless/landline), and rate center that a US/Canada number's NPA-NXX block was assigned to — covering nearly every active area code. Based on public block-allocation data, NOT a live lookup: if the number was ported the current carrier differs. Not for caller identity, fraud, or FCRA decisions.
lookup_phone_numberParse and validate a US/Canada (NANP) phone number. Returns whether the format is valid, the E.164 form, the area code, the likely region and time zone, and the current local time there. Area-code level only — NOT the caller's identity, exact location, or live carrier; caller ID can be spoofed.
BEFORE YOU INSTALL
8 tools when we connected.
npx on PATH
CONTEXT COST
Rated by the size of the 8 tool definitions that ride along on every turn, not by how many there are
INSTALLATION
Add the block to your client, or run the command directly.
{
"mcpServers": {
"areacode-mcp": {
"command": "npx",
"args": [
"-y",
"@riv-lc/areacode-mcp"
]
}
}
}npx -y @riv-lc/areacode-mcp