mcpField
C
CountryCallingCodes

CountryCallingCodes

Remote
countrycalling.codesDatabases0Updated 7w ago

About CountryCallingCodes

CountryCallingCodes is a hosted, read-only MCP server and JSON API for international phone-number reference and analysis. It supports lookups, normalization, dialing guidance, and calling-window calculations with source evidence and stated limitations.

Key features

  1. 01Country and calling-code lookup
  2. 02Phone parsing and formatting
  3. 03Batch normalization and duplicate grouping
  4. 04Origin-specific dialing instructions
  5. 05Phone-region resolution and diagnostics
  6. 06Time-zone-aware calling windows

Use cases

  1. 01Look up country codes and dialing prefixes
  2. 02Normalize a batch of phone records
  3. 03Investigate formatting errors
  4. 04Find overlapping work hours across time zones

MCP support

It provides 11 read-only tools and three resources through a hosted Streamable HTTP MCP endpoint. Each tool also has a REST counterpart that returns the same structured payload.

Configuration

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

Endpointhttps://www.countrycalling.codes/api/mcp
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

11
ParameterTypeRequiredDescription
countryCodestringNo
operationenumNoget_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

Details

From the project README

Country Calling Codes MCP

Metadata-only listing repository for the hosted Country Calling Codes MCP server (service 1.4.0).

| Agent skill | Kajdep/countrycalling-codes-skill |

Official registry name: io.github.Kajdep/countrycallingcodesmcp.

Hosted MCP

  • Endpoint: https://www.countrycalling.codes/api/mcp
  • Transport: Streamable HTTP
  • Authentication: none
  • Protocol: 2025-11-25
  • Tools: 11 read-only tools (see below)
  • Resources: countrycalling://capabilities, countrycalling://coverage, and the template countrycalling://countries/{code}/phone-input
  • Website: https://www.countrycalling.codes
  • Developer docs: https://www.countrycalling.codes/developers#mcp
  • LLM guide: https://www.countrycalling.codes/llms-full.md
  • Skill manifest: https://www.countrycalling.codes/skill.json
  • OpenAPI: https://www.countrycalling.codes/api/calling-codes/openapi.json
  • Status: https://www.countrycalling.codes/api/calling-codes/status
  • Registry manifest (live): https://www.countrycalling.codes/server.json

The server.json in this repository is the same document the website serves and the official MCP Registry already publishes as 1.4.0. Registry publication is driven from the implementation repo (.github/workflows/publish-mcp.yml in v0-countrycallingcodes), not from this listing.

What it does

Read-only international phone workflows for apps and agents:

  • Country and territory calling-code lookup (ISO codes, E.164 dial codes, regions, trunk prefixes, NANP)
  • Phone analysis and ephemeral formatting against versioned numbering metadata
  • Origin-specific dialing instructions for reviewed country pairs
  • Batch normalization (up to 100 records) with duplicate grouping
  • Number comparison, region resolution, form-input hints, and format diagnosis
  • Overlapping calling windows across explicit IANA time zones

Every MCP tool has a REST twin that returns the same structured payload. Results carry source evidence and a limitations array. A well-formed number is not proof that it is allocated, active, reachable, owned, or consented for contact.

Agent-facing usage rules (when to call which tool, how to treat ambiguity, how to clean a CRM column) live in the skill, not here.

MCP client configuration

For clients that support remote Streamable HTTP servers — this is the same config the skill and the live discovery document use:

{
  "mcpServers": {
    "country-calling-codes": {
      "type": "streamable-http",
      "url": "https://www.countrycalling.codes/api/mcp"
    }
  }
}

For clients that require a local stdio bridge, use mcp-remote:

{
  "mcpServers": {
    "country-calling-codes": {
      "command": "npx",
      "args": [
        "-y",
        "mcp-remote",
        "https://www.countrycalling.codes/api/mcp"
      ]
    }
  }
}

A ready-to-paste copy is in mcp-config.json.

Tools

All tools are annotated readOnlyHint, non-destructive, idempotent, and closed-world. Phone strings are capped at 64 characters; tool arguments at 64 KiB; the JSON-RPC envelope at 128 KiB.

MCP toolREST twinPurpose
lookup_country_calling_codeGET /api/calling-codesFree-text / ISO / dial-code / region lookup across 233 countries and territories. Set includeExamples for reviewed patterns.
format_international_phone_numberPOST /api/phone/formatLighter ephemeral formatter. Prefer analyze_phone_number when you need status, checks, candidates, or evidence.
get_phone_capabilitiesGET /api/capabilitiesPer-country review status, supported operations, evidence, dataset versions, and request limits. Call this first for an unfamiliar country.
analyze_phone_numberPOST /api/phone/analyzeStrict parse against versioned numbering metadata. National numbers need numberCountryCode; exit prefixes need originCountryCode.
get_dialing_instructionsPOST /api/dialing/instructionsOrigin-specific dial string, steps, and pattern for reviewed country pairs.
normalize_phone_numbersPOST /api/phone/batchUp to 100 uniquely identified records, order preserved, per-record errors, optional canonical duplicate grouping.
compare_phone_numbersPOST /api/phone/compareEquality after analysis. extensionPolicy is exact by default; suffix-only matches are never equal.
resolve_phone_regionPOST /api/phone/regionMetadata-backed country candidates or non-geographic classification. Not geolocation or carrier lookup.
get_phone_input_rulesGET /api/countries/{code}/phone-inputDisplay placeholders and trunk-prefix guidance. Not a validation mask.
diagnose_dialing_problemPOST /api/phone/diagnoseExplain a formatting failure and propose a bounded, reviewed prefix repair for confirmation.
find_calling_windowsPOST /api/calling-windowsOverlapping working hours for up to 8 participants, explicit IANA zones, 1–31 days, DST-aware.

Example (lookup_country_calling_code):

{
  "code": "GB",
  "includeExamples": true
}

Expected result includes the United Kingdom record with dial code +44.

Full parameter and response shapes belong in the skill API reference and the hosted OpenAPI. Do not fork a third copy of those contracts in this repository.

Resources

URIContents
countrycalling://capabilitiesFull capability document (same payload as GET /api/capabilities)
countrycalling://coverageCoverage view of the same document
countrycalling://countries/{code}/phone-inputReviewed input rules for one ISO alpha-2 country

Coverage and limits

  • Numbering metadata: libphonenumber-js 1.13.12, max metadata, 245 countries and territories plus supported non-geographic numbering.
  • Reviewed dialing guides and input examples: AE, AU, BR, CN, DE, FR, GB, IN, IT, JP, SG, US, ZA. Dialing instructions require both origin and destination to be reviewed.
  • Directory dataset: 233 countries and territories.
  • No SMS, calls, HLR/HSS, MNP, carrier lookup, contact mutation, or outbound data submission.
  • Phone-bearing and MCP transport responses are no-store. No application-level per-client quota; honour 429 + Retry-After if hosting enforces one.

Directory submission metadata

Name: Country Calling Codes
Description: Calling codes, phone analysis, dialing guidance, batch normalization and calling windows.
Category: Data / Search / Reference / API
Website: https://www.countrycalling.codes
MCP URL: https://www.countrycalling.codes/api/mcp
Registry: io.github.Kajdep/countrycallingcodesmcp
Version: 1.4.0
OpenAPI URL: https://www.countrycalling.codes/api/calling-codes/openapi.json
Skill: https://github.com/Kajdep/countrycalling-codes-skill
Skill manifest: https://www.countrycalling.codes/skill.json
LLM guide: https://www.countrycalling.codes/llms-full.md
Implementation: https://github.com/Kajdep/v0-countrycallingcodes
GitHub listing: https://github.com/Kajdep/countrycallingcodesmcp
Tools: 11 (see table above)
Auth: None
Cost to user: Free/public read-only lookup and analysis

Data and privacy

This repository contains no private data and no dataset export. The hosted MCP server is read-only. Phone values are processed ephemerally and are not stored by the service; MCP clients and third-party gateways may retain their own conversation history.

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.