Country Generator
Server Details
Look up any country's capital, population and borders, or play geography quizzes with your AI.
- Status
- Healthy
- Uptime
- 100.0% over the last 24 hours
- Last Tested
- Transport
- Streamable HTTP · MCP 2025-11-25
- URL
- ChatGPT
- –
- Claude
- –
TDQS
Scored across 7 tools
Each tool has a clearly distinct role: data retrieval (get_country, get_borders, search_countries, random_country), comparison (compare_population), and quiz workflow (create_quiz, check_answer). The quiz tools are explicitly paired but not overlapping, and the country-data tools differ by scope (single country, border list, search, random).
Most names follow a clear snake_case verb_noun pattern (check_answer, compare_population, create_quiz, get_borders, get_country, search_countries). random_country is the only outlier, using an adjective_noun form rather than a verb, but it remains readable and consistent in casing.
Seven tools is well-scoped for a country facts and quiz server. Each tool earns its place by covering a distinct operation, with no redundant or filler tools.
The surface covers core geography facts, search, random selection, population comparison, borders, and a full quiz create/check lifecycle. Minor gaps exist, such as no dedicated way to retrieve a country flag or outline outside the quiz flow, but agents can work around this via random_country or create_quiz.
Available Tools
7 toolscheck_answerCheck a quiz answerARead-onlyInspect
Check the user's answer to one create_quiz question. Pass the question's ticket, the user's answer exactly as given (a letter, a name or a code), and the score_ticket from the previous check_answer, if there was one. Returns whether it was correct, the right answer, facts to share in the user's language, and the new score.
| Name | Required | Description | Default |
|---|---|---|---|
| answer | Yes | The user's answer as given: an option letter, a name, or a code. | |
| ticket | Yes | The ticket of the question being answered. | |
| score_ticket | No | The score_ticket from the previous check_answer. Leave out for the first question. |
Output Schema
| Name | Required | Description |
|---|---|---|
| about | Yes | Facts to share. A population question has populations and source; the others have country facts. |
| score | Yes | The running score. |
| correct | Yes | Whether the answer was right. |
| play_url | No | A page on the site to play. Share it once. |
| game_over | Yes | True after the last life is lost. |
| score_ticket | Yes | Send this with the next check_answer. |
| correct_answer | Yes | The right answer in the quiz language. |
compare_populationCompare populationsARead-onlyInspect
Rank 2 to 4 countries by population, largest first, with World Bank 2024 figures.
| Name | Required | Description | Default |
|---|---|---|---|
| locale | No | Language for names, capitals and links. | en |
| countries | Yes | 2 to 4 country names or ISO codes. |
Output Schema
| Name | Required | Description |
|---|---|---|
| source | Yes | Where the figures come from. |
| ranking | Yes | The countries, largest population first. |
| play_url | Yes | A page on the site to play. Share it once. |
create_quizCreate a geography quizARead-onlyInspect
Create geography quiz questions: guess the country from its flag or outline, pick the capital, pick the most populated country, or name a neighbour. Ask the user one question at a time, then pass the user's answer and the question's ticket to check_answer. Do not guess the answer yourself, and do not reveal it before check_answer.
| Name | Required | Description | Default |
|---|---|---|---|
| type | Yes | flag: name the country from its flag. capital: pick the capital. shape: name the country from its outline. population: pick the most populated of four. borders: name a neighbouring country. | |
| count | No | How many questions to create. | |
| locale | No | Language for names, capitals and links. | en |
| region | No | Limit to one continent. | |
| difficulty | No | easy: well-known countries. hard: lesser-known countries, wrong options from the same area, look-alike flags. | medium |
Output Schema
| Name | Required | Description |
|---|---|---|
| type | Yes | The quiz type that was asked for. |
| lives | Yes | Wrong answers that end the run. |
| play_url | Yes | A page on the site to play. Share it once. |
| questions | Yes | The questions, in order. |
| difficulty | Yes | The difficulty that was used. |
| how_to_play | Yes | How to run the quiz with the user. |
get_bordersNeighbouring countriesARead-onlyInspect
The countries that share a land border with a country. An island nation returns an empty list.
| Name | Required | Description | Default |
|---|---|---|---|
| locale | No | Language for names, capitals and links. | en |
| country | Yes | Country name in any supported language, or an ISO code. |
Output Schema
| Name | Required | Description |
|---|---|---|
| code | Yes | Its two-letter ISO code. |
| country | Yes | The country that was asked for. |
| play_url | Yes | A page on the site to play. Share it once. |
| neighbours | Yes | Empty for an island nation. |
get_countryCountry factsARead-onlyInspect
Facts about one country: capital, region, population (World Bank 2024), area, languages, currencies, driving side and neighbours. Accepts a name in English, German, Spanish, French, Portuguese, Japanese or Italian, or an ISO code.
| Name | Required | Description | Default |
|---|---|---|---|
| locale | No | Language for names, capitals and links. | en |
| country | Yes | Country name in any supported language, or an ISO code such as DE or DEU. |
Output Schema
| Name | Required | Description |
|---|---|---|
| country | Yes | Facts about one country. |
| play_url | Yes | A page on the site to play. Share it once. |
random_countryRandom countryARead-onlyInspect
Pick a random country, optionally from one continent, with its capital, flag, region, population and languages.
| Name | Required | Description | Default |
|---|---|---|---|
| locale | No | Language for names, capitals and links. | en |
| region | No | Limit to one continent. |
Output Schema
| Name | Required | Description |
|---|---|---|
| country | Yes | Facts about one country. |
| play_url | Yes | A page on the site to play. Share it once. |
search_countriesSearch countriesARead-onlyInspect
List countries by part of a name or capital, by continent, or landlocked only. Returns names, codes and capitals; call get_country for the full facts.
| Name | Required | Description | Default |
|---|---|---|---|
| limit | No | The most countries to return. | |
| query | No | Part of a country or capital name. | |
| locale | No | Language for names, capitals and links. | en |
| region | No | Limit to one continent. | |
| landlocked | No | Only countries without a coastline. |
Output Schema
| Name | Required | Description |
|---|---|---|
| total | Yes | All matches, also those past the limit. |
| countries | Yes | The matches, by name, up to the limit. |
Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections.
7 tool updates
- First observed
check_answer - First observed
compare_population - First observed
create_quiz - First observed
get_borders - First observed
get_country - First observed
random_country - First observed
search_countries
Related MCP Connectors
Country capitals, currencies, calling codes and population, plus synonyms, rhymes and definitions
Geodata for any place, inside your agent: map data, terrain, routes, satellite images, GIS files.
Update your ExplorersMap travel map from an AI assistant: countries, regions, places and trips.
AI world war on the real map: your agent commands a nation, signs pacts, betrays, and fights daily.
Related MCP Servers
- AlicenseAqualityCmaintenanceServes country facts, administrative boundary GeoJSON, and per-region population, area, and capital statistics as structured data, letting an AI assistant build interactive maps, comparisons, and multilingual geography content instead of reciting prose. It also normalises region names across sources so boundary shapes can be joined to their statistics.3MIT
- FlicenseBqualityDmaintenanceEnables exploration of geographical data including countries, cities, states/provinces, and regions through a SQLite database. Supports searches by name, location coordinates, currency, and regional groupings with comprehensive statistical queries.157-
- FlicenseNot gradedqualityDmaintenanceProvides tools to retrieve and compare detailed information about countries, including population, region, and currency data. It allows users to search for specific countries or list them by region.-
- FlicenseNot gradedqualityBmaintenanceEnables AI agents to look up a sourced, versioned dataset covering every country in Arabic, English, or both: names, nationalities, capitals, currencies, languages, time zones, dial codes, phone validation, address formats, and ISO 3166-2 subdivisions. Supports country search with Arabic-aware normalization, phone parsing to E.164, nationality selection, and subdivision lookups.718 npm-
Glama MCP Gateway
Add one secure layer between your agents and this server.