areacode-mcp
This server provides North American (NANP) area code and phone number intelligence for US and Canada, powered by official NANPA data.
Look up an area code: Get country, state/province, cities served, time zone, current local time, overlay codes, and nearby codes for any 3-digit NANP area code.
Look up a phone number: Parse and validate any US/Canada phone number, returning E.164 format, area code, region, time zone, and current local time.
Look up a number's carrier: Find the assigned carrier, line type (wireless/landline), and rate center based on a number's NPA-NXX block allocation (not live/ported data).
Find area codes for a city: List all area codes serving a given US or Canadian city, with optional state/province disambiguation.
Find area codes for a state/province: List every area code in a given US state or Canadian province.
Check if an area code is associated with scams: Get scam/spoofing context for an area code, including FTC Do Not Call complaint aggregates.
Check a number's community reputation: Retrieve unverified crowd-sourced reputation signals (low/mid/high) plus public FTC Do Not Call complaint data for a specific number.
Explain phone/area-code topics: Get source-backed explanations on topics like neighbor spoofing, overlays vs splits, toll-free numbers, area codes vs country codes, and temporary phone numbers.
Click on "Install 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., "@areacode-mcpI got a call from area code 469. Is it suspicious?"
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.
areacode-mcp
North American (NANP) area-code & phone-number intelligence for AI agents.
An MCP server that gives Claude, Cursor, and
other agents a small, trusted reference for US & Canada phone numbering — area
codes, NANP validation, local time, city/state coverage, overlays, and
scam/spoofing context. Backed by areacode.fyi, which
publishes directly from the official NANPA numbering database. Every result
includes a canonical areacode.fyi URL and the source date.
Scope. This is area-code-level reference and education — not a carrier/identity API. It does not return a caller's identity, exact location, or live/ported carrier, and caller ID can be spoofed, so a number's area code never proves who is calling. For caller identity you need a carrier-grade (LRN/HLR) provider.
Install
Run it with npx (no install needed) — add it to your client's MCP config.
Claude Desktop (claude_desktop_config.json) / Cursor (~/.cursor/mcp.json):
{
"mcpServers": {
"areacode": {
"command": "npx",
"args": ["-y", "@riv-lc/areacode-mcp"]
}
}
}That's it — restart your client and the tools below are available.
Published on the official MCP Registry as io.github.riv-lc/areacode-mcp, and
on npm.
Remote (hosted) — for ChatGPT, Claude.ai, and web clients
No install. Add the hosted server as a connector URL — same 8 tools, no key:
https://mcp.areacode.fyi/mcp(legacy SSE clients: https://mcp.areacode.fyi/sse)
Related MCP server: AgentPhone MCP Server
Tools
Tool | What it does |
| Country, state/province, cities, time zone, current local time, overlays, nearby codes |
| Parse/validate a NANP number → area code, region, local time, E.164 |
| Assigned carrier, line type (wireless/landline), and rate center for a number's NPA-NXX block (block-allocation data, not live/ported; covers nearly every US/Canada code) |
| Area codes serving a city (optionally disambiguated by state) |
| Every area code in a US state or Canadian province |
| Scam/spoofing context for an area code + an aggregate of FTC Do Not Call complaints filed about numbers using that code |
| Unverified community signal (low / mid / high) plus public FTC Do Not Call complaint data (count, % robocalls, top subject) for a number |
| Source-backed explainers: neighbor spoofing, overlays vs splits, toll-free, area-code-vs-country-code, temporary numbers |
Example prompts
"A lead entered phone number +1 702-555-0199. Where are they likely located and what time is it there?"
"I got a call from 469 — is that area code suspicious?"
"Which area codes cover Las Vegas?"
"Normalize this list of US/Canada numbers and flag any that are invalid or toll-free."
"Explain neighbor spoofing for a help-center article."
Configuration
Env var | Default | Purpose |
|
| Point at a different host (e.g. a self-hosted or staging API) |
Data & sourcing
Tools call the public https://areacode.fyi/api/v1 JSON API, which reads the
same dataset the site renders — sourced from the official North American
Numbering Plan Administrator (NANPA) database and refreshed monthly. Each
response carries source, canonical_url, and data_date so answers can cite
where the data came from.
The check_number_reputation signal is unverified and crowd-sourced
(low = people looked the number up; mid/high = it has user reports). It is
never proof that a specific number is fraudulent.
License
MIT © Reindex Ventures. Built for areacode.fyi.
Maintenance
Resources
Unclaimed servers have limited discoverability.
Looking for Admin?
If you are the server author, to access and configure the admin panel.
Latest Blog Posts
- Your AI Chatbot Just Exposed Your CEO's Salary to an InternBy Om-Shree-0709 on .Agent IdentityMCP SecurityOAuth Delegation
- Why MCP Servers Need Execution Sandboxing (And Why Your Current Stack Isn't Enough)By Om-Shree-0709 on .Agentic AiPrompt InjectionWebAssembly
MCP directory API
We provide all the information about MCP servers via our MCP API.
curl -X GET 'https://glama.ai/api/mcp/v1/servers/riv-lc/areacode-mcp'
If you have feedback or need assistance with the MCP directory API, please join our Discord server