Docs/Skills/Country Lookup Skill

Country Lookup Skill

Lookup country data

OperationalCredits 2 per callp50 1641msGeography

Overview

Pass a common country name, alternate spelling, or ISO 3166 code in the query. The service searches a monthly updated dataset of 250 countries, returning matching records with capitals, domain extensions, region groupings, and mapped official languages. Paid plans can set the major cities parameter to include prominent urban centers along with geographic coordinates.

Live Test Country Lookup Skill Skill →

The tool

Once your client is connected to the VerveKit server, this appears in its tool list as CountryLookupSkill. It is read-only and open-world — it fetches and never mutates anything on your side — so most clients call it without asking you to confirm.

Tool call
{
  "name": "CountryLookupSkill",
  "arguments": {
    "country": "USA"
  }
}

You do not name the tool yourself; the model picks it. Asking about USA in the terms this skill covers is enough for it to reach for CountryLookupSkill on its own — naming it explicitly also works, and is the way to force the call.

Connecting

One server URL covers every skill in the catalog, including this one. Authorization is OAuth: the client opens a browser once, and there is no key to paste into a config file.

{
  "mcpServers": {
    "vervekit": {
      "url": "https://api.vervekit.com/v1/mcp"
    }
  }
}

Per-client setup — Claude, Cursor, VS Code, ChatGPT — is on the MCP setup page.

Arguments

These are the properties on the tool's inputSchema, so a well-behaved client validates them before the call is made. Premium arguments are accepted on every plan but only take effect on plans that include them.

ArgumentTypeDescription
countryRequiredstringThe Country name or ISO code of the country for which you want to get the data (e.g., USA)
majorcitiesOptionalPremiumbooleanSpecify if you would like to return all major cities of the country found

What the model gets back

The result carries a structuredContent object matching the tool's declared outputSchema, so a client reads fields without parsing prose. status is "ok" and error is null on success; a null field means the value was not available for that input, not that the call failed.

Result
{
  "status": "ok",
  "error": null,
  "data": {
    "search": "USA",
    "countries": [
      {
        "name": {
          "common": "United States",
          "official": "United States of America",
          "native": {
            "eng": {
              "official": "United States of America",
              "common": "United States"
            }
          }
        },
        "tld": [
          ".us"
        ],
        "cca2": "US",
        "ccn3": "840",
        "cca3": "USA",
        "cioc": "USA",
        "independent": true,
        "status": "officially-assigned",
        "unRegionalGroup": "Western European and Others Group",
        "capital": [
          "Washington D.C."
        ],
        "altSpellings": [
          "US",
          "USA",
          "United States of America"
        ],
        "region": "Americas",
        "subregion": "North America",
        "languages": {
          "eng": "English"
        },
        "latlng": [
          38,
          -97
        ],
        "landlocked": false,
        "flag": "🇺🇸"
      }
    ]
  }
}

Response fields

Paths are relative to data. Premium fields are absent rather than zeroed on plans that do not include them, so check for presence instead of comparing to 0.

FieldTypeExampleDescription
searchstringUSAThe search term or country code used in the lookup request
countriesarray[1]Array of country objects matching the search criteria
countries.0.nameobject{…}The country's names: common, official, and native forms
countries.0.name.commonstringUnited StatesCommon name of the country used in everyday reference
countries.0.name.officialstringUnited States of AmericaOfficial formal name of the country recognized internationally
countries.0.name.nativePremiumobject{…}Native language names of the country keyed by language code
countries.0.name.native.engPremiumobject{…}
countries.0.name.native.eng.officialPremiumstringUnited States of America
countries.0.name.native.eng.commonPremiumstringUnited States
countries.0.tldarray[".us"]Top-level domains associated with the country
countries.0.cca2stringUSTwo-letter country code following ISO 3166-1 alpha-2 standard
countries.0.ccn3Premiumstring840Three-digit country code following ISO 3166-1 numeric standard
countries.0.cca3stringUSAThree-letter country code following ISO 3166-1 alpha-3 standard
countries.0.ciocPremiumstringUSAInternational Olympic Committee country code for sports competitions
countries.0.independentPremiumbooleantrueIndicates whether the country is politically independent
countries.0.statusPremiumstringofficially-assignedOfficial assignment status of the country code in international records
countries.0.unRegionalGroupstringWestern European and Others GroupUN regional group the country belongs to
countries.0.capitalarray["Washington D.C."]Array of capital city or cities of the country
countries.0.altSpellingsarray["US","USA","United States of America"]Alternative spellings and abbreviations of the country name
countries.0.regionstringAmericasGeographic region where the country is located globally
countries.0.subregionstringNorth AmericaMore specific geographic subregion classification of the country
countries.0.languagesobject{…}Object mapping language codes to official language names
countries.0.languages.engstringEnglish
countries.0.latlngPremiumarray[38,-97]Array with latitude and longitude coordinates for country center
countries.0.landlockedPremiumbooleanfalseIndicates whether the country has no ocean or sea coastline
countries.0.flagstring🇺🇸Unicode flag emoji representation of the country

Failure modes

Errors come back as tool errors carrying a sentence the model can act on, not a bare status code. Error handling covers the full list.

StatusWhat it means
400 / 422The arguments did not validate. The message names the offending one.
401The OAuth session is invalid or expired — reconnect the server.
403Blocked by a key restriction or an IP allow-list. Never a bad identity.
404This skill is not part of VerveKit. Check the catalog.
429Out of credits, or a brief rate limit. The message tells them apart.

A call costs 2 credits each time the tool actually runs; a model that reasons about the tool without calling it costs nothing.

Use cases

Customs Declaration Filling
When generating export manifests, logistics software queries the destination ISO code to append standardized official country names and regions.
Locale Preference Detection
E-commerce platforms resolve visitor country codes to display corresponding official languages and flag icons on storefront headers.
Global Vendor Profiling
Standardize supplier databases by resolving freeform location text into uniform ISO alpha-3 codes, capital cities, and top-level domains.
Traveler Briefing Packs
Travel booking apps supply passengers with destination briefing cards containing capital cities, spoken languages, and regional groupings before departure.

Other ways to use Country Lookup Skill

Set up Country Lookup Skill on VerveKit, or reach the same source a different way. Your VerveKit account and credits work on all of them — one key, one balance.

Call it as a REST APIOne HTTPS endpoint and an x-api-key header, with SDKs for Node, Python and .NET.APIVerve →Reference →
Google Sheets or ExcelA =VERVE() formula fills a column — no script, no export, recalculates in place.VerveSheets →Reference →
Ground an agent on itA cited, machine-checkable fact your model can't produce on its own.VerveContext →Reference →

More in Geography:

Was this page helpful?