PhoneCheck
Offline phone-number validation and formatting (E.164, region, line type). No carrier lookup.
我該用這個嗎
品質與安全性
根據工具定義與協定合規性的自動化分析。
上下文成本
這是每次將伺服器的工具載入模型上下文時所消耗的約略 token 數量。數量越高,可用於其他工作的注意力就越少。
安裝
一鍵安裝
將以下內容加入你的 `claude_desktop_config.json` 檔案:
{
"mcpServers": {
"phonecheck": {
"url": "https://phonecheck.mike-tusa.workers.dev/mcp"
}
}
}遠端端點
https://phonecheck.mike-tusa.workers.dev/mcpstreamable-http它能做什麼
工具清單
工具(2)
🟢parse_phone_number(number, default_country)
Validate one phone number offline against libphonenumber metadata and return E.164, international, national and RFC 3966 formats, region, calling code and line type (from the original allocation). Valid means the number fits an allocated range, not that the line is connected or reachable; no carrier/HLR lookup. Read-only. Same engine, keys and limits as POST /v1/parse.
輸入結構描述
{
"type": "object",
"properties": {
"number": {
"type": "string",
"description": "The phone number, e.g. \"+44 20 7946 0018\" or \"(213) 373-4253\". Max 64 characters.",
"minLength": 1,
"maxLength": 64
},
"default_country": {
"type": "string",
"description": "Optional ISO 3166-1 alpha-2 region used when the number has no +country code, e.g. US, GB.",
"pattern": "^[A-Za-z]{2}$",
"minLength": 2,
"maxLength": 2
}
},
"required": [
"number"
],
"additionalProperties": false
}輸出結構描述
{
"type": "object",
"properties": {
"input": {
"type": "string"
},
"default_country": {
"type": "string"
},
"national_number": {
"type": "string"
},
"valid": {
"type": "boolean"
},
"possible": {
"type": "boolean"
},
"e164": {
"type": "string"
},
"international": {
"type": "string"
},
"national": {
"type": "string"
},
"rfc3966": {
"type": "string"
},
"country": {
"type": "string"
},
"country_name": {
"type": "string"
},
"calling_code": {
"type": "string"
},
"non_geographic": {
"type": "boolean"
},
"line_type": {
"type": "string"
},
"extension": {
"type": "string"
},
"reason": {
"type": "string"
},
"message": {
"type": "string"
}
},
"required": [
"valid"
]
}🟢get_example_number(country)
Return the libphonenumber example (mobile) number for a region, in all formats, for format testing only (do not dial). Read-only. Same data and limits as GET /v1/example/{country}.
輸入結構描述
{
"type": "object",
"properties": {
"country": {
"type": "string",
"description": "ISO 3166-1 alpha-2 region code, e.g. US, GB, DE.",
"pattern": "^[A-Za-z]{2}$",
"minLength": 2,
"maxLength": 2
}
},
"required": [
"country"
],
"additionalProperties": false
}輸出結構描述
{
"type": "object",
"properties": {
"country": {
"type": "string"
},
"country_name": {
"type": "string"
},
"calling_code": {
"type": "string"
},
"line_type": {
"type": "string"
},
"rfc3966": {
"type": "string"
},
"e164": {
"type": "string"
},
"international": {
"type": "string"
},
"national": {
"type": "string"
},
"note": {
"type": "string"
}
}
}社群
證據