Country Calling Codes MCP
This MCP server provides read-only access to phone numbering metadata, allowing agents to analyze phone numbers, normalize batches, find calling windows, and retrieve country-specific dialing rules without requiring API keys.
Endpoint and access
No sign-in to connect and list tools. Individual tools may still need a vendor account, credentials, or permissions; check the documented prerequisites.
https://www.countrycalling.codes/api/mcpWhat its tools do
11 tools, grouped by the hints the server advertises. Hints are self-declared, not verified behavior.
Checks and signals
Each line is separate evidence, not a trust score.
- Passed Endpoint answered the live check ·
- Passed Endpoint and vendor documentation share a domain
- Uptime 100% over 90 days
- Availability 2 of 2 checks passed in 30 days
What you can do with it
- Analyze phone number validity and format
- Normalize a batch of international phone numbers
- Find valid calling windows for specific regions
- Retrieve country-specific dialing instructions
Source and maintenance
- Repository status
- Unavailable (HTTP 404)
- Maintenance checked
Protocol and capabilities
- Server
- countrycalling-codes 1.4.0
- MCP protocol negotiated in check
- 2025-11-25
- Tools
- 11 advertised
- Resources
- 2 advertised
- Resource templates
- 1 advertised
- Prompts
- Not advertised
{
"tools": {
"listChanged": true
},
"resources": {
"listChanged": true
}
}Tools
11 advertised
get_phone_capabilities — Phone capabilities
Discover supported countries, per-operation review coverage, evidence, dataset versions and request limits before choosing a phone workflow.
{
"type": "object",
"$schema": "http://json-schema.org/draft-07/schema#",
"properties": {
"operation": {
"enum": [
"get_phone_capabilities",
"analyze_phone_number",
"get_dialing_instructions",
"normalize_phone_numbers",
"compare_phone_numbers",
"resolve_phone_region",
"get_phone_input_rules",
"diagnose_dialing_problem",
"find_calling_windows"
],
"type": "string"
},
"countryCode": {
"type": "string",
"pattern": "^[a-zA-Z]{2}$"
}
},
"additionalProperties": false
}{
"type": "object",
"$schema": "http://json-schema.org/draft-07/schema#",
"required": [
"meta",
"result",
"limitations"
],
"properties": {
"meta": {
"type": "object",
"required": [
"apiVersion",
"datasetVersion",
"numberingMetadataVersion",
"processing",
"liveCarrierCheck"
],
"properties": {
"apiVersion": {
"type": "string"
},
"processing": {
"type": "string",
"const": "ephemeral"
},
"datasetVersion": {
"type": "string"
},
"liveCarrierCheck": {
"type": "boolean",
"const": false
},
"numberingMetadataVersion": {
"type": "string"
}
},
"additionalProperties": false
},
"result": {
"type": "object",
"required": [
"operations",
"limits",
"countries",
"evidence"
],
"properties": {
"limits": {
"type": "object",
"required": [
"bodyBytes",
"batchItems",
"phoneCharacters",
"schedulingDays",
"schedulingParticipants",
"rateLimit"
],
"properties": {
"bodyBytes": {
"type": "number"
},
"rateLimit": {
"type": "string"
},
"batchItems": {
"type": "number"
},
"schedulingDays": {
"type": "number"
},
"phoneCharacters": {
"type": "number"
},
"schedulingParticipants": {
"type": "number"
}
},
"additionalProperties": false
},
"evidence": {
"type": "array",
"items": {
"type": "object",
"required": [
"id",
"basis",
"version",
"lastVerified",
"sources"
],
"properties": {
"id": {
"type": "string"
},
"basis": {
"enum": [
"reviewed-guide",
"numbering-metadata"
],
"type": "string"
},
"sources": {
"type": "array",
"items": {
"type": "object",
"required": [
"url",
"publisher",
"title"
],
"properties": {
"url": {
"type": "string",
"format": "uri"
},
"title": {
"type": "string"
},
"publisher": {
"type": "string"
}
},
"additionalProperties": false
}
},
"version": {
"type": "string"
},
"lastVerified": {
"type": [
"string",
"null"
]
}
},
"additionalProperties": false
}
},
"countries": {
"type": "array",
"items": {
"type": "object",
"required": [
"countryCode",
"name",
"callingCode",
"supportedOperations",
"reviewStatus",
"lastVerified",
"evidenceIds",
"sourceUrls",
"limitations"
],
"properties": {
"name": {
"type": "string"
},
"sourceUrls": {
"type": "array",
"items": {
"type": "string"
}
},
"callingCode": {
"type": [
"string",
"null"
]
},
"countryCode": {
"type": "string"
},
"evidenceIds": {
"type": "array",
"items": {
"type": "string"
}
},
"limitations": {
"type": "array",
"items": {
"type": "string"
}
},
"lastVerified": {
"type": [
"string",
"null"
]
},
"reviewStatus": {
"enum": [
"reviewed-guide-and-metadata",
"numbering-metadata",
"directory-only"
],
"type": "string"
},
"supportedOperations": {
"type": "array",
"items": {
"type": "string"
}
}
},
"additionalProperties": false
}
},
"operations": {
"type": "array",
"items": {
"enum": [
"get_phone_capabilities",
"analyze_phone_number",
"get_dialing_instructions",
"normalize_phone_numbers",
"compare_phone_numbers",
"resolve_phone_region",
"get_phone_input_rules",
"diagnose_dialing_problem",
"find_calling_windows"
],
"type": "string"
}
}
},
"additionalProperties": false
},
"limitations": {
"type": "array",
"items": {
"type": "string"
}
}
},
"additionalProperties": false
}{
"readOnlyHint": true,
"openWorldHint": false,
"idempotentHint": true,
"destructiveHint": false
}analyze_phone_number — Analyze phone number
Analyze a number using versioned numbering metadata. National numbers need numberCountryCode; exit prefixes need originCountryCode. Reports uncertainty and rule evidence, never live subscriber status.
{
"type": "object",
"$schema": "http://json-schema.org/draft-07/schema#",
"required": [
"phoneNumber"
],
"properties": {
"detail": {
"enum": [
"compact",
"full"
],
"type": "string",
"default": "compact"
},
"phoneNumber": {
"type": "string",
"maxLength": 64,
"minLength": 1
},
"numberCountryCode": {
"type": "string",
"pattern": "^[a-zA-Z]{2}$"
},
"originCountryCode": {
"$ref": "#/properties/numberCountryCode"
}
},
"additionalProperties": false
}{
"type": "object",
"$schema": "http://json-schema.org/draft-07/schema#",
"required": [
"meta",
"result",
"limitations"
],
"properties": {
"meta": {
"type": "object",
"required": [
"apiVersion",
"datasetVersion",
"numberingMetadataVersion",
"processing",
"liveCarrierCheck"
],
"properties": {
"apiVersion": {
"type": "string"
},
"processing": {
"type": "string",
"const": "ephemeral"
},
"datasetVersion": {
"type": "string"
},
"liveCarrierCheck": {
"type": "boolean",
"const": false
},
"numberingMetadataVersion": {
"type": "string"
}
},
"additionalProperties": false
},
"result": {
"type": "object",
"required": [
"status",
"canonicalInternational",
"nationalNumber",
"nationalDisplay",
"internationalDisplay",
"extension",
"category",
"countryCandidates",
"checks",
"reasonCodes",
"requiredContext",
"transformations",
"evidenceIds"
],
"properties": {
"checks": {
"type": "object",
"required": [
"parsing",
"length",
"numberingPlan"
],
"properties": {
"length": {
"$ref": "#/properties/result/properties/checks/properties/parsing"
},
"parsing": {
"enum": [
"pass",
"fail",
"unknown",
"not-applicable"
],
"type": "string"
},
"numberingPlan": {
"$ref": "#/properties/result/properties/checks/properties/parsing"
}
},
"additionalProperties": false
},
"status": {
"enum": [
"analyzed",
"needs-context",
"ambiguous",
"unsupported",
"invalid"
],
"type": "string"
},
"category": {
"enum": [
"geographic",
"non-geographic",
"unknown"
],
"type": "string"
},
"evidence": {
"type": "array",
"items": {
"type": "object",
"required": [
"id",
"basis",
"version",
"lastVerified",
"sources"
],
"properties": {
"id": {
"type": "string"
},
"basis": {
"enum": [
"reviewed-guide",
"numbering-metadata"
],
"type": "string"
},
"sources": {
"type": "array",
"items": {
"type": "object",
"required": [
"url",
"publisher",
"title"
],
"properties": {
"url": {
"type": "string",
"format": "uri"
},
"title": {
"type": "string"
},
"publisher": {
"type": "string"
}
},
"additionalProperties": false
}
},
"version": {
"type": "string"
},
"lastVerified": {
"type": [
"string",
"null"
]
}
},
"additionalProperties": false
}
},
"extension": {
"type": [
"string",
"null"
]
},
"evidenceIds": {
"type": "array",
"items": {
"type": "string"
}
},
"reasonCodes": {
"type": "array",
"items": {
"type": "string"
}
},
"nationalNumber": {
"type": [
"string",
"null"
]
},
"nationalDisplay": {
"type": [
"string",
"null"
]
},
"requiredContext": {
"type": "array",
"items": {
"type": "string"
}
},
"transformations": {
"type": "array",
"items": {
"type": "object",
"required": [
"rule",
"action"
],
"properties": {
"rule": {
"type": "string"
},
"action": {
"type": "string"
}
},
"additionalProperties": false
}
},
"countryCandidates": {
"type": "array",
"items": {
"type": "object",
"required": [
"countryCode",
"name",
"matchedPrefix",
"basis"
],
"properties": {
"name": {
"type": "string"
},
"basis": {
"type": "string"
},
"countryCode": {
"type": "string"
},
"matchedPrefix": {
"type": "string"
}
},
"additionalProperties": false
}
},
"internationalDisplay": {
"type": [
"string",
"null"
]
},
"canonicalInternational": {
"type": [
"string",
"null"
]
}
},
"additionalProperties": false
},
"limitations": {
"type": "array",
"items": {
"type": "string"
}
}
},
"additionalProperties": false
}{
"readOnlyHint": true,
"openWorldHint": false,
"idempotentHint": true,
"destructiveHint": false
}get_dialing_instructions — Dialing instructions
Prepare origin-specific dialing guidance for reviewed countries. Provide origin and destination separately; no phone number returns safe placeholder patterns. Network-dependent results remain conditional.
{
"type": "object",
"$schema": "http://json-schema.org/draft-07/schema#",
"required": [
"originCountryCode",
"destinationCountryCode"
],
"properties": {
"detail": {
"enum": [
"compact",
"full"
],
"type": "string",
"default": "compact"
},
"device": {
"enum": [
"mobile",
"landline",
"unknown"
],
"type": "string",
"default": "unknown"
},
"phoneNumber": {
"type": "string",
"maxLength": 64,
"minLength": 1
},
"originCountryCode": {
"type": "string",
"pattern": "^[a-zA-Z]{2}$"
},
"carrierSelectionCode": {
"type": "string",
"pattern": "^[0-9]{2}$"
},
"destinationCountryCode": {
"$ref": "#/properties/originCountryCode"
}
},
"additionalProperties": false
}{
"type": "object",
"$schema": "http://json-schema.org/draft-07/schema#",
"required": [
"meta",
"result",
"limitations"
],
"properties": {
"meta": {
"type": "object",
"required": [
"apiVersion",
"datasetVersion",
"numberingMetadataVersion",
"processing",
"liveCarrierCheck"
],
"properties": {
"apiVersion": {
"type": "string"
},
"processing": {
"type": "string",
"const": "ephemeral"
},
"datasetVersion": {
"type": "string"
},
"liveCarrierCheck": {
"type": "boolean",
"const": false
},
"numberingMetadataVersion": {
"type": "string"
}
},
"additionalProperties": false
},
"result": {
"type": "object",
"required": [
"status",
"route",
"canonicalInternational",
"recommendedDisplay",
"dialString",
"pattern",
"steps",
"extensionInstructions",
"reasonCodes",
"requiredContext",
"notes",
"evidence"
],
"properties": {
"notes": {
"type": "array",
"items": {
"type": "string"
}
},
"route": {
"enum": [
"domestic",
"international",
"shared-plan"
],
"type": "string"
},
"steps": {
"type": "array",
"items": {
"type": "object",
"required": [
"label",
"value"
],
"properties": {
"label": {
"type": "string"
},
"value": {
"type": "string"
}
},
"additionalProperties": false
}
},
"status": {
"enum": [
"ready",
"guidance",
"needs-context",
"unsupported",
"invalid",
"ambiguous"
],
"type": "string"
},
"pattern": {
"type": [
"string",
"null"
]
},
"evidence": {
"type": "array",
"items": {
"type": "object",
"required": [
"id",
"basis",
"version",
"lastVerified",
"sources"
],
"properties": {
"id": {
"type": "string"
},
"basis": {
"enum": [
"reviewed-guide",
"numbering-metadata"
],
"type": "string"
},
"sources": {
"type": "array",
"items": {
"type": "object",
"required": [
"url",
"publisher",
"title"
],
"properties": {
"url": {
"type": "string",
"format": "uri"
},
"title": {
"type": "string"
},
"publisher": {
"type": "string"
}
},
"additionalProperties": false
}
},
"version": {
"type": "string"
},
"lastVerified": {
"type": [
"string",
"null"
]
}
},
"additionalProperties": false
}
},
"dialString": {
"type": [
"string",
"null"
]
},
"reasonCodes": {
"type": "array",
"items": {
"type": "string"
}
},
"requiredContext": {
"type": "array",
"items": {
"type": "string"
}
},
"recommendedDisplay": {
"type": [
"string",
"null"
]
},
"extensionInstructions": {
"type": [
"string",
"null"
]
},
"canonicalInternational": {
"type": [
"string",
"null"
]
}
},
"additionalProperties": false
},
"limitations": {
"type": "array",
"items": {
"type": "string"
}
}
},
"additionalProperties": false
}{
"readOnlyHint": true,
"openWorldHint": false,
"idempotentHint": true,
"destructiveHint": false
}normalize_phone_numbers — Normalize phone batch
Normalize up to 100 records with unique IDs. Invalid records produce individual errors. Optionally identify canonical duplicate candidates; no contacts are changed or stored.
{
"type": "object",
"properties": {}
}{
"type": "object",
"$schema": "http://json-schema.org/draft-07/schema#",
"required": [
"meta",
"result",
"limitations"
],
"properties": {
"meta": {
"type": "object",
"required": [
"apiVersion",
"datasetVersion",
"numberingMetadataVersion",
"processing",
"liveCarrierCheck"
],
"properties": {
"apiVersion": {
"type": "string"
},
"processing": {
"type": "string",
"const": "ephemeral"
},
"datasetVersion": {
"type": "string"
},
"liveCarrierCheck": {
"type": "boolean",
"const": false
},
"numberingMetadataVersion": {
"type": "string"
}
},
"additionalProperties": false
},
"result": {
"type": "object",
"required": [
"items",
"counts",
"duplicateGroups"
],
"properties": {
"items": {
"type": "array",
"items": {
"type": "object",
"required": [
"id"
],
"properties": {
"id": {
"type": "string"
},
"error": {
"type": "object",
"required": [
"code",
"message"
],
"properties": {
"code": {
"type": "string"
},
"fields": {
"type": "array",
"items": {
"type": "string"
}
},
"message": {
"type": "string"
}
},
"additionalProperties": false
},
"result": {
"type": "object",
"required": [
"status",
"canonicalInternational",
"nationalNumber",
"nationalDisplay",
"internationalDisplay",
"extension",
"category",
"countryCandidates",
"checks",
"reasonCodes",
"requiredContext",
"transformations",
"evidenceIds"
],
"properties": {
"checks": {
"type": "object",
"required": [
"parsing",
"length",
"numberingPlan"
],
"properties": {
"length": {
"$ref": "#/properties/result/properties/items/items/properties/result/properties/checks/properties/parsing"
},
"parsing": {
"enum": [
"pass",
"fail",
"unknown",
"not-applicable"
],
"type": "string"
},
"numberingPlan": {
"$ref": "#/properties/result/properties/items/items/properties/result/properties/checks/properties/parsing"
}
},
"additionalProperties": false
},
"status": {
"enum": [
"analyzed",
"needs-context",
"ambiguous",
"unsupported",
"invalid"
],
"type": "string"
},
"category": {
"enum": [
"geographic",
"non-geographic",
"unknown"
],
"type": "string"
},
"evidence": {
"type": "array",
"items": {
"type": "object",
"required": [
"id",
"basis",
"version",
"lastVerified",
"sources"
],
"properties": {
"id": {
"type": "string"
},
"basis": {
"enum": [
"reviewed-guide",
"numbering-metadata"
],
"type": "string"
},
"sources": {
"type": "array",
"items": {
"type": "object",
"required": [
"url",
"publisher",
"title"
],
"properties": {
"url": {
"type": "string",
"format": "uri"
},
"title": {
"type": "string"
},
"publisher": {
"type": "string"
}
},
"additionalProperties": false
}
},
"version": {
"type": "string"
},
"lastVerified": {
"type": [
"string",
"null"
]
}
},
"additionalProperties": false
}
},
"extension": {
"type": [
"string",
"null"
]
},
"evidenceIds": {
"type": "array",
"items": {
"type": "string"
}
},
"reasonCodes": {
"type": "array",
"items": {
"type": "string"
}
},
"nationalNumber": {
"type": [
"string",
"null"
]
},
"nationalDisplay": {
"type": [
"string",
"null"
]
},
"requiredContext": {
"type": "array",
"items": {
"type": "string"
}
},
"transformations": {
"type": "array",
"items": {
"type": "object",
"required": [
"rule",
"action"
],
"properties": {
"rule": {
"type": "string"
},
"action": {
"type": "string"
}
},
"additionalProperties": false
}
},
"countryCandidates": {
"type": "array",
"items": {
"type": "object",
"required": [
"countryCode",
"name",
"matchedPrefix",
"basis"
],
"properties": {
"name": {
"type": "string"
},
"basis": {
"type": "string"
},
"countryCode": {
"type": "string"
},
"matchedPrefix": {
"type": "string"
}
},
"additionalProperties": false
}
},
"internationalDisplay": {
"type": [
"string",
"null"
]
},
"canonicalInternational": {
"type": [
"string",
"null"
]
}
},
"additionalProperties": false
}
},
"additionalProperties": false
}
},
"counts": {
"type": "object",
"required": [
"total",
"analyzed",
"ambiguous",
"needsContext",
"unsupported",
"invalid",
"errors"
],
"properties": {
"total": {
"type": "number"
},
"errors": {
"type": "number"
},
"invalid": {
"type": "number"
},
"analyzed": {
"type": "number"
},
"ambiguous": {
"type": "number"
},
"unsupported": {
"type": "number"
},
"needsContext": {
"type": "number"
}
},
"additionalProperties": false
},
"duplicateGroups": {
"type": "array",
"items": {
"type": "object",
"required": [
"itemIds",
"extensionsDiffer"
],
"properties": {
"itemIds": {
"type": "array",
"items": {
"type": "string"
}
},
"extensionsDiffer": {
"type": "boolean"
}
},
"additionalProperties": false
}
}
},
"additionalProperties": false
},
"limitations": {
"type": "array",
"items": {
"type": "string"
}
}
},
"additionalProperties": false
}{
"readOnlyHint": true,
"openWorldHint": false,
"idempotentHint": true,
"destructiveHint": false
}compare_phone_numbers — Compare phone numbers
Compare two numbers after analysis. Missing context produces indeterminate. Extensions must match unless extensionPolicy is explicitly ignore; equality does not establish ownership.
{
"type": "object",
"$schema": "http://json-schema.org/draft-07/schema#",
"required": [
"left",
"right"
],
"properties": {
"left": {
"type": "object",
"required": [
"phoneNumber"
],
"properties": {
"detail": {
"enum": [
"compact",
"full"
],
"type": "string",
"default": "compact"
},
"phoneNumber": {
"type": "string",
"maxLength": 64,
"minLength": 1
},
"numberCountryCode": {
"type": "string",
"pattern": "^[a-zA-Z]{2}$"
},
"originCountryCode": {
"$ref": "#/properties/left/properties/numberCountryCode"
}
},
"additionalProperties": false
},
"right": {
"$ref": "#/properties/left"
},
"extensionPolicy": {
"enum": [
"exact",
"ignore"
],
"type": "string",
"default": "exact"
}
},
"additionalProperties": false
}{
"type": "object",
"$schema": "http://json-schema.org/draft-07/schema#",
"required": [
"meta",
"result",
"limitations"
],
"properties": {
"meta": {
"type": "object",
"required": [
"apiVersion",
"datasetVersion",
"numberingMetadataVersion",
"processing",
"liveCarrierCheck"
],
"properties": {
"apiVersion": {
"type": "string"
},
"processing": {
"type": "string",
"const": "ephemeral"
},
"datasetVersion": {
"type": "string"
},
"liveCarrierCheck": {
"type": "boolean",
"const": false
},
"numberingMetadataVersion": {
"type": "string"
}
},
"additionalProperties": false
},
"result": {
"type": "object",
"required": [
"match",
"baseNumberMatch",
"extensionMatch",
"reasonCodes",
"left",
"right"
],
"properties": {
"left": {
"type": "object",
"required": [
"status",
"canonicalInternational",
"nationalNumber",
"nationalDisplay",
"internationalDisplay",
"extension",
"category",
"countryCandidates",
"checks",
"reasonCodes",
"requiredContext",
"transformations",
"evidenceIds"
],
"properties": {
"checks": {
"type": "object",
"required": [
"parsing",
"length",
"numberingPlan"
],
"properties": {
"length": {
"$ref": "#/properties/result/properties/left/properties/checks/properties/parsing"
},
"parsing": {
"enum": [
"pass",
"fail",
"unknown",
"not-applicable"
],
"type": "string"
},
"numberingPlan": {
"$ref": "#/properties/result/properties/left/properties/checks/properties/parsing"
}
},
"additionalProperties": false
},
"status": {
"enum": [
"analyzed",
"needs-context",
"ambiguous",
"unsupported",
"invalid"
],
"type": "string"
},
"category": {
"enum": [
"geographic",
"non-geographic",
"unknown"
],
"type": "string"
},
"evidence": {
"type": "array",
"items": {
"type": "object",
"required": [
"id",
"basis",
"version",
"lastVerified",
"sources"
],
"properties": {
"id": {
"type": "string"
},
"basis": {
"enum": [
"reviewed-guide",
"numbering-metadata"
],
"type": "string"
},
"sources": {
"type": "array",
"items": {
"type": "object",
"required": [
"url",
"publisher",
"title"
],
"properties": {
"url": {
"type": "string",
"format": "uri"
},
"title": {
"type": "string"
},
"publisher": {
"type": "string"
}
},
"additionalProperties": false
}
},
"version": {
"type": "string"
},
"lastVerified": {
"type": [
"string",
"null"
]
}
},
"additionalProperties": false
}
},
"extension": {
"type": [
"string",
"null"
]
},
"evidenceIds": {
"type": "array",
"items": {
"type": "string"
}
},
"reasonCodes": {
"type": "array",
"items": {
"type": "string"
}
},
"nationalNumber": {
"type": [
"string",
"null"
]
},
"nationalDisplay": {
"type": [
"string",
"null"
]
},
"requiredContext": {
"type": "array",
"items": {
"type": "string"
}
},
"transformations": {
"type": "array",
"items": {
"type": "object",
"required": [
"rule",
"action"
],
"properties": {
"rule": {
"type": "string"
},
"action": {
"type": "string"
}
},
"additionalProperties": false
}
},
"countryCandidates": {
"type": "array",
"items": {
"type": "object",
"required": [
"countryCode",
"name",
"matchedPrefix",
"basis"
],
"properties": {
"name": {
"type": "string"
},
"basis": {
"type": "string"
},
"countryCode": {
"type": "string"
},
"matchedPrefix": {
"type": "string"
}
},
"additionalProperties": false
}
},
"internationalDisplay": {
"type": [
"string",
"null"
]
},
"canonicalInternational": {
"type": [
"string",
"null"
]
}
},
"additionalProperties": false
},
"match": {
"enum": [
"same",
"different",
"indeterminate"
],
"type": "string"
},
"right": {
"$ref": "#/properties/result/properties/left"
},
"reasonCodes": {
"type": "array",
"items": {
"type": "string"
}
},
"extensionMatch": {
"type": [
"boolean",
"null"
]
},
"baseNumberMatch": {
"type": [
"boolean",
"null"
]
}
},
"additionalProperties": false
},
"limitations": {
"type": "array",
"items": {
"type": "string"
}
}
},
"additionalProperties": false
}{
"readOnlyHint": true,
"openWorldHint": false,
"idempotentHint": true,
"destructiveHint": false
}resolve_phone_region — Resolve phone region
Resolve a phone number to metadata-backed country candidates or non-geographic numbering. Results are numbering assignments, not current location or carrier.
{
"type": "object",
"$schema": "http://json-schema.org/draft-07/schema#",
"required": [
"phoneNumber"
],
"properties": {
"detail": {
"enum": [
"compact",
"full"
],
"type": "string",
"default": "compact"
},
"phoneNumber": {
"type": "string",
"maxLength": 64,
"minLength": 1
},
"numberCountryCode": {
"type": "string",
"pattern": "^[a-zA-Z]{2}$"
},
"originCountryCode": {
"$ref": "#/properties/numberCountryCode"
}
},
"additionalProperties": false
}{
"type": "object",
"$schema": "http://json-schema.org/draft-07/schema#",
"required": [
"meta",
"result",
"limitations"
],
"properties": {
"meta": {
"type": "object",
"required": [
"apiVersion",
"datasetVersion",
"numberingMetadataVersion",
"processing",
"liveCarrierCheck"
],
"properties": {
"apiVersion": {
"type": "string"
},
"processing": {
"type": "string",
"const": "ephemeral"
},
"datasetVersion": {
"type": "string"
},
"liveCarrierCheck": {
"type": "boolean",
"const": false
},
"numberingMetadataVersion": {
"type": "string"
}
},
"additionalProperties": false
},
"result": {
"type": "object",
"required": [
"analysis",
"metadataEvidence",
"resolution"
],
"properties": {
"analysis": {
"type": "object",
"required": [
"status",
"canonicalInternational",
"nationalNumber",
"nationalDisplay",
"internationalDisplay",
"extension",
"category",
"countryCandidates",
"checks",
"reasonCodes",
"requiredContext",
"transformations",
"evidenceIds"
],
"properties": {
"checks": {
"type": "object",
"required": [
"parsing",
"length",
"numberingPlan"
],
"properties": {
"length": {
"$ref": "#/properties/result/properties/analysis/properties/checks/properties/parsing"
},
"parsing": {
"enum": [
"pass",
"fail",
"unknown",
"not-applicable"
],
"type": "string"
},
"numberingPlan": {
"$ref": "#/properties/result/properties/analysis/properties/checks/properties/parsing"
}
},
"additionalProperties": false
},
"status": {
"enum": [
"analyzed",
"needs-context",
"ambiguous",
"unsupported",
"invalid"
],
"type": "string"
},
"category": {
"enum": [
"geographic",
"non-geographic",
"unknown"
],
"type": "string"
},
"evidence": {
"type": "array",
"items": {
"type": "object",
"required": [
"id",
"basis",
"version",
"lastVerified",
"sources"
],
"properties": {
"id": {
"type": "string"
},
"basis": {
"enum": [
"reviewed-guide",
"numbering-metadata"
],
"type": "string"
},
"sources": {
"type": "array",
"items": {
"type": "object",
"required": [
"url",
"publisher",
"title"
],
"properties": {
"url": {
"type": "string",
"format": "uri"
},
"title": {
"type": "string"
},
"publisher": {
"type": "string"
}
},
"additionalProperties": false
}
},
"version": {
"type": "string"
},
"lastVerified": {
"type": [
"string",
"null"
]
}
},
"additionalProperties": false
}
},
"extension": {
"type": [
"string",
"null"
]
},
"evidenceIds": {
"type": "array",
"items": {
"type": "string"
}
},
"reasonCodes": {
"type": "array",
"items": {
"type": "string"
}
},
"nationalNumber": {
"type": [
"string",
"null"
]
},
"nationalDisplay": {
"type": [
"string",
"null"
]
},
"requiredContext": {
"type": "array",
"items": {
"type": "string"
}
},
"transformations": {
"type": "array",
"items": {
"type": "object",
"required": [
"rule",
"action"
],
"properties": {
"rule": {
"type": "string"
},
"action": {
"type": "string"
}
},
"additionalProperties": false
}
},
"countryCandidates": {
"type": "array",
"items": {
"type": "object",
"required": [
"countryCode",
"name",
"matchedPrefix",
"basis"
],
"properties": {
"name": {
"type": "string"
},
"basis": {
"type": "string"
},
"countryCode": {
"type": "string"
},
"matchedPrefix": {
"type": "string"
}
},
"additionalProperties": false
}
},
"internationalDisplay": {
"type": [
"string",
"null"
]
},
"canonicalInternational": {
"type": [
"string",
"null"
]
}
},
"additionalProperties": false
},
"resolution": {
"enum": [
"resolved",
"ambiguous",
"non-geographic",
"unresolved"
],
"type": "string"
},
"metadataEvidence": {
"$ref": "#/properties/result/properties/analysis/properties/evidence/items"
}
},
"additionalProperties": false
},
"limitations": {
"type": "array",
"items": {
"type": "string"
}
}
},
"additionalProperties": false
}{
"readOnlyHint": true,
"openWorldHint": false,
"idempotentHint": true,
"destructiveHint": false
}get_phone_input_rules — Phone input guidance
Get reviewed display placeholders and trunk-prefix guidance. Examples are not validation masks. English fallback and unsupported editorial coverage are explicit.
{
"type": "object",
"$schema": "http://json-schema.org/draft-07/schema#",
"required": [
"countryCode"
],
"properties": {
"locale": {
"type": "string",
"default": "en",
"maxLength": 35,
"minLength": 2
},
"countryCode": {
"type": "string",
"pattern": "^[a-zA-Z]{2}$"
}
},
"additionalProperties": false
}{
"type": "object",
"$schema": "http://json-schema.org/draft-07/schema#",
"required": [
"meta",
"result",
"limitations"
],
"properties": {
"meta": {
"type": "object",
"required": [
"apiVersion",
"datasetVersion",
"numberingMetadataVersion",
"processing",
"liveCarrierCheck"
],
"properties": {
"apiVersion": {
"type": "string"
},
"processing": {
"type": "string",
"const": "ephemeral"
},
"datasetVersion": {
"type": "string"
},
"liveCarrierCheck": {
"type": "boolean",
"const": false
},
"numberingMetadataVersion": {
"type": "string"
}
},
"additionalProperties": false
},
"result": {
"type": "object",
"required": [
"status",
"countryCode",
"locale",
"requestedLocale",
"fallback",
"callingCode",
"nationalLengths",
"patterns",
"trunkPrefixRule",
"extensionSupported",
"hints",
"evidence"
],
"properties": {
"hints": {
"type": "array",
"items": {
"type": "string"
}
},
"locale": {
"type": "string"
},
"status": {
"enum": [
"supported",
"unsupported"
],
"type": "string"
},
"evidence": {
"type": "array",
"items": {
"type": "object",
"required": [
"id",
"basis",
"version",
"lastVerified",
"sources"
],
"properties": {
"id": {
"type": "string"
},
"basis": {
"enum": [
"reviewed-guide",
"numbering-metadata"
],
"type": "string"
},
"sources": {
"type": "array",
"items": {
"type": "object",
"required": [
"url",
"publisher",
"title"
],
"properties": {
"url": {
"type": "string",
"format": "uri"
},
"title": {
"type": "string"
},
"publisher": {
"type": "string"
}
},
"additionalProperties": false
}
},
"version": {
"type": "string"
},
"lastVerified": {
"type": [
"string",
"null"
]
}
},
"additionalProperties": false
}
},
"fallback": {
"type": "boolean"
},
"patterns": {
"type": "array",
"items": {
"type": "object",
"required": [
"kind",
"national",
"international"
],
"properties": {
"kind": {
"type": "string"
},
"national": {
"type": "string"
},
"international": {
"type": "string"
}
},
"additionalProperties": false
}
},
"callingCode": {
"type": [
"string",
"null"
]
},
"countryCode": {
"type": "string"
},
"nationalLengths": {
"anyOf": [
{
"type": "array",
"items": {
"type": "number"
}
},
{
"type": "null"
}
]
},
"requestedLocale": {
"type": "string"
},
"trunkPrefixRule": {
"type": [
"string",
"null"
]
},
"extensionSupported": {
"type": "boolean"
}
},
"additionalProperties": false
},
"limitations": {
"type": "array",
"items": {
"type": "string"
}
}
},
"additionalProperties": false
}{
"readOnlyHint": true,
"openWorldHint": false,
"idempotentHint": true,
"destructiveHint": false
}diagnose_dialing_problem — Diagnose dialing format
Explain formatting issues and propose reviewed prefix repairs for confirmation. Uses the same analyzer. Cannot determine why a network rejected a call.
{
"type": "object",
"$schema": "http://json-schema.org/draft-07/schema#",
"required": [
"phoneNumber"
],
"properties": {
"detail": {
"enum": [
"compact",
"full"
],
"type": "string",
"default": "compact"
},
"device": {
"enum": [
"mobile",
"landline",
"unknown"
],
"type": "string",
"default": "unknown"
},
"symptom": {
"enum": [
"format-rejected",
"call-failed",
"uncertain-format"
],
"type": "string",
"default": "uncertain-format"
},
"phoneNumber": {
"type": "string",
"maxLength": 64,
"minLength": 1
},
"numberCountryCode": {
"type": "string",
"pattern": "^[a-zA-Z]{2}$"
},
"originCountryCode": {
"$ref": "#/properties/numberCountryCode"
},
"destinationCountryCode": {
"$ref": "#/properties/numberCountryCode"
}
},
"additionalProperties": false
}{
"type": "object",
"$schema": "http://json-schema.org/draft-07/schema#",
"required": [
"meta",
"result",
"limitations"
],
"properties": {
"meta": {
"type": "object",
"required": [
"apiVersion",
"datasetVersion",
"numberingMetadataVersion",
"processing",
"liveCarrierCheck"
],
"properties": {
"apiVersion": {
"type": "string"
},
"processing": {
"type": "string",
"const": "ephemeral"
},
"datasetVersion": {
"type": "string"
},
"liveCarrierCheck": {
"type": "boolean",
"const": false
},
"numberingMetadataVersion": {
"type": "string"
}
},
"additionalProperties": false
},
"result": {
"type": "object",
"required": [
"analysis",
"issues",
"suggestedCorrection",
"suggestionReason",
"requiredContext",
"unresolvedPossibilities"
],
"properties": {
"issues": {
"type": "array",
"items": {
"type": "string"
}
},
"analysis": {
"type": "object",
"required": [
"status",
"canonicalInternational",
"nationalNumber",
"nationalDisplay",
"internationalDisplay",
"extension",
"category",
"countryCandidates",
"checks",
"reasonCodes",
"requiredContext",
"transformations",
"evidenceIds"
],
"properties": {
"checks": {
"type": "object",
"required": [
"parsing",
"length",
"numberingPlan"
],
"properties": {
"length": {
"$ref": "#/properties/result/properties/analysis/properties/checks/properties/parsing"
},
"parsing": {
"enum": [
"pass",
"fail",
"unknown",
"not-applicable"
],
"type": "string"
},
"numberingPlan": {
"$ref": "#/properties/result/properties/analysis/properties/checks/properties/parsing"
}
},
"additionalProperties": false
},
"status": {
"enum": [
"analyzed",
"needs-context",
"ambiguous",
"unsupported",
"invalid"
],
"type": "string"
},
"category": {
"enum": [
"geographic",
"non-geographic",
"unknown"
],
"type": "string"
},
"evidence": {
"type": "array",
"items": {
"type": "object",
"required": [
"id",
"basis",
"version",
"lastVerified",
"sources"
],
"properties": {
"id": {
"type": "string"
},
"basis": {
"enum": [
"reviewed-guide",
"numbering-metadata"
],
"type": "string"
},
"sources": {
"type": "array",
"items": {
"type": "object",
"required": [
"url",
"publisher",
"title"
],
"properties": {
"url": {
"type": "string",
"format": "uri"
},
"title": {
"type": "string"
},
"publisher": {
"type": "string"
}
},
"additionalProperties": false
}
},
"version": {
"type": "string"
},
"lastVerified": {
"type": [
"string",
"null"
]
}
},
"additionalProperties": false
}
},
"extension": {
"type": [
"string",
"null"
]
},
"evidenceIds": {
"type": "array",
"items": {
"type": "string"
}
},
"reasonCodes": {
"type": "array",
"items": {
"type": "string"
}
},
"nationalNumber": {
"type": [
"string",
"null"
]
},
"nationalDisplay": {
"type": [
"string",
"null"
]
},
"requiredContext": {
"type": "array",
"items": {
"type": "string"
}
},
"transformations": {
"type": "array",
"items": {
"type": "object",
"required": [
"rule",
"action"
],
"properties": {
"rule": {
"type": "string"
},
"action": {
"type": "string"
}
},
"additionalProperties": false
}
},
"countryCandidates": {
"type": "array",
"items": {
"type": "object",
"required": [
"countryCode",
"name",
"matchedPrefix",
"basis"
],
"properties": {
"name": {
"type": "string"
},
"basis": {
"type": "string"
},
"countryCode": {
"type": "string"
},
"matchedPrefix": {
"type": "string"
}
},
"additionalProperties": false
}
},
"internationalDisplay": {
"type": [
"string",
"null"
]
},
"canonicalInternational": {
"type": [
"string",
"null"
]
}
},
"additionalProperties": false
},
"requiredContext": {
"type": "array",
"items": {
"type": "string"
}
},
"suggestionReason": {
"type": [
"string",
"null"
]
},
"suggestedCorrection": {
"type": [
"string",
"null"
]
},
"unresolvedPossibilities": {
"type": "array",
"items": {
"type": "string"
}
}
},
"additionalProperties": false
},
"limitations": {
"type": "array",
"items": {
"type": "string"
}
}
},
"additionalProperties": false
}{
"readOnlyHint": true,
"openWorldHint": false,
"idempotentHint": true,
"destructiveHint": false
}find_calling_windows — Find calling windows
Find overlapping working hours using explicit IANA time zones and dates. Handles overnight shifts and DST; never infers location from phone numbers or contacts participants.
{
"type": "object",
"properties": {}
}{
"type": "object",
"$schema": "http://json-schema.org/draft-07/schema#",
"required": [
"meta",
"result",
"limitations"
],
"properties": {
"meta": {
"type": "object",
"required": [
"apiVersion",
"datasetVersion",
"numberingMetadataVersion",
"processing",
"liveCarrierCheck"
],
"properties": {
"apiVersion": {
"type": "string"
},
"processing": {
"type": "string",
"const": "ephemeral"
},
"datasetVersion": {
"type": "string"
},
"liveCarrierCheck": {
"type": "boolean",
"const": false
},
"numberingMetadataVersion": {
"type": "string"
}
},
"additionalProperties": false
},
"result": {
"type": "object",
"required": [
"windows",
"truncated",
"policy"
],
"properties": {
"policy": {
"type": "string"
},
"windows": {
"type": "array",
"items": {
"type": "object",
"required": [
"startUtc",
"endUtc",
"durationMinutes",
"participants"
],
"properties": {
"endUtc": {
"type": "string"
},
"startUtc": {
"type": "string"
},
"participants": {
"type": "array",
"items": {
"type": "object",
"required": [
"id",
"timeZone",
"startLocal",
"endLocal",
"startOffsetMinutes",
"endOffsetMinutes"
],
"properties": {
"id": {
"type": "string"
},
"endLocal": {
"type": "string"
},
"timeZone": {
"type": "string"
},
"startLocal": {
"type": "string"
},
"endOffsetMinutes": {
"type": "number"
},
"startOffsetMinutes": {
"type": "number"
}
},
"additionalProperties": false
}
},
"durationMinutes": {
"type": "number"
}
},
"additionalProperties": false
}
},
"truncated": {
"type": "boolean"
}
},
"additionalProperties": false
},
"limitations": {
"type": "array",
"items": {
"type": "string"
}
}
},
"additionalProperties": false
}{
"readOnlyHint": true,
"openWorldHint": false,
"idempotentHint": true,
"destructiveHint": false
}lookup_country_calling_code — Lookup Country Calling Code
Look up international country calling codes by free text, ISO code, dial code, or region. Optionally return reviewed, source-linked dialing examples. This tool does not verify live subscriber numbers.
{
"type": "object",
"$schema": "http://json-schema.org/draft-07/schema#",
"properties": {
"q": {
"type": "string",
"description": "Free-text search, such as \"United Kingdom\", \"London\", or \"AUS\"."
},
"code": {
"type": "string",
"description": "ISO 3166-1 alpha-2 or alpha-3 code, such as GB or GBR."
},
"limit": {
"type": "integer",
"maximum": 250,
"minimum": 1,
"description": "Maximum number of countries to return."
},
"region": {
"enum": [
"Africa",
"Americas",
"Asia",
"Europe",
"Oceania"
],
"type": "string",
"description": "Optional region filter."
},
"dialCode": {
"type": "string",
"description": "Calling code with or without plus sign, such as +44 or 44."
},
"includeExamples": {
"type": "boolean",
"description": "When true, include reviewed safe mobile/landline patterns, transformation rules, source URLs, and lastVerified metadata."
}
},
"additionalProperties": false
}{
"type": "object",
"$schema": "http://json-schema.org/draft-07/schema#",
"required": [
"meta",
"query",
"countries"
],
"properties": {
"meta": {
"type": "object",
"additionalProperties": {}
},
"query": {
"type": "object",
"additionalProperties": {}
},
"countries": {
"type": "array",
"items": {
"type": "object",
"additionalProperties": {}
}
}
},
"additionalProperties": false
}{
"readOnlyHint": true,
"openWorldHint": false,
"idempotentHint": true,
"destructiveHint": false
}format_international_phone_number — Format International Phone Number
Normalize a phone number into a plausible international format using reviewed country-specific rules. Processing is ephemeral. This tool does not query carriers, HLR/HSS, MNP databases, or live subscribers.
{
"type": "object",
"$schema": "http://json-schema.org/draft-07/schema#",
"required": [
"phoneNumber"
],
"properties": {
"countryCode": {
"type": "string",
"maxLength": 2,
"minLength": 2,
"description": "Optional ISO 3166-1 alpha-2 country context, such as GB."
},
"phoneNumber": {
"type": "string",
"maxLength": 64,
"minLength": 1,
"description": "Phone number to format. It is processed ephemerally and is not stored."
}
},
"additionalProperties": false
}{
"type": "object",
"$schema": "http://json-schema.org/draft-07/schema#",
"required": [
"meta",
"result",
"limitations"
],
"properties": {
"meta": {
"type": "object",
"additionalProperties": {}
},
"result": {
"type": "object",
"additionalProperties": {}
},
"limitations": {
"type": "array",
"items": {
"type": "string"
}
}
},
"additionalProperties": false
}{
"readOnlyHint": true,
"openWorldHint": false,
"idempotentHint": true,
"destructiveHint": false
}Prompts
Not advertised
Resources
2 advertised
capabilities — Phone capabilities
countrycalling://capabilitiescoverage — Phone coverage
countrycalling://coveragecountry-phone-rules — Reviewed country phone input rules
countrycalling://countries/{code}/phone-input90-day uptime
A lightweight connection check about every six hours, sampled on hosts with many listings. It shows the server answered, not that its tools work.
- 2026-11-02: 3 of 3 checks answered
- 2026-11-03: 4 of 4 checks answered
- 2026-11-04: 4 of 4 checks answered
- 2026-11-05: 4 of 4 checks answered
- 2026-11-06: 4 of 4 checks answered
- 2026-11-07: 2 of 2 checks answered
- 2026-11-09: 1 of 1 checks answered
- 2026-11-10: 2 of 2 checks answered
- 2026-11-11: 1 of 1 checks answered
- 2026-11-12: 1 of 1 checks answered
- 2026-11-14: 1 of 1 checks answered
- 2026-11-15: 2 of 2 checks answered
- 2026-11-16: 4 of 4 checks answered
- 2026-11-17: 5 of 5 checks answered
- 2026-11-18: 5 of 5 checks answered
- 2026-11-19: 4 of 4 checks answered
- 2026-11-20: 3 of 3 checks answered
- 2026-11-21: 4 of 4 checks answered
- 2026-11-22: 4 of 4 checks answered
- 2026-11-23: 3 of 3 checks answered
- 2026-11-24: 4 of 4 checks answered
- 2026-11-25: 4 of 4 checks answered
- 2026-11-26: 4 of 4 checks answered
- 2026-11-27: 2 of 2 checks answered
30-day availability
Aggregated from read-only remote checks; this is not a tool-execution or security guarantee.
- Successful checks
- 2 of 2 (100%)
- Average latency
- 1441 ms
- 95th percentile latency
- 1662 ms
Maintenance history
Public check and source-refresh events. Editorial and ownership records remain private.
- · probe · passed · 1196 ms · 11 tool(s), 2 resource(s), 1 resource template(s)
- · probe · passed · 1686 ms · metadata changed · 11 tool(s), 2 resource(s), 1 resource template(s)
- · repository · passed · unavailable
- · repository · passed · metadata changed · unavailable
- · repository · failed · Repository maintenance failed
- · registry · passed · metadata changed · Source metadata updated
- · registry · passed · metadata changed · Source metadata updated
- · backfill · recorded · Pre-expansion baseline; unobserved rich metadata remains unknown
Connect from your client
Each snippet registers the same endpoint; pick the client you use.
Claude Code
claude mcp add --transport http country-calling-codes-mcp https://www.countrycalling.codes/api/mcpCodex
codex mcp add country-calling-codes-mcp --url https://www.countrycalling.codes/api/mcpCursor
{
"mcpServers": {
"country-calling-codes-mcp": {
"url": "https://www.countrycalling.codes/api/mcp"
}
}
}Cline
{
"mcpServers": {
"country-calling-codes-mcp": {
"type": "streamableHttp",
"url": "https://www.countrycalling.codes/api/mcp",
"disabled": false
}
}
}VS Code
{
"servers": {
"country-calling-codes-mcp": {
"type": "http",
"url": "https://www.countrycalling.codes/api/mcp"
}
}
}Gemini CLI
gemini mcp add --transport http country-calling-codes-mcp https://www.countrycalling.codes/api/mcpClaude Desktop
https://www.countrycalling.codes/api/mcpWindsurf
{
"mcpServers": {
"country-calling-codes-mcp": {
"serverUrl": "https://www.countrycalling.codes/api/mcp"
}
}
}Let your agent find its tools
Find servers like Country Calling Codes MCP from your agent. Add Koskamo once to search the index for endpoints, access requirements, and client setup. Public discovery needs no key.
Other developer tools servers
Do you run Country Calling Codes MCP?
Prove ownership with a DNS record, a well-known file, or your Official MCP Registry entry, and your edits publish immediately. Proofs are re-checked weekly; admins can still hide or remove a listing.