/install country-info
Country Info
Get country data — population, languages, currencies, capital, flag, and more using REST Countries API.
Category: education API Key Required: No
When to use
- User asks about a country (population, capital, language, currency)
- User wants to compare countries
- User asks "what currency does X use?" or "what language do they speak in X?"
How it works
Base URL: https://restcountries.com/v3.1
1. Search by name
curl -s "https://restcountries.com/v3.1/name/france"
2. Get by country code
curl -s "https://restcountries.com/v3.1/alpha/GB"
3. Filter specific fields (reduce response size)
curl -s "https://restcountries.com/v3.1/name/japan?fields=name,capital,population,currencies,languages,flags"
4. Search by currency
curl -s "https://restcountries.com/v3.1/currency/eur"
5. Search by language
curl -s "https://restcountries.com/v3.1/lang/spanish"
6. Get all countries in a region
curl -s "https://restcountries.com/v3.1/region/europe?fields=name,capital,population"
Regions: africa, americas, asia, europe, oceania.
Examples
User: "Tell me about Japan" → Query by name. Reply with capital, population, languages, currency, region, flag emoji.
User: "What countries use the Euro?" → Query by currency/eur. List the countries.
Constraints
- Free, no key needed, no strict rate limit
- Country names are flexible (partial matches work)
- Some fields are deeply nested — parse carefully
- Make sure OpenClaw is installed (local or Docker)
- Run the install command in chat:
/install country-info - After installation, invoke the skill by name or use
/country-info - Provide required inputs per the skill's parameter spec and get structured output
What is Country Info?
Retrieve detailed country data including population, capital, languages, currencies, flag, and regional info using the REST Countries API. It is an AI Agent Skill for Claude Code / OpenClaw, with 514 downloads so far.
How do I install Country Info?
Run "/install country-info" in the OpenClaw or Claude Code chat to install it in one step — no extra setup required.
Is Country Info free?
Yes, Country Info is completely free (open-source). You can download, install and use it at no cost.
Which platforms does Country Info support?
Country Info is cross-platform and runs anywhere OpenClaw / Claude Code is available (cross-platform).
Who created Country Info?
It is built and maintained by picaye (@picaye); the current version is v1.0.0.