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.
{
"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"
}
}
}https://api.vervekit.com/v1/mcpPer-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.
| Argument | Type | Description |
|---|---|---|
countryRequired | string | The Country name or ISO code of the country for which you want to get the data (e.g., USA) |
majorcitiesOptionalPremium | boolean | Specify 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.
{
"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.
| Field | Type | Example | Description |
|---|---|---|---|
search | string | USA | The search term or country code used in the lookup request |
countries | array[1] | Array of country objects matching the search criteria | |
countries.0.name | object | {…} | The country's names: common, official, and native forms |
countries.0.name.common | string | United States | Common name of the country used in everyday reference |
countries.0.name.official | string | United States of America | Official formal name of the country recognized internationally |
countries.0.name.nativePremium | object | {…} | Native language names of the country keyed by language code |
countries.0.name.native.engPremium | object | {…} | |
countries.0.name.native.eng.officialPremium | string | United States of America | |
countries.0.name.native.eng.commonPremium | string | United States | |
countries.0.tld | array | [".us"] | Top-level domains associated with the country |
countries.0.cca2 | string | US | Two-letter country code following ISO 3166-1 alpha-2 standard |
countries.0.ccn3Premium | string | 840 | Three-digit country code following ISO 3166-1 numeric standard |
countries.0.cca3 | string | USA | Three-letter country code following ISO 3166-1 alpha-3 standard |
countries.0.ciocPremium | string | USA | International Olympic Committee country code for sports competitions |
countries.0.independentPremium | boolean | true | Indicates whether the country is politically independent |
countries.0.statusPremium | string | officially-assigned | Official assignment status of the country code in international records |
countries.0.unRegionalGroup | string | Western European and Others Group | UN regional group the country belongs to |
countries.0.capital | array | ["Washington D.C."] | Array of capital city or cities of the country |
countries.0.altSpellings | array | ["US","USA","United States of America"] | Alternative spellings and abbreviations of the country name |
countries.0.region | string | Americas | Geographic region where the country is located globally |
countries.0.subregion | string | North America | More specific geographic subregion classification of the country |
countries.0.languages | object | {…} | Object mapping language codes to official language names |
countries.0.languages.eng | string | English | |
countries.0.latlngPremium | array | [38,-97] | Array with latitude and longitude coordinates for country center |
countries.0.landlockedPremium | boolean | false | Indicates whether the country has no ocean or sea coastline |
countries.0.flag | string | 🇺🇸 | 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.
| Status | What it means |
|---|---|
400 / 422 | The arguments did not validate. The message names the offending one. |
401 | The OAuth session is invalid or expired — reconnect the server. |
403 | Blocked by a key restriction or an IP allow-list. Never a bad identity. |
404 | This skill is not part of VerveKit. Check the catalog. |
429 | Out 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.
Related
More in Geography: