mcpField
C
China Phone MCP

China Phone MCP

Remote
github.com/bg7iuyCommunication0Updated 15w ago
Repository

About China Phone MCP

China Phone MCP looks up carrier and geographic details for Chinese phone numbers using public MIIT allocation data. It is intended for AI agents and reports number type and prefix validity without accessing carrier networks or collecting personal data.

Key features

  1. 01Identify carrier from a phone number
  2. 02Return province, city, and area codes
  3. 03Report number type and prefix validity
  4. 04Use public MIIT allocation tables

Use cases

  1. 01Check the carrier for a Chinese phone number
  2. 02Determine a number's province and city
  3. 03Validate a phone prefix against allocation data

MCP support

The MCP server exposes phone-number lookup tools that return carrier, geographic, number-type, and prefix-validity information.

Configuration

Remote servers need no local install. Pick your client, then copy the config or install in one click.

Endpointhttps://china-phone-mcp.vercel.app/api/index
Copy install command
Claude CodeTerminal
Cursor.cursor/mcp.json
VS Code.vscode/mcp.json
Claude Desktopclaude_desktop_config.json
Windsurf~/.codeium/windsurf/mcp_config.json

Run commands in a terminal; paste JSON into the client’s MCP config and restart. Servers that need sign-in will prompt on first connect.

Tools

2
ParameterTypeRequiredDescription
phonestringYes11-digit Chinese phone number

Details

From the project README

China Phone MCP Server

MCP RapidAPI

A Model Context Protocol (MCP) server that enables AI agents (Claude Code, Cursor, Windsurf) to look up Chinese phone number carrier and location information.

What it does

Given an 11-digit Chinese mobile number, returns:

  • Carrier: China Mobile / China Unicom / China Telecom / China Broadnet
  • Location: Province, city, area code, postal code, region code
  • Number type: Mobile or landline
  • Prefix validity: Based on MIIT official allocation tables

Tools

ToolDescription
lookup_china_phoneFull attribution lookup with all fields
get_china_phone_infoDetailed carrier + geographic info

Data Source

Official MIIT (Ministry of Industry and Information Technology) public number allocation tables, updated monthly. No carrier networks accessed. No personal data collected.

Quick Start

Install in Claude Code
claude mcp add china-phone https://china-phone-mcp.vercel.app/api/index
Use with Cursor

Add to your Cursor MCP config:

{
  "mcpServers": {
    "china-phone": {
      "url": "https://china-phone-mcp.vercel.app/api/index"
    }
  }
}
Run locally
pip install -r requirements.txt
export RAPIDAPI_KEY=your_key_here
python server.py

Deployment

Deploy to Vercel with one click, or run on any Python host.

Set the environment variable RAPIDAPI_KEY in your deployment.

Pricing

The underlying API has a free tier (1,000 requests/day). Paid plans start at $14.99/month for 100,000 requests/month.

Get your RapidAPI key →

License

MIT

Comments

Markdown supported

New to MCP?

From what the protocol is to installing your first server, these answers cover most first questions.

An open protocol that defines how AI applications connect to external tools and data in a uniform way. Clients talk to the model; MCP servers provide tools, resources and prompt templates. They exchange standard messages, so one server can be reused by many clients.