# Country Generator [Health: Active]

**Category:** 🎓 Education  
**Repository:** https://countrygenerator.com/  
**Views:** 0  
**Installs:** 0  
**Upvotes:** 0  
**Directory Page:** https://allmcps.com/mcp/country-generator

## Description
Look up capitals, population and borders, or play geography quizzes with your AI.

## Tools
Capabilities this server exposes over MCP:

- **create_quiz** — 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.
- **check_answer** — 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.
- **random_country** — Pick a random country, optionally from one continent, with its capital, flag, region, population and languages.
- **get_country** — 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.
- **search_countries** — 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.
- **compare_population** — Rank 2 to 4 countries by population, largest first, with World Bank 2024 figures.
- **get_borders** — The countries that share a land border with a country. An island nation returns an empty list.

## Claude Desktop Quick Installation
No confirmed install details yet, so no config is published. Follow the setup steps in the repository above.

## Documentation

## What Country Generator does

Country Generator provides MCP tools for researching countries and running geography quizzes. Country lookups can return a country’s capital, region, population, area, languages, currencies, driving side, neighbours, and flag-related information. Population figures are identified as World Bank 2024 data.

The service also supports discovery workflows. An agent can search for countries by a partial country or capital name, narrow results by continent, or request landlocked countries. It can select a random country, optionally constrained to a continent, and return core facts including its capital, flag, region, population, and languages.

## How it works

Agents call the exposed tools through MCP. For a specific country, `get_country` accepts an English, German, Spanish, French, Portuguese, Japanese, or Italian name, as well as an ISO code. `search_countries` is intended for finding matching countries first; its results include names, codes, and capitals, after which `get_country` can provide fuller details.

The quiz interaction has two stages. `create_quiz` creates a question involving a flag, country outline, capital, population ranking, or neighbouring country. The agent should present one question at a time and send the user’s answer, unchanged, to `check_answer` together with the question ticket. A later answer check can also include the prior score ticket so the score continues across questions. The response reports correctness, the right answer, facts suitable for sharing in the user’s language, and the updated score.

## Tools and capabilities

- `random_country` selects a country, optionally from one continent, and returns its capital, flag, region, population, and languages.
- `get_country` retrieves detailed facts using a multilingual name or ISO code.
- `search_countries` finds countries by name or capital fragments, continent, or landlocked status.
- `compare_population` ranks two to four countries from largest to smallest using World Bank 2024 population figures.
- `get_borders` lists countries sharing a land border with the requested country.
- `create_quiz` creates geography questions about flags, outlines, capitals, population, or neighbours.
- `check_answer` evaluates a quiz response and returns the answer, supporting facts, and score state.

## Limitations and notes

Quiz questions should be delivered one at a time. The agent must pass the user’s answer exactly as given to `check_answer`, rather than interpreting or correcting it first, and should not reveal the answer before checking it. The question ticket is required for answer validation, while the previous score ticket is used when continuing a score.

`compare_population` supports between two and four countries. `get_borders` reports land borders; for an island nation, it returns an empty list. Search results are intentionally concise, so a second `get_country` call is appropriate when detailed facts are needed.

_Full upstream README: https://allmcps.com/mcp/country-generator/readme_

