# Country Generator

> Country Generator is a free MCP server for education and exams. Look up country facts and play geography quizzes from an AI assistant. It runs as a hosted remote server, so there is nothing to install locally.

- **Kind:** MCP server
- **Pricing:** Free
- **Platforms:** Web, API
- **Website:** https://countrygenerator.com
- **MCP Registry name:** com.countrygenerator/mcp-server
- **Categories:** education and exams, games and play
- **Listing updated:** 2026-11-14

## About

Country Generator is a random-country website with flags, capitals, languages and map locations, and this server brings that data into a chat. Its registry entry says you can ask for a country's capital, population and borders, or have the assistant run geography quizzes with you.

The site behind it offers six games: flag, capitals, country shapes, a blank world map, most populated country and borders. A visited-countries map is also available. The site says names, capitals, regions, languages, currencies and borders come from an open community dataset, flags from open-source flag collections and population figures from 2024 World Bank estimates.

It is hosted at countrygenerator.com/mcp over streamable HTTP. The site suggests uses such as classroom quizzes, picking a language to learn or researching a holiday destination.

## Features

- **Country lookups:** Returns capital, population and borders for a country.
- **Quiz play in chat:** Lets an assistant run geography quizzes with you.
- **Open-data sources:** Facts come from community datasets and World Bank population estimates.
- **Remote endpoint:** Connects over streamable HTTP with nothing to install.

## Good for

- Quiz yourself on capitals during a break
- Prepare a classroom geography activity
- Check a country's neighbours
- Pick a random country to research

## Install

### Claude Code (Terminal)

```sh
claude mcp add --transport http mcp-server https://countrygenerator.com/mcp
```

### Claude Desktop (Settings → Connectors → Add custom connector)

```sh
https://countrygenerator.com/mcp
```

### Cursor (~/.cursor/mcp.json)

```json
{
  "mcpServers": {
    "mcp-server": {
      "url": "https://countrygenerator.com/mcp"
    }
  }
}
```

### VS Code (.vscode/mcp.json)

```json
{
  "servers": {
    "mcp-server": {
      "type": "http",
      "url": "https://countrygenerator.com/mcp"
    }
  }
}
```

### Windsurf (~/.codeium/windsurf/mcp_config.json)

```json
{
  "mcpServers": {
    "mcp-server": {
      "serverUrl": "https://countrygenerator.com/mcp"
    }
  }
}
```

### Other clients (your client's MCP settings (most use this shape))

```json
{
  "mcpServers": {
    "mcp-server": {
      "type": "http",
      "url": "https://countrygenerator.com/mcp"
    }
  }
}
```

## FAQ

### Where does the data come from?

The site cites an open community country dataset, open-source flag collections and 2024 World Bank population estimates.

### Do I need an account?

The website works as a guest; an account only adds saved scores and leaderboards.

### What games does the website have?

Flag, capitals, country shapes, world map, most populated country and borders quizzes.

### Is Country Generator free?

Yes. Country Generator is free to use.

### How do I add Country Generator to Claude Code?

Run this command in your terminal: claude mcp add --transport http mcp-server https://countrygenerator.com/mcp

### What are the best alternatives to Country Generator?

The closest alternatives to Country Generator are AvatarSay — Fictional Character & Talking Video MCP, VfxSmith, Born Then, Haze City and FreeDict.

## Alternatives

- [AvatarSay — Fictional Character & Talking Video MCP](https://ai-powered.com/mcp/avatarsay-fictional-character-and-talking-video-mcp): AvatarSay — Fictional Character & Talking Video MCP is a freemium MCP server for design and media.
- [VfxSmith](https://ai-powered.com/mcp/vfxsmith): VfxSmith is a freemium MCP server for design and media.
- [Born Then](https://ai-powered.com/mcp/born-then): Born Then is a free MCP server for education and exams.
- [Haze City](https://ai-powered.com/mcp/haze-city): Haze City is an open-source MCP server for games and play.
- [FreeDict](https://ai-powered.com/mcp/freedict): FreeDict is a freemium MCP server for language learning.
- [Vector Alienspace](https://ai-powered.com/mcp/vector-alienspace): Vector Alienspace is a free MCP server for knowledge and memory.
- [Vector Defence](https://ai-powered.com/mcp/vector-defence): Vector Defence is a free MCP server for knowledge and memory.
- [Vector Abyss](https://ai-powered.com/mcp/vector-abyss): Vector Abyss is a free MCP server for knowledge and memory.

---
Source: https://ai-powered.com/mcp/country-generator
