An AI agent skill that teaches your agent how to use the free
countries.dev REST API — no API key, no signup, no
rate-limit tiers. Works with any tool that reads the SKILL.md format, and
is also packaged as a Claude Code plugin.
Once installed, just ask questions in natural language and your agent picks the right endpoint, parameters, and workarounds automatically:
- "Which countries border Germany?"
- "Top 10 countries by population in Asia"
- "What currency does Taiwan use?"
- "Coordinates and timezone of Taipei"
- "Which country is the IP 8.8.8.8 in?"
- "Look up ZIP code 90210"
- "How far is Taipei from Tokyo?"
| Area | Endpoints |
|---|---|
| Country data | lookup by ISO/IOC/numeric code or name, filter by region, currency, language, timezone, TLD, demonym, population/area range, independence, borders |
| Cities & places | ~34k cities and ~12M GeoNames features, search and reverse geocoding (/cities, /places, /*/near) |
| Postal codes | ~1.8M ZIP/postal codes across ~121 countries |
| IP geolocation | single, own-IP, and batch lookups |
| Distance | great-circle distance between coordinates or GeoNames IDs |
| Reference data | regions, subregions, currencies, languages, timezones |
Every endpoint in skills/countries-api/references/endpoints.md
was verified against the live API, including gotchas the official docs
don't mention (e.g. /borders only accepts country names, /distance
doesn't accept city names, unknown query params fail silently).
This plugin is distributed through the NanookAI/skills marketplace. Inside Claude Code, run:
/plugin marketplace add NanookAI/skills
/plugin install countries-api@nanookai-skills
The skill is then available in every project, and /plugin marketplace update
picks up new versions.
Copy the skill folder into your project's .claude/skills/ directory:
cp -r skills/countries-api /path/to/your-project/.claude/skills/cp -r skills/countries-api ~/.claude/skills/Package the skill folder (respecting .skillignore) into a .skill bundle,
or upload the skills/countries-api/ folder contents wherever your agent
platform accepts skills. The skill is self-contained — no scripts, no
dependencies.
.claude-plugin/plugin.json # plugin manifest
skills/countries-api/
├── SKILL.md # main skill: quick start, endpoint chooser, conventions
└── references/endpoints.md # full reference: every endpoint, parameter, schema
MIT © 2026 NanookAI. Country and geographic data is served by countries.dev (backed by GeoNames).